vBulletin Modifications

Help with sql error

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 03-22-2006, 05:46 PM   #1
Coder
Join Date: Jun 2005
harmor is on a distinguished road

Default Help with sql error

Here's the error

You must first be a registered member to view any code.
Here's the code
You must first be a registered member to view any code.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 03-22-2006, 07:48 PM   #2
Coder
Junior's Avatar
Join Date: Nov 2004
Real Name: jr
Location: U.S.A
Junior is on a distinguished road

Default

try this
You must first be a registered member to view any code.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-22-2006, 10:04 PM   #3
Coder
Join Date: Jun 2005
harmor is on a distinguished road

Default

That worked to my surprise.
Thanks.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-23-2006, 12:58 AM   #4
vBulletin Guru
Ken Iovino's Avatar
Join Date: Mar 2004
Real Name: Ken Iovino
Location: Miami, Florida
Ken Iovino is on a distinguished road

Default

You don't need to use $db->escape_string($vbulletin->GPC['posts']) . "' when dealing with integer values. You should use the intval() function.

You must first be a registered member to view any code.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-23-2006, 01:35 AM   #5
Coder
Join Date: Jun 2005
harmor is on a distinguished road

Default

Thanks.

....................




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-23-2006, 02:56 PM   #6
Coder
Junior's Avatar
Join Date: Nov 2004
Real Name: jr
Location: U.S.A
Junior is on a distinguished road

Default

Quote:
Originally Posted by harmor
That worked to my surprise.
Thanks.
np glad to help




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error upgradeing from 3.5.1 to 3.5.4 mant3ra General vBulletin Support 2 04-03-2006 11:11 AM
Got one sql error....plz help... mant3ra General vBulletin Support 6 11-27-2005 04:43 PM
ThanksBot v1.0 sql error :( mant3ra General vBulletin Support 0 11-07-2005 02:47 PM
admin cp error csykillah Off Topic 0 01-01-2005 10:46 AM


All times are GMT -3. The time now is 07:34 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)