On 10-08-26 09:54 AM, João Cândido de Souza Neto wrote:
I know that in PHP I can use this:
$var1 = text;
$var2 = '$var1';
4cho $$var2;
So it gives me text.
It would if you didn't have typos and the wrong quotes in the above :)
My question is, is there a way of doing it with constant like
Really cool...
Thanks and fogive me by my mistake. hehe
--
João Cândido de Souza Neto
Robert Cummings rob...@interjinn.com escreveu na mensagem
news:4c76743a.2060...@interjinn.com...
On 10-08-26 09:54 AM, João Cândido de Souza Neto wrote:
I know that in PHP I can use this:
$var1 = text;
On Fri, 19 Apr 2002, Jeff Oien wrote:
Far better would be to put a placeholder in $body like and then just
do $body = ereg_replace('', $url, $body);
That's giving me a blank also. The form for changing the email is in a
password protected area where only two people are allowed. But
On Friday 19 April 2002 09:31, Jeff Oien wrote:
I have a script which retrieves the body of an email message from
a MySQL database to be sent to someone who applies using a form.
The script contains this:
$url = a
href=\http://$HTTP_HOST$SCRIPT_NAME\;http://$HTTP_HOST$SCRIPT_NAME/a;
$url =
On Friday 19 April 2002 09:31, Jeff Oien wrote:
I have a script which retrieves the body of an email message from
a MySQL database to be sent to someone who applies using a form.
The script contains this:
$url = a
href=\http://$HTTP_HOST$SCRIPT_NAME\;http://$HTTP_HOST$SCRIPT_NAME/a;
On Fri, 19 Apr 2002, Jeff Oien wrote:
Use eval().
I have $url (literally) embedded in some text in the database that is to be
sent as an email message. I'm using this and $url disappears with a blank
spot in the text:
eval(\$body = \$body\;);
I've tried variations and can't get it to
On Fri, 19 Apr 2002, Jeff Oien wrote:
Use eval().
I have $url (literally) embedded in some text in the database that is to be
sent as an email message. I'm using this and $url disappears with a blank
spot in the text:
eval(\$body = \$body\;);
I've tried variations and can't get
On Fri, 19 Apr 2002, Jeff Oien wrote:
Far better would be to put a placeholder in $body like and then just
do $body = ereg_replace('', $url, $body);
That's giving me a blank also. The form for changing the email is in a
password protected area where only two people are allowed. But I'll
I have a script which retrieves the body of an email message from
a MySQL database to be sent to someone who applies using a form.
The script contains this:
$url = a href=\http://$HTTP_HOST$SCRIPT_NAME\;http://$HTTP_HOST$SCRIPT_NAME/a;
$url = addslashes($url);
$msg1 .= $body; //to be sent via
9 matches
Mail list logo