for($y=1;$y<=$x;$y++){
$query="insert into attendance values('$admission_no[$y]','$date','$state_id')";
$result=mysql_query($query);
}
sameeya007 0 Newbie Poster
sameeya007 0 Newbie Poster
Borzoi 24 Posting Whiz
sameeya007 0 Newbie Poster
ko ko 97 Practically a Master Poster
sameeya007 0 Newbie Poster
sameeya007 0 Newbie Poster
paulrajj 6 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.