Jump to content

populating text area from drop down options selected


hance2105
Go to solution Solved by Irate,

Recommended Posts

hello guys, i have a table called tbl_prodstd where product name(prod_name), product brand (prod_brand), product image (prod_photo) and product description (prod_desc) with an auto increment id - std_id.

 

i have a form add_product.php where the retailer can add products. i want to create a drop down where the retailer can select the product name and product brand. upon selecting both fields, the corresponding description is populated in the text area.

 

on clicking on add, the values in the drop down and text area are sent to another table called tbl_product which can be retrieved later.

 

how can i do that please?

 

i can let you have the codes i wrote so far if need be...

 

else if i can have a tutorial

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.