![]() |
Combining 3 queries - what to do with the same variable?
Hi,
Thanks for helping in advance. I'm running into trouble combining another 3 queries - 2 of them use the same variables. PHP Code:
I cannot use $test[title] since there are 2 title variables being called... how do I separate each title variable? Also, is joining these 3 queries valid? Thanks again for helping... |
You give the fields aliases (a MySQL term), like so:
Code:
$test = $DB_site->query(" |
Firefly, thanks again for help. :) You are very gracious. It works fine.
|
You're welcome. :)
|
All times are GMT. The time now is 03:43 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|