This is too useful, how i can pass id with post in php please help me. Here is the function which will safely decode URL components using a regular expression. You still haven't explained just what you mean by "secure". This is another way to get data in an ajax() call. ), as it has prefabricated properties that can be used with the arrays. Connect and share knowledge within a single location that is structured and easy to search. If it returns true then the output will be Array is empty, otherwise if it returns false then the output will be Array is not empty. Step 1 Create a HTML