mysql - Running Multi Query but I have one row -
i want insert lot of data mysql query doesnt work it. result 1 row cant see more rows
function addseri($seriname,$name,$piece,$price,$seri_end_date) { include 'connect.php'; $dd=explode("/",$seri_end_date); $seri_end_date=$dd['2'].'-'.$dd['1'].'-'.$dd['0']; echo $seri_end_date; ($i=1;$i<$piece;$i++) { echo $i; $veri[$price]; $ticketno= strtoupper(substr(md5(microtime()),0,10)).strtoupper(substr(md5(substr(string, start)), 0, 5)); $seriadd=mysql_query("insert tickets(ticket_no,ticket_seri,ticket_end_date,ticket_status) values ('$ticket_no', '$seriname', '$seri_end_date', 0)"); } }
Comments
Post a Comment