ok you must get your variables like row1, row2 etc from anywherelse then try
this format too insert them at your db

mysql_connect("localhost","username","password")
or die ("cant connect database");

@mysql_select_db("databasename")
or die("cant connect database");

mysql_query("INSERT INTO yourtablename(row1, row2, row3)
    VALUES ('$row1', '$row2', '$row3') ")


""Rosen"" <[EMAIL PROTECTED]> wrote in message
987flt$h2r$[EMAIL PROTECTED]">news:987flt$h2r$[EMAIL PROTECTED]...
> Hi,
> I'm using MySQL database and I try:
> "
> insert into roubr('id','pos','name') values ( select id,pos,name from
> requestroubr)
>
> "
>
> and it don't work !
>
> Please help!
> Rosen Marinov
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to