[PHP-WIN] Question

2001-05-09 Thread Chris Cranford

Hello Everyone

I am using the PHP 4.0.5 I believe's php.exe preprocessor.  How do I pass it the 
QUERY_STRING parameters from the dos window's command line ???  I need to do some 
manual testing and can not figure out how to pass it the URL's query line.

Thanks
Chris



[PHP-WIN] PHP Preprocessor - URGENT

2001-05-09 Thread Chris Cranford

All - 

I am using the php.exe preprocessor and I want to run the preprocessor manually and 
see the output it generates on a particular .php file I have wrote. 

The .php file I have written requires some URL arguments which would normally be 
submitted in the QUERY_STRING argument on the URL link.  How can I force these values 
into the QUERY_STRING using the preprocessor php.exe file?

Thanks
Chris



[PHP-WIN] SQL & PHP

2001-05-16 Thread chris . cranford

All - 

I am trying to execute an odbc_exec ($sql) command.  A code example
is shown below:

$description = "Chris's Place";
$sql = "UPDATE SEARCH_RECORDS SET DESCRIPTION=\"".$description."\"";

// CX is already defined as a datbase connection
$stmt = odbc_prepare(CX, $sql);
if (odbc_execute($stmt)) { echo "Successful.": } else { echo
"Unsuccessful."; }

Why does the command:

UPDATE SEARCH_RECORDS SET DESCRIPTION="Chris's Page" 

fail?

Thanks
Chris

PS -- Using a microsoft access 1997 database.

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]