I'm trying to order (still) a list of names from two tables, I cannot use LEFT JOIN on this because I need to order them both, so currently I'm inserting the two variables I produce from sql queries into a table and then read from this.
Someone said I should use arrays, and if I can create one I can do this okay, but I can't seem to produce an array from these variables, or two arrays which I can then merge
array_merge ($var1, $var2);
I have checked the manual, at length or array() but can't get it to work, I end up having nothing in the pull down this, or more commonly a parse error
$testarray = array('$var1', '$var2');
should work as far as I can see, but I must be missing something, so if someone can point me in the right direction I'd much appreciate it,
Thanks