View Single Post
  #4  
Old 05-15-2009, 03:01 PM
Bloodrun's Avatar
Bloodrun Bloodrun is offline
I am, who I am.
 
Join Date: Apr 2009
Posts: 532
Gender: Male
Credits: 28,688
Bloodrun
Send a message via Yahoo to Bloodrun
Default RE: A quick Profile Add-on Modification

Quote:
Originally Posted by rainbelly
Cool!

However, I am getting an error on the MySQL:

#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 '`aboutme` VARCHAR(5000) NOT NULL,' at line 2
That has to do with how you put it in your database. Each new line has to end with a comma.

Quote:
Originally Posted by SJC
Quick question. Do you have to add another ,'' at the end of :
mysql_query("INSERT INTO ".$prefix."users VALUES ('', '$username', '$pass1', '$email', '3', '1', '$date', '0', '')");
if you wanted to insert another profile field?
Yes you do, lol don't forget that. It will frustrate you beyond belief. ;)
Reply With Quote