![]() |
Query Debugging
MySQL hates me.
query: HTML Code:
SELECT * FROM `aaron_eglast`.`egle_post` WHERE `slug`=`html` AND `category`=`HTML` LIMIT 1Code:
MySQL said:<aaron_eglast> <!-- Table egle_post --> <egle_post> <id>1</id> <author>Aaron</author> <last_updated>1</last_updated> <content>*snip*</content> <title>Html</title> <slug>html</slug> <meta_title>Beginner HTML Tutorial Series</meta_title> <order>1</order> <category>HTML</category> <next>na</next> <previous>na</previous> </egle_post> </aaron_eglast> so... what is going on here? |
You're using backticks. Use single quotes.
Code:
SELECT * |
Mysql Still hates me:
Code:
$query = " |
Its because the if conditional should be:
PHP Code:
|
This is why you are my idol O.o
|
| All times are GMT. The time now is 02:33 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0