Page 1 of 1

NO mySQL errors displaying?

PostPosted: 19. April 2012 04:01
by rhendriksma
When I try to run an mySQL query from a php file, it does not run and I do not get an error. Is there a way to tun on errors? The mySQL error log does not indicate why the query did not run.

Thanks

Re: NO mySQL errors displaying?

PostPosted: 19. April 2012 04:57
by Altrea
Hi rhendriksma,

Too bad you don't provide your sourcecode so that helpers can see whats going on there.
And you don't really explain what you are doing. So i can just guess that you don't use the php mysql_error() function

MySQL errors will not be displayed automatically. You have to program its output by yourself.

best wishes,
Altrea

P.S.: It would be polite to start your threads with some sort of greeting and end it with a complimentary close. It doesn't cost that much time compared with the time a helper efforts to try to solve your problems.