ataria Posted October 12, 2006 Share Posted October 12, 2006 Alright.bout it inserting 2 rows, i just deleted that script.I put it on the reigster page, and, it's ...[code]$insertchar = "INSERT INTO `characters` ( `username` ) VALUES ('$username')";[/code]and, then, i looked in the DB, and it's under 'int' so i changed it to text..now it won't insert, anyone see the problem? Quote Link to comment Share on other sites More sharing options...
Caesar Posted October 12, 2006 Share Posted October 12, 2006 Try this instead:[code]<?php$insertchar = "INSERT INTO characters (username) VALUES ('$username')";?>[/code] Quote Link to comment Share on other sites More sharing options...
ataria Posted October 12, 2006 Author Share Posted October 12, 2006 doesn't work... Quote Link to comment Share on other sites More sharing options...
ataria Posted October 12, 2006 Author Share Posted October 12, 2006 I got it :) thanks for the help guys. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.