2003 Small Business Server
ip address, and I am on a client computer for this network.(I am locally
connected to a LAN).
Thank you in advance for every friend around the globe to reply nicely.
--
Tatang Widyanto
Unit Pengkajian dan Penerapan Teknologi Informasi
Universitas Brawijaya
http
'SELECT unique_id FROM table ORDER DESC' then loop through
the results looking for a matching id, however my table contains thousands of
entries, and it's simply not possible do do it that way.
Thanks
Mike
--
Tatang Widyanto
Unit Pengkajian dan Penerapan Teknologi Informasi
Universitas Brawijaya
);
odbc_result_all($res);
// if no rows found
if (!$val) {
$sql = call mystore('.$key.');
$res = odbc_exec($conn, $sql);
odbc_result_all($res); // -- this give result (with same SP)
}
}
/snip-code
Tatang Widyanto
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe
test :)
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Put start_session() statement on first line of your code
- Original Message -
From: do khac duy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 13:31
Subject: [PHP-DB] help about session
i can't start session under incule row
ex: include(file.php);
if (!$page_count){
$sql = INSERT INTO count VALUES('$var1', '$var2', '0');
}
if (!mysql_num_rows($page_count)){
$sql = INSERT INTO count VALUES('$var1', '$var2', '0');
}
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$sql=SELECT num FROM count where dept='$dept' AND
deptsub='$deptsub';
begin of replace --
$result = mysql_query($sql,$db);
$page_count = mysql_num_rows($result);
# If does not exist in the database, insert a new entry
if