Results 11 to 20 of 33
-
25th Jun 2010, 11:38 AM #11Member
i'm not real smart but try to help. also got this error once ago and solved. try changing into another name instead 'like' on your db. it's a reserved word. don't forget to change the name on php too. regard.
edit: i mean 'like' on column name of 'fblike' table, not on the db namegomu gomu no..
..flying fuck!
-
25th Jun 2010, 12:06 PM #12OPOH GOD!!!!!Website's:
HotNewHipHop.com
-
25th Jun 2010, 02:39 PM #13The Wise OneWebsite's:
twilight.ws ddlrank.comBefore you do something with the $x, and after the query, add this:
PHP Code:if(mysql_num_rows($x)){
//Do your stuff
}else{
//No results found
}
I can always be contacted by sending a tweet @twilightws
-
25th Jun 2010, 08:00 PM #14Respected Member
That won't help except to say there is an error/empty just like the var_dump did.
replacevar_dump($x);if (mysql_error()){echo "<br>Error on fblike table: ".mysql_error();}
-
25th Jun 2010, 08:22 PM #15MemberWebsite's:
litewarez.net litewarez.com triniwarez.comNo dont do all that, whoo your wrong, you cant count the rows if mysql_result returns false;
Copy the query and run it within phpMyAdmin and send us the error. IF there is no error, make sure your selecting the correct db in your config.Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
-
26th Jun 2010, 10:36 AM #16OPOH GOD!!!!!Website's:
HotNewHipHop.com#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '$x = mysql_query('SELECT * FROM fblike ORDER BY id DESC LIMIT 0,1')' at line 1
-
26th Jun 2010, 10:47 AM #17Respected DeveloperWebsite's:
wrzc.orgThe only part you run in PHPmyadmin is
Code:SELECT * FROM fblike ORDER BY id DESC LIMIT 0,1
Anyway a bit offtopic but you should escape this and make it safe:
PHP Code:$like=$_POST["like"];
PHP Code:$like=mysql_real_escape_string($_POST["like"]);
More info here http://php.net/manual/en/function.my...ape-string.phpTutorial How to SEO your Warez Site a guide to help you increase your organic traffic
Huge list of Warez Sites and free Multiposter Templates
-
26th Jun 2010, 11:10 AM #18MemberWebsite's:
litewarez.net litewarez.com triniwarez.comyea what he said.
Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
-
26th Jun 2010, 11:14 AM #19The Wise OneWebsite's:
twilight.ws ddlrank.comI can always be contacted by sending a tweet @twilightws
-
26th Jun 2010, 11:15 AM #20OPOH GOD!!!!!Website's:
HotNewHipHop.com
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
MySQL Error
By KINGTHE_ALI in forum Webmaster DiscussionReplies: 4Last Post: 17th Nov 2011, 05:40 PM -
Database error-mysql error
By saini in forum vBulletinReplies: 8Last Post: 8th Nov 2011, 06:54 AM -
MYSQL Error while Import via MYSQL Dumper (Error
By desibreaker in forum Server ManagementReplies: 10Last Post: 5th Aug 2011, 07:26 PM -
MySQL Error
By II AnDo II in forum Web Application/Script SupportReplies: 2Last Post: 17th Aug 2009, 08:45 PM -
MySQL error
By mash-e1 in forum Webmaster DiscussionReplies: 2Last Post: 28th Mar 2009, 12:12 PM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...