Jump to content

[SOLVED] so I have an array that goes like like this 2,42,78,2 how can can I...


jonaofarc

Recommended Posts

so I have an array that goes like like this 2,42,78,2 how can can I break it apart so that I can do a mysql entry intro each of those rows, what i mean is

 

mysql_query("INSERT INTO message WHERE user_id=2")"

mysql_query("INSERT INTO message WHERE user_id=42")"

mysql_query("INSERT INTO message WHERE user_id=78")"

mysql_query("INSERT INTO message WHERE user_id=2")"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.