> Is it possible to have PHP parse text queried from
> a database (security issues notwithstanding)?
> If so, how?
Yes. Pull out the text with your method of choice and then use the eval
function passing it the string of text to parse as its only parameter.
-Adam
--
PHP General Mailing List
> Does anyone know, by the way, if there's a port of PostreSQL to Windows
> 2000? Or can I run it in Cygwin?
I've seen it in the package list for Cygwin, there may be a full port as
well, check Postgres' web site.
-Adam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
- Original Message -
From: "Bas van Rooijen" <[EMAIL PROTECTED]>
To: "Adam Baratz" <[EMAIL PROTECTED]>
Sent: Saturday, January 05, 2002 4:39 PM
Subject: Re: [PHP] MySQL error... but it works!!??
>
> maybe try:
>
> if (!$result)
> {
>
> Does anyone have any idea why this is giving me a "Warning: Supplied
> argument is not a valid MySQL result resource in..." error?
You'll have to give more code, which line you get that error from, etc., to
give us a better idea why it's "not working."
However, a quick tip:
> $crdate = date("
Switch statements work well for these situations as well. They might be
faster than checking for the item in a list from an array since an array
must be created and searched through.
General programming tip: your method *definitely* wouldn't work. The or
operator has precendence over the == ope
> How would you get the current PHP configuration information,
> more specifically, the exact command line used at compilation?
Check the output of phpinfo().
-Adam
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
6 matches
Mail list logo