On Thursday 23 December 2004 15:39, Song Ken Vern-E11804 wrote:

> print "<!--=$groups[$i][$j]=-->\n"; /* line?? */
>
> to include :-
>
> $cid = $groups[$i][$j];
> print "<!--=$cid=-->\n"; /* line?? */
>
> I seem to get the results I want.
>
> Why is this? Is there a syntax error?

You need to change it to this:

  print "<!--={$groups[$i][$j]}=-->\n";

See manual > Types > Strings (Complex syntax).

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Money isn't everything -- but it's a long way ahead of what comes next.
  -- Sir Edmond Stockdale
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to