No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
Re: This works just fine for me. The Output is 1:30; [code=php] $date = '07-11-1988'; $beggin_hour = '13:30'; $end_hour = '14:00'; // Hours define("SECONDS_PER_HOUR", 60*60); // Calculate timestamp $start = strtotime($date." ".$beggin_hour); $stop = strtotime($date." ".$end_hour); // Diferences $difference = $stop - $start; // Hours $hours = round($difference / SECONDS_PER_HOUR, 0, … | |
Re: [code] if( empty($_GET['city']) ) { $city_id = "city_id = '" . $_GET['city'] . "' "; } else if ( empty($_GET['state']) ) { $state = " AND state = ' " . $_GET['state'] . " ' "; else { $profile_id = $_SESSION['id']; } [/code] the build the query like so [code] … | |
Re: ok so you have a basic understanding of php to create something like what you see in phpbb you could use smarty [url]http://www.smarty.net/[/url] read along there and you will understand how it works | |
Re: From what i know the mysql Statemants need to be caps [code] $res = mysql_query("SELECT * FROM pagelay"); $mygrow = mysql_fetch_array($res); [/code] You should be good now | |
Re: I used this one ... it it was great [url]http://blog.themeforest.net/screencasts/jquery-for-absolute-beginners-video-series/[/url] managed to do this baby :D [url]http://admins.xserv.ro/xp_stats[/url] -- let's say search for 3lit3 -- so that you understand. ( still in dev mod. ) | |
Re: [code]Select * FROM tables WHERE time_table > "value_date" and time_table < "value_date"[/code] Hope that helps. |
The End.