Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #31.8K
Ranked #4K
~1K People Reached
Favorite Forums
Favorite Tags
php x 6
sql x 1
Member Avatar for pallavibhoite

I want to develop application using PHP. One module in this application displays attendance of students under particular teacher, between given two dates. The structure of tables in database - 1. student_info(Roll_No, Teacher_Id, First_Name, Last_Name) 2. attendance_info(Teacher_Id,Roll_No,Date,Present) Present stores '1' if student is present on that date and '0' if …

Member Avatar for diafol
0
985
Member Avatar for fuston05

Was curious how to validate a phone number input field? Currently I am requiring that the phone # format be (5555555555) so that i can simply say if(is_numeric($phone_num)) so then when i retrieve it from DB i must manipulate the string to format it properly"(555)555-5555" But i was thinking it …

Member Avatar for fuston05
0
72
Member Avatar for yamot47

[CODE]echo ("<tr bgcolor='B0C4DE'>"); $value=$row['idbook_code']; $author=$row['b_author']; $book=$row['b_name']; echo ('ISBN : '.$row['idbook_code'].'<br/>'); echo ('Title : '.$row['b_name'].'<br/>'); echo ('Author : '.$row['b_author'].'<br/>'); echo ('Books Available : '.$row['b_avail'].'<br/>'); if($row['b_avail']>0) { if (!$_SESSION["valid_user"]) { // User not logged in, redirect to login page echo("Available".'<br/>'); }else { echo("<input type='hidden' name='idbook' value='$value'>"); echo("<input type='hidden' name='author' value='$author'>"); echo("<input type='hidden' …

Member Avatar for yamot47
0
102
Member Avatar for flipper828

Hello, I am fairly new to PHP and MySQL so I apologize if I am just being lazy and/or stupid on this. I searched previous threads and found this one [URL="http://www.daniweb.com/forums/thread178612.html"]Insert data into two tables using php and mysql[/URL] It helped me tremendously but only to a point. Below is …

Member Avatar for flipper828
0
172