It would be helpful if you said what sort of error/problem you had,
but I think you need quotes around the parameters in $row, so:
$both['full_
otherwise they are just variables which have unset values.
James
At 03:39 08/07/2009, you wrote:
>I am trying to figure out how to get two columns into one combo. I
>have two columns. One column for first name and other columns for
>last name. I want first and last name in one combo. Here is my
>codes. Can someone tell me what went wrong?
>
><?php
>include 'dbc.php';
>
>echo'<select name="categories"
>$res=mysql_
>if(mysql_num_
>else
>for($i=0;$i<
>$row=mysql_
>
>$both[full_
>
>echo"<option>
>
>}
>echo'</select>
>
>?>
>
>
>
>-----------
>
>-----------
>
>Come to the monthly meetings at UTD in Richardson, TX.
>Second Tuesday of every month.Yahoo! Groups Links
>
>
>
--
James Lamb
Come to the monthly meetings at UTD in Richardson, TX.
Second Tuesday of every month.
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch format to Traditional
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
0 Comments:
Post a Comment