Or perhaps,
$the_array = array();
Monu
-Original Message-
From: Wendell Brown [mailto:[EMAIL PROTECTED]
Sent: 12 June 2003 16:31
To: James E Hicks III; [EMAIL PROTECTED]
Subject: Re: [PHP] Easier way to delete all entries in an array?
On Thu, 12 Jun 2003 10:13:10 -0400, James E Hicks I
Right then.
Here's what I have done, and it works:
===Contents of query.txt===
===End Contents of query.txt===
Then:
===Contents of parse.php===
===End Contents of parse.php===
Now, whereas this works, I am still looking for a way to
store and interpolate variables contained in "q
Ben,
heredocs seem to do just what you are asking.
http://www.onlamp.com/pub/a/php/2003/04/10/php_heredocs.html
If I can "include()" a file inside this construct, then it will
solve my problem too :-?
Monu
-Original Message-----
From: Monu Ogbe
Sent: 12 June 2003 14:12
Hi,
I'll join the conversation, because I have a similar problem.
PHP "interpolates" variable values in strings if these are enclosed in
double quotes:
e.g.,
$string = "select * FROM `table` where id='$value' order by name";
PHP does not interpolate variables contained in strings delimi
4 matches
Mail list logo