The variable will be string of cource that contains nomore than 255 chars. No, I didn't even tried it :) (concatenation will be the same) But it has to be a way... It is a problem, because my internet MySQL base doesn't permmit me to login with MySQLfront as I have dynamic IP, for security and other reasons I can understand :) So is difficult to pass my local base's structure to my remote MySQL base.
Makis > -----Original Message----- > From: Alain Fontaine - Consultant and developer > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 07, 2002 2:30 PM > To: 'MySQL list (E-mail)' > Subject: RE: long query on php > > > Have you tried just putting the querys into a variable and > pass the var > along to mysql_query() ? Did it not work? > > ----------------------- > Alain Fontaine > Consultant & Developer > VAlain S.A. > Tel: +32-4-2522950 > ----------------------- > > -----Original Message----- > From: savaidis [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 06, 2002 8:14 PM > To: MySQL list (E-mail) > Subject: long query on php > > > > How is possible to pass a long query to MySQL server with php? > I mean i.e a "create table" statement with more than 400 chars. > Have I to use shorter "create" and then "alter"? > > Thanks > Makis > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail > <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail > <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php