If your database is BLANK, then you cannot use an UPDATE statement....
INSERT statements ADD records to the database.
UPDATE statements, well, they update EXISTING information.
Perhaps...
Type: Posts; User: DrByte
If your database is BLANK, then you cannot use an UPDATE statement....
INSERT statements ADD records to the database.
UPDATE statements, well, they update EXISTING information.
Perhaps...
0 rows returned means nothing was found where products_id=1
I'd suggest you change your output formula to put quotes around the model number, so it looks like this:
UPDATE products SET products_model = 'GM2359TB' WHERE products_ id = 1 LIMIT 1;
And nicely-written, at that too Juxi! ::tup