[GLLUG] PHP Variable problem
Benjamin Minshall
minshal1@msu.edu
Mon, 10 Mar 2003 16:17:45 -0500
print $myVar ."_now";
----- Original Message -----
From: "Mike Szumlinski" <szumlins@mac.com>
To: <linux-user@egr.msu.edu>
Sent: Monday, March 10, 2003 4:04 PM
Subject: [GLLUG] PHP Variable problem
> 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
>