gfxgfx
 
logo
 
gfx gfx
gfx
975797 Posts in 138943 Topics by 6362 Members - Latest Member: Bmxflex November 15, 2024, 10:37 PM
*
gfx* Home | Portal | Forum | Merchandise | Help | Login | Register | gfx
gfx
RADBMX.CO.UK  |  Forum  |  Q&A, Ideas & Feedback  |  error ....
gfx
gfxgfx
 

Author Topic: error ....  (Read 579 times)

0 Members and 1 Guest are viewing this topic.

TheOriginalNutter

  • Guest
error ....
« on: August 09, 2009, 01:23 PM »
http://www.radbmx.co.uk/mkportal/modules/coppermine/displayimage.php?album=3

shows

ERROR: Database error.
Cannot execute the query: INSERT INTO mkpcpg_usergroups VALUES (24, 'SMF_Hoffman's Love Child', 0, 0, 1, 1, 1, 1, 1, 1, 0, 3, 0, 5, 3)
MySql Error returned: 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 's Love Child', 0, 0, 1, 1, 1, 1, 1, 1, 0, 3, 0, 5, 3)' at line 1
MySql Error code: 1064


SteveD

  • Guest
Re: error ....
« Reply #1 on: August 09, 2009, 03:10 PM »
yeah i always get that error if i click on the big pic lower down the home page

SteveD

  • Guest
Re: error ....
« Reply #2 on: August 09, 2009, 10:00 PM »
I know the reason for this problem, Its an SQL thing . . .

'SMF_Hoffman's Love Child'

should read

'SMF_Hoffman''s Love Child',

thats two single quotes eg '' and not a double quote eg "




TheOriginalNutter

  • Guest
Re: error ....
« Reply #3 on: August 12, 2009, 07:24 PM »
addslashes() or htmlentities() then .... why is it inserting anyway?

webmistress!!

RADBMX.CO.UK  |  Forum  |  Q&A, Ideas & Feedback  |  error ....
 

gfxgfx
gfx gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!
SimplePortal 2.3.5 © 2008-2012, SimplePortal