Jump to content
Larry Ullman's Book Forums


  • Posts

  • Joined

  • Last visited

Everything posted by thara

  1. Thanks larry for your kindness help but Im a begginer to php so no idea abt proxy scipt.. so is there any tutorial in your books, if it is so please let me know what is the book. PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide (3rd Edition) with me bt there is no any discussion about the subject. actually i need to count either how many people have downloaded a song offered by my web site or how many people have viewed. It is similar a feature that your this forum display 12 views, 13 views, 187 views etc for particular post... I'm getting so frustrated abt this matter...
  2. actually im try to do similar this http://www.music.lk/....php?index=5938 please give me any idea to do it.. thanks
  3. hi... Im developing a web site to store a audio and video songs and it enable to download the songs for users. most of features I have finished at the moment. I need to count download users amount in a song and also need to count how many users view it only. actually I dont have any idea to do it using php. so anyone can me give any idea how to do it. thanks in advance for your help....
  4. hi...All I need to add a user registration form to my web site and have intended to obtain user's date of birth through the form. I used 3 combo boxes to select to users their date of birth. so i need to validate these values before submitting and need to insert these values to the database. ------------------------------------------------------------------- MY HTML CODE <form action="" method="post"> <label>Date of Birth : </label> <?php // month array $month = array( 1 => 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August'); echo '<select name="' . $month . '">'; foreach ( $month as $k => $v ) { echo '<option name="'. $v . '" value="' . $k . '">' . $v . '</option><br />'; } echo '</select> <select name="day">'; for ( $i = 1; $i <= 31; $i++) { echo '<option name="'. $i . '" value="' . $i . '">' . $i . '</option><br />'; } echo '</select> <select name="year">'; for ( $i = 1950; $i <= 2050; $i++) { echo '<option name="'. $i . '" value="' . $i . '">' . $i . '</option><br />'; } echo '</select>'; ?> <br /><br /> <input type="submit" value="Submit" name="submit" /> <input type="hidden" value="TRUE" name="submitted" /></form> My database name is : mydb My table is : users Table column is : dob DATE I need php coding for validation and insert into database. ------------------------------------------------------------------ Thanks again and look forward to hearing from you soon. Tharanga Nuwan
  • Create New...