RE: [PHP] Assigning Value to variable with a Filename..Strange..
| From: | John W. Holmes | Date: | Fri, 08 Dec 2000 13:17:56 +0000 |
| Subject: | RE: [PHP] Assigning Value to variable with a Filename..Strange.. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31956@lists.php.net to get a copy of this message | ||
Can you show more of your script, exactly how you're assigning this variable
and where you are echoing it out...it could be something wrong with one of
the other lines in your script, a forgotten semi-colon or something...
---John Holmes...
-----Original Message-----
From: Dhaval Desai [mailto:dhaval_adams@yahoo.com]
Sent: Wednesday, December 27, 2000 8:53 PM
To: php-general@lists.php.net
Subject: [PHP] Assigning Value to variable with a Filename..Strange..
HEy GUys
I want to assign value to a variable like this:
$cardvalue = "beavis_little.jpg";
and it says parse error
when I try to echo the value as follows:
echo "$cardvalue";
Can anybody tell me how can I assign such value...
Thanx
Dhaval Desai
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net