Mark Cain wrote:

I think I understand your question.  Perhaps what you want is not a variable
variable -- but a variable (determined from the context).
Variables always vary depending on the situation as opposed to a constant
which - uhh -- stays constant.  Combine the variable and the constant in a
new variable first with concatenation.

$question_pointer = $xxx . "_name_en";


Mark Cain

----- Original Message ----- From: "simon" <[EMAIL PROTECTED]> To: <> Sent: Monday, March 14, 2005 7:14 PM Subject: [PHP-DB] variable and MySQL

Hi, I'm trying to make a script but have a problem ...

How could I do this:

I'd like to use   $get_question_data[xxx_name_en]

where xxx would be a variable variable according to the situation where


script is called... how would I do this?

tried :


but nothing works .... any help would be appreciated.

PHP Database Mailing List (
To unsubscribe, visit:

$var = 'heh';

Hopefully that would parse to $get_question_data[$heh_name_eh]


PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to