I am tinkering with my first PHP and got this section from PHP for DUMMIES that uses a mysql query. The query works great, but I'd like to pass $index to another page. I thought the easiest way would be to pass it through the URL.
I used this statement: href='crosslink.php?qtybases=$index' target='_top'>this is a test</a>;
After clicking, I get another page calling crosslink.php.
The URL of the called page states this:
http://localhost/crosslink.php?qtybases=6
However I don't know how to take the information provided in the URL and use it in crosslink. How do I extract qtybases or the value of $index to use it in crosslink.php?
Sincerely,
tmichael