[thelist] Well, I thought it was pretty impressive

Garrett Coakley garrett at polytechnic.co.uk
Tue Aug 7 07:07:03 CDT 2001


On Tue, 7 Aug 2001 12:18:34 +0100, "John Handelaar"
<john at userfrenzy.com> wrote:

> Why MM can't be bothered, meanwhile, remains a mystery.

<theory type="conspiracy">

Well now, d'ya think it would be anything to do with them have a
competing language? 

Surely not! *:)

</thoery>


I dunno, MM always said that Dreamweaver/Ultradev was the most
extensible IDE out there (or word to that effect). Maybe they want to
concentrate on CF and let others pick up the slack on the other
laguages?


<tip type="PHP" author="Garrett Coakley">

Find yourself doing this alot?

while ($row = mysql_fetch_array ($result)) {
	$var1 = $row["var1"],
	$var2 = $row["var2"],
	$varN = $row["varN"];
	
}

Then say hello to the extract function
http://www.php.net/manual/en/function.extract.php
which will turn the above into this:

while ($row = mysql_fetch_array($result)) {
	extract($row);
}


Did I tell you I loved this language?

</tip>
-- 
----------------------------------------------------------------------------
WORK: http://spiked.co.uk/
PLAY: http://polytechnic.co.uk/




More information about the thelist mailing list