Re: [PHP-WIN] Re: [Bulk] Fwd: Re: [PHP-WIN] Error: Not a proper resource --- with code this time!

2011-01-16 Thread Lars Mueller
Am 17.01.2011 03:24, schrieb Bill Mudry: When I tried this, I found more information on mysql_real_escape() at: > http://php.net/manual/en/function.mysql-real-escape-string.php > With this proof that it is a valid function, it is hard to understand the error I got when I used your second sug

Re: [PHP-WIN] Error: Not a proper resource --- with code this time!

2011-01-16 Thread Lars Mueller
Am 15.01.2011 17:35, schrieb Bill Mudry: $uvquery = "SELECT `uv_filename` FROM 'uvphotos' WHERE `species_name`= $speciesname"; That should probably be ... FROM `uvphotos` WHERE `species_name` = '$speciesname'"; or better: ...WHERE `species_name` = '".mysql_real_escape($speciesname)."'"; --

[PHP-WIN] PHP 5.3.5 VC6x86 TS installer problem

2011-01-06 Thread Lars Mueller
Hi Has anyone had the following problem using the installer to install PHP as an apache module? When installing, the http.conf is modified, but it leaves the path blank: BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL PHPIniDir "" LoadModule php5_module "php5apache2_2.dll" #END PHP INSTAL