View Single Post
  #3 (permalink)  
Old 05-01-2008, 07:55 PM
phpforfun's Avatar   
phpforfun phpforfun is offline
Programming God
 
Join Date: Feb 2008
Posts: 969
Last Blog:
Programming "Just a ...
Credits: 1
Rep Power: 11
phpforfun has a spectacular aura aboutphpforfun has a spectacular aura about
Default Re: query wont insert?

awesome.. I see the error. its adding the HTML and throwing an error (I believe)

Quote:
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/analyzet/public_html/editprofile.php on line 149
Error in query: UPDATE webmasters SET hostemail='support@analyzethathost.com', hosttitle='Digital Euphoria', hosturl='http://google.com', profile='


The greatest profile ever!\\\'\\\'\\\"\\\"$username', OS='lincentos5', PHP='yes', ASP='yes', java='yes', python='yes', JDK='yes', flash='yes', ruby='yes', tomcat='yes', SSI='yes', CGI='yes', cpanel='yes', SQL='yes', emails='yes', subdomains='yes', SSH='yes', sitebuilder='yes', lastupdated='05.01.08', WHERE id='1' :
addshashes isnt working..
how do I add HTML into an SQL field?

EDIT: after Profile='
there is a ton of HTML, just wont show on codecall

Last edited by phpforfun; 05-01-2008 at 07:56 PM. Reason: edit
Reply With Quote