bahytq
05-07-2003, 05:36 PM
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 .
"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 .