Hayan AL Mamoun wrote:
try this
logon.phtml:
?
session_start();
$CLIENTID=SOMEVALUE;
session_register(CLIENTID);
header(Location: clients/editclient.phtml);
?
--
clients/editclient.phtml:
?
session_start();
echo CLient ID VALUE IS : $CLIENTID;
?
the deZayner
hi all
I want to know storage required for my database.
How i can determine size required for indexing a column ?
(my column's type that indexed is varchar(15))
Thanks
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a simple form which queries the database based on 2 pop-up menu
choices and keywords entered by the user,
it passes on the variables as follows:
pop-up1=choice1, pop-up2=choice2, textfield=user specified data
use :
$pop-up1 = $HTTP_POST_VARS[pop-up1];
... each variables you
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
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);
test :)
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
);
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
'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
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
10 matches
Mail list logo