Hi Vern,

Vern wrote:

Sorry the previous post got sent prematurely.

this one, too. #

It does work, however, the problem is in the fwrite($fp, "$rsITEMS->Fields('item_id')\n");

I KNOW, this was the 2nd change in my code-sniplet ;o)

what gets written to the file is exactly "$rsITEMS->Fields('item_id')" for

that's exactly, what you ask php to write.
You can do nearly anything in php in strings. but not call functions.
$rsITEMS->Fields('item_id') call a Method in a Class. It's not an array or something. It's a FUNCTION-CALL. You can't call funtions from within strings.


echo "Hello ucfirst('world')";
results in: Hello ucfirst('world')
echo "Hello ".ucfist('world');
results in
Hello World

() != [] != {} ;o)

[...]
Here's the code again:

No, thanks.


Have a nice weekend Ste'smar-ass'phan

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to