|
-
May 7th, 2003, 11:39 AM
#1
Thread Starter
Addicted Member
getting value from the url
I want to edit a row in my database which has the testid field , so i did a list of all testid in the first page ( named edittest.php ) which contains anchors that has the format like this :http://localhost/edit.php?testid=A01 .
"A01" is a value of the testid in my database , and i have done this , the problem i want help from you all is that what do i write in the edit.php file to get the value of the tesid from the url of the edit.php file ( in the example above is "A01") and then passing the value to the variable $testid to do a query ?
I guess i have to use the $HTTP_POST_VARS but don;t know how to deal with it .
Anyone have done this please help me .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|