Hi Guys,
Im trying to create a really simple function but I can’t figure out exactly how to do it. I think it is just a php array?
I want to do a select from my database and assign each coloum to a different variable name. Kind of like this.
[php]<?php
function fname()
mysql query…
$column1=querycolumn1
$column2=querycolumn2
?>[/php]
I then want to be able to use these variables later on in the page.
I hope that makes sense
Regards,
Sam