$link = mysql教程_connect($db_host,$db_user,$db_pass) or die('unable to establish a db connection');
mysql_select_db($db_database,$link);
mysql_query("set names utf8");
?>
php ajax拖动购物车源码
shopping cart
the best products at the best prices
products
$result = mysql_query("select * from internet_shop");
while($row=mysql_fetch_assoc($result))
{
echo '
if(!$_post['img']) die("there is no such product!");
$img=mysql_real_escape_string(end(explode('/',$_post['img'])));
$row=mysql_fetch_assoc(mysql_query("select * from internet_shop where img='".$img."'"));