"Cpt John W. Holmes" wrote:
> From: <[EMAIL PROTECTED]>
>
> > OS RedHat 9 and RedHat 7.2
> > Apache 1.3.27 and Apache 2
> >
> > I have problem with direct eval, in version PHP4.2.2 is all OK
> > in version PHP 4.3.3 -> direct eval bad
> >
> > here cut code
> >
> > $s = '$ret = ibase_execute($this-
From: <[EMAIL PROTECTED]>
> OS RedHat 9 and RedHat 7.2
> Apache 1.3.27 and Apache 2
>
> I have problem with direct eval, in version PHP4.2.2 is all OK
> in version PHP 4.3.3 -> direct eval bad
>
> here cut code
>
> $s = '$ret = ibase_execute($this->query, $arg_list[0], $arg_list[1],
> $arg_list[2
Ok, it works now! Thanks!
Go visit what I'm working on at: http://zavaboy.jimbug.org/phptest/blog.php
I'm working on a blog, mainly for myself...
If you go there, tell me if the yellow days are clickable. Also tell me if
you see red dates on the blog.
I should be the only one to see those things be
yes, missing semi-comma:
for ($i = $aNum; eval ('return $i ' . $do . ' $bNum;'); )
the rest is up to you, I don't know what you want to do whit it
Marek Kilimajer wrote:
for ($i = $aNum; eval ('return $i ' . $do . ' $bNum'); )
zavaboy wrote:
Hey,
I'm having problems with the eval() function.
zavaboy wrote:
I get a infinite loop and "parse error, unexpected $"...
Told you it was untested.. :P
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Media Ltd
Registered Office: 43 Royal Park, Bristol, BS8 3AN
Studio: Whitt
I get a infinite loop and "parse error, unexpected $"...
"David Grant" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> zavaboy wrote:
>
> > Umm, have you tested it? It didn't work for me...
> >
> >
> > "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
zavaboy wrote:
Umm, have you tested it? It didn't work for me...
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
for ($i = $aNum; eval ('return $i ' . $do . ' $bNum'); )
Untested:
for ($i = $aNum; eval("return (\$i " . $do . " \$bNum);");)
--
David Grant
Web Devel
Umm, have you tested it? It didn't work for me...
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> for ($i = $aNum; eval ('return $i ' . $do . ' $bNum'); )
>
>
>
> zavaboy wrote:
>
> >Hey,
> >
> >I'm having problems with the eval() function...
> >
> >if ($Sort == "U
for ($i = $aNum; eval ('return $i ' . $do . ' $bNum'); )
zavaboy wrote:
Hey,
I'm having problems with the eval() function...
if ($Sort == "Up") {
$do="<=";
} else {
$do=">=";
}
for ($i = $aNum; eval ('$i ' . $do . ' $bNum'); )
//So.. the above line acts like:
//for ($i = $aNum; $i <= $bNum; )
On Fri, 5 Jul 2002, Kelly Meeks wrote:
> If I had this information stored in a database field,
> ">
>
> how could I assign it to a variable and output it?
you have to ?> first to leave php mode so you can do
$content_output = "logo.gig";
$code = "";
eval("?>$code");
which will echo the
On Fri, 5 Jul 2002, Kelly Meeks wrote:
> If I had this information stored in a database field,
> ">
>
> how could I assign it to a variable and output it?
I'm not sure that you can eval() HTML.
Perhaps if your cell contained:
echo ""
you would have better luck. Don't quote me on it though
11 matches
Mail list logo