Re: how to combine the results of two variables to echo another variable?



Ewoud Dronkert wrote:
Sigh. I meant: why use the quotes, they're not needed! (and yes, then use
$$fooboo, just like in the code a few posts up).


Oh. Wrong end of stick. :-)

And I don't know why so many people put quotes around variables in PHP. *shrug*

Sacs
.



Relevant Pages

  • Re: Maccies resort to their typical dishonesty [was Re: You wanted an example of a price drop...]
    ... Snit wrote: ... you have flatly stated that I am the csma moderator. ... as the quotes prove. ... If someone posts *one* post and 100 people ...
    (comp.sys.mac.advocacy)
  • Re: [PHP] Optimized PHP
    ... quotes "s where needed as they are parsed by PHP and instead use single ... echo 'This is some text'. ... by PHP looking for variables or other escaped characters. ... In an application where I am having some different settings for each of the ...
    (php.general)
  • Re: Good Guy alert: Mr. 68 aka CARGPB #36
    ... The adaption of a gateway usenet script, ... with mods, not hard for a php programmer, agreed. ... formatted usenet posts, that are malformed by so many, that break the ...
    (rec.games.pinball)
  • RE: [PHP] Cannot send a hyperlink
    ... Yes you do not need quotes in the mailfunction. ... [PHP] Cannot send a hyperlink ... Your problem is the Headers are missing which allows the html content to ...
    (php.general)
  • Re: nesting JS in echos
    ... from html to php. ... the conversion went well, it was to use a php session cookie to stop the ... single quotes and double quotes needed in the doc.write and variable ... my mistake was to leave the image path in single quotes; ...
    (comp.lang.php)