southbeach
Programmer
I am running PHP scripts where MYSQL queries are used. A simple query
if ran within PHP it returns 0 rows but works fine if I ran the same query within PHPmyAdmin.
I am not using PDO (not familiar with it) and I am running PHP 5.3 in a Windows box
Any idea as to why this would be?
Thanks!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
Code:
SELECT * FROM `mydb`.`users` WHERE `users`.`userCode` = '1111' LIMIT 1;
if ran within PHP it returns 0 rows but works fine if I ran the same query within PHPmyAdmin.
I am not using PDO (not familiar with it) and I am running PHP 5.3 in a Windows box
Any idea as to why this would be?
Thanks!
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.