On Tue, 2003-03-11 at 14:22, Wade Preston Shearer wrote:
> when embedding a PHP variable within a set of PHP code, such...
> 
>       <?php include("../folder/navfile_$variableA_$variableB.inc"); ?>

<snip>

> so... is there some sort of a "break" character that i need to use to 
> tell it where the variable name ends?
> 
> ...or is it just not good to use underscores and variables next to each 
> other like that?

The so called "break" character would be braces. Try your code like
this:

<?php include("../folder/navfile_{$variableA}_{$variableB}.inc"); ?>


-- 
Michael Golden <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to