Is it possible to do this in php?
Jun 4th, 2010
I need to run this script in a form to mail script, can it be done and if so how ?
script code:
$kode = ‘
$New="SELECT * FROM products";
$result = mysql_query($New);
$num=mysql_num_rows($result);
$x = 0;
while($x < $num){
$Code = mysql_result($result,$x,\'code\');
if (isset($_SESSION[$Code])){
?>
echo $Code ;
?>
echo $_SESSION[$Code]
?>
}
$x++;
}
?>
‘;

2 Comments