On Sunday 16 February 2003 03:37, Geckodeep wrote:
> I have these forms with one having pull down menu having data coming from a
> table which is working and I have set two variables one for ID and the
> other for the TEXT.
> The problem that I am facing is that when the form is submitted the ID
> variable is well taken into consideration and can see the value on the
> process page which is then inserted into the table. The TEXT variable which
> I set apparently for some reason it wouldn't show up.

Which is the TEXT variable that you're referring to? And where does 
$rubriqueid come from? 

[snip]

> Her is the part of the code from the first Form submit page
> <form name="article" method="post" enctype="multipart/form-data"
> action="../form_pro.php">
> <select name="catid">
> <option value="">Please choose your category</option>
> <?php // Fetching the name of the category and id
> while ($row = mysql_fetch_array($result_cat)){
>  $catid = $row["cat_id"];
>  $catname = $row["cat_text"];
>  echo("<option value='$rubriqueid'>$catname</option>\n");
> }
> ?>
> </select>
> html code....
>
> <input name="hidden" type="hidden" value="$autid">
> <input name="hidden" type="hidden" value="$catname">
> <input name="hidden" type="hidden" value="$catid">
> <td colspan="4"><input  name="submit1" type="submit"  value="Send">
>
> code on the Form process page
>
> <p>Catagory <?php echo($catname); ?></p>

Have you looked at the HTML source to see whether it looks OK?

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
I don't have any solution but I certainly admire the problem.
                -- Ashleigh Brilliant
*/


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

Reply via email to