How do I detect all the names for the field values in a URL in PHP? Is there a function to take all of the strings that come between the "?" and the "=" in a URL or is there a simpler way?
CodeBoy101 -2 Junior Poster in Training
Recommended Answers
Jump to Post— ppetree 2check out the contents of the $_GET or $_POST variables.
Jump to Post— Member #334542$_GET['id']This is the method to get the value of the field. But if you want to know exactly what is there, you should write a javascript code to fetch the url and extract the strings after ? using substring functions. Then you come to know what …
All 5 Replies
ppetree 2 Junior Poster
CodeBoy101 -2 Junior Poster in Training
Member #334542
CodeBoy101 -2 Junior Poster in Training
CodeBoy101 -2 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.