Edmondo Borasio wrote:
> //If I input the $NewID manually as a string (for example '6', *it works
> fine* and updates the db correctly)
> *$query1="INSERT INTO
> Table"."(ID,name,surname)"."VALUES('6','newName','newSurname');"; *
>
> //However if I try to use the $NewID variable from above *it does't
> work....*
>
> *$query1="INSERT INTO Table"."(ID,name,surname)"."VALUES(\' ' . $NewID .
> '\','newName','newSurname');"; *

What is the value of $query1?


Regards,
Clemens
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to