I have following data in an Array, I want to store the content of each array index in to mysql table myforum:
Array (
[0] => zero, those players that are trialing for hib team, (hpb's) most of them are like 300 -400 pingers? umm..mager lagg and even worse when they play on uk server's i bet/
[1] => 1998-04-25T213200Z
[2] => http//boards.ie/vbulletin/showpost.php?p=67075
)
mysql Table colums are: content, date, post
[0] index value should store in content column,
[1] should store in date column and
[2] should store in post column
I did not find anything wrong in your code except escaping the values that you left and may be due to this you are not able to insert the data into table. You can try the below code.