[PHP] Re[2]: [PHP-DB] mysql timestamps

2003-03-23 Thread L0vCh1Y
TETIME. -- Best regards, L0vCh1Y -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DB] when click on button, how renew info on page?

2003-03-23 Thread L0vCh1Y
print "\n"; gv> } gv> print "\n"; gv> mysql_close(); ?>> gv> gv> gv> _________ So, what is problem in? Make button to lead to same page but with $n

[PHP] Re: [PHP-DB] Gathering data from a database

2003-03-22 Thread L0vCh1Y
u use ""? $query = "SELECT * from $tablename"; $result = mysql_query ($query, $connect); while ($row = mysql_fetch_array($result)) { print_r( $row ); echo mysql_error(); } ?> Yours L0vCh1Y -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Session's length.

2003-03-22 Thread L0vCh1Y
es sent by sessions (equal to same function, working with cookies). But it's look like server removes session's data much earlier, then i need... -- Best regards, L0vCh1Ymailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fwd: Re: [PHP] Separators in variable values causing MySQL commands to fail

2003-03-22 Thread L0vCh1Y
hing gets inserted into the rL> database. rL> OK, I can bypass my oversight by stripping out apostophes from the rL> variable values. There has to be a better way please. Why not just use addslashes() (mysql_escape_string()) & check if $result==true? Yours, L0vCh1Y -- PHP Gene

[PHP] Session's length.

2003-03-22 Thread L0vCh1Y
Yours, L0vCh1Y [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php