Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   General IT Discussion (https://www.cableforum.uk/board/forumdisplay.php?f=19)
-   -   PHP again! (https://www.cableforum.uk/board/showthread.php?t=48446)

greencreeper 09-06-2006 00:43

Re: PHP again!
 
If you change the UPDATE query to a SELECT query, and then output what it's SELECTed, has it selected anything?

Might not be updating because it can't find the row to update - was my thinking

[edit] Found what I thought existed - mysql_affected_rows

Strzelecki 09-06-2006 00:54

Re: PHP again!
 
Getting somewhere! Changed to a delete and got an mysql_real_escape_string cannot connect error. So delete that and the delete worked. Now put the update back without the mysql_real_escape_string and I'm getting a connection error.

greencreeper 09-06-2006 01:04

Re: PHP again!
 
So it looks your database gubbins at fault, then


All times are GMT. The time now is 15:56.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum