Jesus help me dynamic update in drop down
<form action="stud_attendance_report_month.php" name="select_date" method="POST">
View results of
<select name = "month" >
$query = mysql_query("SELECT * FROM stud_attendance WHERE username = 'srikant'");
$numrows = mysql_num_rows($query);
$row = mysql_fetch_assoc($query);
$id = $row['stud_id'];
$thing = $row['date'];
$set_month = mysql_query("SELECT MONTHNAME('".$thing."') FROM stud_attendance");
$set_month_value = mysql_query("SELECT MONTH('".$thing."') FROM stud_attendance");
<option value ="<?php echo $set_month_value;?>"><?php echo $set_month; ?></option>
<input id='button' type='submit' name='select_date' value='Submit' />
Am unable to get the output, it does not display any month name.
Can anybody help me, have to submit the project by evening.
You can't do it that way, you are trying to output the resource with that approach. You have to do it like this:
Sorry, couldn't help myself.
haha, yeah he seems pretty frustrated. That should lighten him up.
But programming can do that to ya!
|All times are GMT. The time now is 11:00 AM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0