I am using this code and need to choose cars using a PHP variable so effectively I need to write:
$cars = $row->$CARS;
But it will not let me use the cars variable. How do I choose/write the variable using PHP? Why must it be plain text? I need the PHP variable instead!
that gets rid of the errors however I am actually using 2 variable names to lookup another 1 variable name where the 1 variable name is made up of the 2 variable names.
Heres an example:
Table 1 has 2 variables: Ca, rs
Table 2 has 1 variable: Cars
So in effect I am asking for Ca and rs so I am trying to do this: