Thomisback Posted March 9, 2008 Share Posted March 9, 2008 Hello, I'm having trouble (again) with my PHP script for some reason my PHP script does not insert the following query: mysql_query("INSERT INTO $users (`id`, `signup`, `login`, `pass`, `level`, `IP`, `email`, `type`, `url`, `info`, `cash`, `bank`, `bankleft`, `bankmax`, `clicks`, `clickstoday`, `attack`, `defence`, `attwins`, `attlosses`, `defwins`, `deflosses`, `clan`, `clanlevel`, `bonus`, `turns`, `showonline`, `online`, `activated`, `Mes`, `Walter P99`, `Uzi`, `MP5k`, `Flashbang`, `Granaat`, `Shotgun`, `G36C`, `SIG 552`, `Ak47`, `Ak Beta`, `Scherpschut geweer`, `M4`, `Granaat Lanceerder`, `Bazooka`, `Kogelvrij vest`, `Bulldog`, `Camera`, `Hek`, `Muur`, `Bunker`, `Mobieltje`, `FN P90`, `Chip`, `Helm`, `Politie wagen`, `IPs`, `blocklist`) VALUES (1, '2008-02-29 21:06:02', '.$usr.', '.$password.', 255, '0.0.0.0', '.$email.', 1, '', '', 500, 500, 5, 2500, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, '', 100, 1, '2008-02-29 21:09:17', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '')"); Thanks! Link to comment https://forums.phpfreaks.com/topic/95210-php-mysql-insert-query/ Share on other sites More sharing options...
trq Posted March 9, 2008 Share Posted March 9, 2008 For starters, remove the full stops from vars such as '.$usr.' they make no sense. Are you getting any mysql error? What is it? Link to comment https://forums.phpfreaks.com/topic/95210-php-mysql-insert-query/#findComment-487666 Share on other sites More sharing options...
Thomisback Posted March 9, 2008 Author Share Posted March 9, 2008 Allright thanks, i'll try it now. I am not getting any errors but it does not insert it... that's the weird thing about it. :-\ Link to comment https://forums.phpfreaks.com/topic/95210-php-mysql-insert-query/#findComment-487668 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.