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? Link to comment https://forums.phpfreaks.com/topic/23715-not-inserting-wtf/ 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] Link to comment https://forums.phpfreaks.com/topic/23715-not-inserting-wtf/#findComment-107691 Share on other sites More sharing options...
ataria Posted October 12, 2006 Author Share Posted October 12, 2006 doesn't work... Link to comment https://forums.phpfreaks.com/topic/23715-not-inserting-wtf/#findComment-107695 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. Link to comment https://forums.phpfreaks.com/topic/23715-not-inserting-wtf/#findComment-107699 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.