[PHP-DB] File retrieval

2005-04-02 Thread Ron Piggott
If I have a file named "data.txt" Is it possible to load the contents of it into a variable search as $contents idealy I would like to know if I am able to do something like $contents = data.txt; Ron -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP-DB] problem with odbc, mysql and placeholders

2005-04-02 Thread Jake Edge
I am running into a problem using placeholders in a SELECT statement using odbc_prepare and odbc_execute with a mysql driver from php (version numbers, etc. after the code sample). The following code works just fine for postgresql, but not for mysql: #!/usr/bin/php $conn = odbc_connect('tstdb

[PHP-DB] how do i save the updated value to a coockie

2005-04-02 Thread chintan
hey guys how ru would you kindly tell me how do i save the value of an updated combo box in a cookie as i have 3 combos on the page which must be updated and stored the values of them so that i can reuse it too. i found a java script for defining the value for the combos also but how do i populat