PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
$i = 0;
foreach ($my_array as $value)
{
mysql_query("INSERT INTO bookmarks (FolderName)
VALUES ('$my_array[$i]')") or die(mysql_error());
$i++;
}
and I received the error message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Augmented Reality SDK')' at line 2 -- which is the name of a bookmark.