Jump to content

JohnTipperton

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by JohnTipperton

  1. i see so better look this one. http://www.admixweb.com/2010/10/06/15-best-ever-php-frameworks/
  2. i prefer you use Yii it is one of the most popular now a days.
  3. i suggest you use http://www.000webhost.com/ for your hosting they allowallow_url_fopen =ONmost free hosting doesnt allow it so better try it.
  4. if you are trying to load it in a single query you should use while loop for it. while($row = mysql_fetch_array($result)) { echo '<img src="'.$path.'">'; echo "<br /></div>"; }
  5. hi in getting the url link you need to use this <?php function curPageURL() { $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];} else { $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } return $pageURL;} echo curPageURL();?> try it works for me or use GET method http://www.w3schools.com/php/php_get.asp
  6. here is my answer for you. what is the best video format to save the uploads? MPEG4 video with MP3 audiocan videos be seen without flash? flash is required to play videos in web but i think you can use windows media playerhow do i make the video player or where can i get a free one? you can download one from http://www.longtailvideo.com/playershow do i get an image and duration out of the video to display in a menu? http://www.longtailvideo.com/players there is a setting in here just try to explore on.
  7. $sql = @mysql_query('SELECT mo_id, month_name FROM month WHERE mo_id>09 ORDER BY mo_id'); change it to <form method="post" name="form1"><select name="month" id="month"> <option selected="selected" value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select><input type="submit" value="Post"></form> $month = $_POST['month]; $sql = @mysql_query('SELECT mo_id, month_name FROM month WHERE mo_id>'.$month.'ORDER BY mo_id');
  8. yes you should use mysql_real_escape_string to avoid sql injection. try to declare your variables first like. $user=$_POST['username']; so it will be easier for you.
×
×
  • Create New...