[GLLUG] PHP Variable problem

Brad Fears brad@mtsdev.com
10 Mar 2003 16:20:59 -0500


echo $myVar."_now";

On Mon, 2003-03-10 at 16:04, Mike Szumlinski wrote:
> This is probably a really easy one...
> 
> Does anyone know how to append text to a PHP variable that is currently 
> held as a string?  Example
> 
> $myVar = "Blaaaah";
> 
> echo "$myVar_now";
> 
> I want that to spit out "Blaaaah_now"
> 
> My problem is that PHP thinks that $myVar_now is a variable, not a 
> variable with an...err..appendage.
> 
> -Mike
> 
> _______________________________________________
> linux-user mailing list
> linux-user@egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user