help..problem with $query

From: Date: Wed, 23 Apr 2003 03:47:50 +0000
Subject: help..problem with $query
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-27289@lists.php.net to get a copy of this message
hic...i got this problem : in php i use this code: ..... $query="insert into tablename('value1','value2')"; mysql_query($query); ..... this code run good,but now i want to run more than 1 line of code in $query variable,and i don't know how to...i use this code below ,and it not run : ........ $query="insert into tablename1('value1','value2'); insert into tablename2('value3','value4')"; mysql_query($query); ......... i knew end of one line of query is ";" but it code not run well...hic...some body can help me this problem....how can i do

« previous php.db (#27289) next »