Jump to content

Writing Syntax text/html


mcmuney

Recommended Posts

Below is my insert script. The problem I'm facing is that when I input, "<a href="test">TEST</a>" the DB writes "<a href="test">TEST</a>" and I want it to write exactly what I input:

 

		$sql_comm="INSERT INTO `sc_postcomment_member` ( `scm_mem_id`, `comment`, `post_date`, `comm_from`) VALUES ('$scm_mem_id', '$txt_comment', UNIX_TIMESTAMP(), '$social_mem_id')"; 
	$res_comm=$db->insert_data($sql_comm);

Link to comment
https://forums.phpfreaks.com/topic/61756-writing-syntax-texthtml/
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.