[PHPLIB] a fool From: Joel (comicsboy <email protected>)
Date: 12/28/99

Dear all,

    Please allow me to ask a couple of foolish question.
1. How to convert a string to numbers in mysql sql statement?
  eg. "select user_id from members order by user_id desc"
  however, the user_id type is string type.

2. How to issue a lock table command with the use of phplib? And how to
avoid dead lock when I need to lock 2 tables?
  eg. I have 2 tables, table A and table B. I get a column from table A
and insert into table B, how can I achieve a atomic transaction?

Best regard,
Joel

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.