-4
可能重复:
It is possible to insert data in two different table in mysql by one insert query php?在php中获取cookies?
我保存在cookie的一些用户信息,用户的信息都是这样的,
FNAME:穆罕默德,LNAME:里亚兹,标题:Developer,org:MagicLamp,电子邮件:[email protected]
I w ant将这些信息插入到mysql数据库中,问题是这样我怎么才能从cookie中获取这些信息并插入到数据库中
“它不工作”是什么意思?您的预期结果与实际结果是什么?而且,你的代码充斥着SQL漏洞。 –
您应该明确使用mysql_real_escape_string – mowwwalker
这是您第六次问这个问题吗?第二个用户帐户? – Quentin