Jump to content

[SOLVED]Quick question about php/mysql


Gruzin

Recommended Posts

[quote author=jesirose link=topic=121663.msg500691#msg500691 date=1168361671]
$start = time();
//Do your stuff here
$end = time();

$total = $end-$start; // number of seconds.
[/quote]

[code]<?php
$start = time();
require ('rolex/config.php');
$sql = mysql_query("SELECT * FROM archives");
$end = time();
$total = $end-$start; // number of seconds.
echo $total;
?>[/code]
It displays 0....

Thanks for your replies,
George

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.