|
Posted by crescent_au on 10/23/83 11:32
hi all,
How do I use serialize with MySQL's UPDATE query?
I have an array, $x = (1, 5, 9).
My MySQL table:
id x_id y_id
--- ------- --------
1 1 5
2 1 4
3 2 5
4 1 2
I would like to update the table with values of array $x where x_id ==
1. How do I achieve this using serialize()?
Thank you!!
Ben
Navigation:
[Reply to this message]
|