2
I combined record of two tables using JOIN, the two tables have some columns with equal names... When extracting data with PHP how will I differentiate ?
Example :
foreach($dados as $values){
echo $values['price'];
}
How will I know if the $values['price'] returns price table ps_product or ps_product_attribute ?
@Miguel what would be the need (in this case) to put the two tables in full?
– PululuK
Naming columns does not solve? for example: ...
PA.PRICE 'attr_price', P.PRICE 'prod_price'
...– Ismael
@Andrépka take a look in this publication of our manual on how not to ask questions
– Jéf Bueno
@We can make it happen ALIAS with the names of thebes ?
– PululuK
@jbueno what’s wrong with the question I asked ?
– PululuK
"requisition" or "requisition"?
– Wallace Maxters
@Andrépka Avoid posting code as image.
– Jéf Bueno
@jbueno is not a code, but a screenshot of a specific case...!!
– PululuK