All pastes #793505 Raw Edit

Someone

public php v1 · immutable
·published 2007-11-22 10:08 UTC
rendered paste body
$selected_product = $_GET['product'];		mysql_select_db($database_tmw, $tmw);	mysql_query ( 'SET NAMES utf8' );	$query_content_to_html_id = "SELECT * FROM products p WHERE p.`id` = $selected_product;";	$content_to_html_id = mysql_query($query_content_to_html_id, $tmw) or die(mysql_error());	$row_content = mysql_fetch_assoc($content_to_html_id);