- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
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 … |
|
Re:
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 … |
|
Re:
[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' … |
|
Re:
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 … |