I want to transfer some data from one table, use some of it and put it into another table.I get data out of result with pg_fetch_array($result)
When puting data into second table
$query="update table2 set bla,bla,bla where name='$row["name"]';";
As you can see I have run out of quotes. How do I go around this?
(except making $name=$row["name"] and using it instead?there are around 40 atributes so it would be sad to use this everytime I run into similar problem)