in my address bar...i have this...

http://localhost/studentaccount/subject_infos/edit.php?subj_id=CS106

the next step is to click update button...for update of records...
how do i change it to,

http://localhost/studentaccount/subject_infos/edit.php?update=true

or simple remove the subj_id=CS106 to come up with

http://localhost/studentaccount/subject_infos/edit.php?

my part of my code is:

if (isset($_POST))
{

echo "successfully updated!";
//code for removing the subj_id = CS106 here or changing subj_id = CS106 to updated=true


}


thanks for the help...;)

Recommended Answers

All 2 Replies

Your links are defined as "localhost". You need to change them to proper urls so people can see them.

yes, im running my program in a localhost...i need only to remove or edit the subj_id=CS106 than can be found on that line....

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.