A little Help
I am writing my news.php completly in one file
I am at the part where I must EDIT the news. when the script if first accessed it displayed all the news in a table that's included within the php. That table has to undefined links 'Edit News' and 'Delete News'. m3 is the FORM in which the data is displayed for editing and m4 is the SQL Update section. My question is...How do I get my link Edit News to point to not m=3 but also id='whatever the new id is...
Do I just set the link to $id?
That should work but you dont need the $
The right now I am trying to make the form to edit display with the information in the correct fields..Any suggestions? Should I set the field names to $title,$user,$message and so forth?
<a href=\"" . $_SERVER['PHP_SELF'] ."?m=3&id=" . $r[id] . "\">Edit Post</a>
Nevermind figured that out too! Thanks a lot!