Hi Gang!

i have 2 assoc arrays from 2 querys, 

first one is page categorys it consists of:
        id
        name

second is pages
        name
        cat_id

now, i am using smarty, so i pass arrays into the view. this i would like to 
pass to the view and display within a html select element.

        <select id="name">
                <option value="CAT_ID">CAT NAME
                        <option disabled="disabled">PAGE NAME ASSOCIATED TO THE 
CAT NAME</option>
                </option>
        </select>

and i cannot think of how i can structure an array to pass in to achieve this 
and/or is it even possible :-/.

i hope this makes sense.

i'm truly stuck!

kind regards

Adam Preece
        
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to