Re: [PHP] $HTTP_POST_VARS problem

2002-12-16 Thread rblack
Think you want $HTTP_POST_FILES rather than $HTTP_POST_VARS. As in $HTTP_POST_FILES['userfile']['name']; HTH, Richy == Richard Black Senior Developer, DataVisibility Ltd - http://www.datavisibility.com Tel: 0141 951 3481 Email: [EMAIL PROTECTED]

[PHP] Parameters and Access

2002-12-31 Thread rblack
Hi All, I'm trying to run a parameterised query in MS Access using odbc_prepare and odbc_execute but to no avail. The error message I'm getting is: Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1., SQL state 07001 in SQLExecute in c: \inetpub\wwwroot

Re: [PHP] money

2003-01-09 Thread rblack
number_format() http://www.php.net/manual/en/function.number-format.php == Richard Black Senior Developer, DataVisibility Ltd - http://www.datavisibility.com Tel: 0141 951 3481 Email: [EMAIL PROTECTED]

Re: [PHP] Converting Excel Spreadsheet to MySQL table ...

2003-01-10 Thread rblack
If this is a one off excercise, ie you only have to do it once and afterwards things will be dealt with ENTIRELY through the MySQL database, you could save the spreadsheet as a CSV file and work with that. HTH, Richy == Richard Black Senior Developer, Dat

Re: [PHP] Recursion with database tables

2003-02-19 Thread rblack
I'm assuming the comments don't include the topid id - if they did this would be trivial. So I'm assuming the following structure... Topics: topicid Messages: messageid topicid Comments: commentid messageid So, say you want to delete topic 23, and all messages/co