Hii..this is mysql query
$querry="SELECT CONCAT(`insert_id`, `type`) AS 'order_id' FROM orders WHERE email='$email'";
$order_id=mysql_query($querry);
echo $order_id;
i need to convert this into ** mysqli**.
Any Help??
Hii..this is mysql query
$querry="SELECT CONCAT(`insert_id`, `type`) AS 'order_id' FROM orders WHERE email='$email'";
$order_id=mysql_query($querry);
echo $order_id;
i need to convert this into ** mysqli**.
Any Help??
there??
Hi, use prepared statements, start from here:
Look at the first example in the first link, I'm not converting the code directly for you, because it's more important that you understand how it works and how the methods/functions are used.
Thank you #Cereal
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.