1. How would I go about editing an entry?
2. How would make it only show then, then have a link that would show next 10
thanks
Printable View
1. How would I go about editing an entry?
2. How would make it only show then, then have a link that would show next 10
thanks
Assuming we're talking about MySQL...
1.2.Code:UPDATE table SET column=value
Code:SELECT columns FROM table LIMIT first row returned, last row returned
actually #2 would be
SELECT columns FROM table LIMIT first row returned, # of rows returned
Right, sorry.
Also elaborating on 1:
Code:UPDATE table SET column=value, another column=another value... WHERE boolean LIMIT start row, total rows
So for 1.
Can I do this
$sql = ("UPDATE cat SET title=$_REQUEST[title] WHERE id=1");
And it will update title?
If now how do I tell it where to update?
EDIT:Nevemind I was just missing some qoutes :cool: