colap Posted February 7, 2011 Share Posted February 7, 2011 How can i use single quote for values? $qry='insert into tablename values('a','b');'; Link to comment https://forums.phpfreaks.com/topic/226925-php-insert-info-mysql-table-query/ Share on other sites More sharing options...
Zurev Posted February 7, 2011 Share Posted February 7, 2011 $qry='insert into tablename values(\'a\',\'b\');'; Or $qry = "insert into tablename values('a','b');"; Link to comment https://forums.phpfreaks.com/topic/226925-php-insert-info-mysql-table-query/#findComment-1170888 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.