Jump to content

Can you help me escape these quotes!!


PHP_Idiot

Recommended Posts

Hi All

 

I have the following query but I'm struggling to get the quotes in the right order or to escape the right one to make it work!

 

Any help would be greatly appreciated.

 

mysql_query("INSERT INTO Player (MembershipNo, FirstName, NickName, LastName, Town, Email) VALUES(\"$_POST[MembershipNo]\", \"$_POST[FirstName]\", \"$_POST[NickName]\", \"$_POST[LastName]\"', \"$_POST[Town]\", \"$_POST[Email]\") ")

Link to comment
https://forums.phpfreaks.com/topic/169755-can-you-help-me-escape-these-quotes/
Share on other sites

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.