Raised This Month: $ Target: $400
 0% 

Input line is too long[Compile error]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 02-09-2010 , 14:01   Re: Input line is too long[Compile error]
Reply With Quote #3

PHP Code:
new const szTables[][] =  

    
"CREATE TABLE IF NOT EXISTS `d2_data` ( `player_steamid` varchar(25) NOT NULL default '', `player_ip` varchar(20) NOT NULL default '', `player_name` varchar(35) NOT NULL default '', `player_data` varchar(4096) NOT NULL default '', \
    `player_data2` varchar(4096) NOT NULL default '', `player_data3` varchar(4096) NOT NULL default '', PRIMARY KEY  (`player_name`, `player_ip`, `player_steamid`), KEY `player_data` (`player_data`), KEY `player_data2` (`player_data2`), \
    KEY `player_data3` (`player_data3`) ) TYPE=MyISAM;" 

Error: "input line too long" wtf?

Quote:
But [][] tells that a 2 dimensions array follow, and you only put a 1 dimension array, so be carefull.
It has worked, after I put more text to this array and at all it worked fine
__________________

Last edited by xbatista; 02-09-2010 at 14:07.
xbatista is offline
Send a message via Skype™ to xbatista
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode