Thread
:
mysql_query makes variable disappear
View Single Post
09-07-2010, 03:17 PM
PM User
|
#
3
Dormilich
Senior Coder
Join Date: Jan 2010
Location: Behind the Wall
Posts: 2,860
Thanks: 9
Thanked 290 Times in 286 Posts
there’s no database connection, thus the return value of mysql_query() is
false
.
if you want to explore OOP, then you should consider using
PDO
or
MySQLi
(OOP style) instead of the outdated mysql extension
__________________
please post your code wrapped in [CODE] [/CODE] tags
Dormilich
View Public Profile
Find More Posts by Dormilich