MySQL Forums
Forum List  »  PHP

Re: increasing number
Posted by: asdddasdas asdddsd
Date: March 09, 2014 09:57AM

Peter Brawley Wrote:
-------------------------------------------------------
> To discover why a query failed, run it in the
> mysql client, and when you have that working,
> write PHP code to poll for errors eg ...
>
> $res = mysql_query("UPDATE etc ...") or
> mysql_error();
>
> BTW, you need to be using the mysqli API instead
> of the mysql API, which is deprecated.
Im running it on a 000webhost free server , it runs php 5.2...
So it should work right?
Im new to all this, I don't know how to "run it on the client", other than cron jobs....

Options: ReplyQuote


Subject
Written By
Posted
March 08, 2014 06:47AM
March 08, 2014 10:20AM
Re: increasing number
March 09, 2014 09:57AM
March 09, 2014 10:07AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.