Thanks Feherke! That's a very neat solution. I have never used the json_encode function before. That's very useful indeed. I'm going to try it out for sure. Thanks a ton! Much appreciated!
Thanks very much for the help! I've revised my code and it's working now. Don't know whether it's the most elegant solution but it does the job! I've created two arrays, i.e. arItems1 and arItems2. Here's my code:
<hmtl>
<?php...
Hi Feherke,
Thanks! Here is the generated HTML code. The names don't make sense I know, just a jumble of test characters at this stage for the "model_name". So basically you have from left to right in each row: item_type, stock_id, model_name, price.
<hmtl>
Connection to database established...
Hi All,
Being a newbie I've found all the threads on this forum about this topic extremely useful. So, i've cobbled together the attached javascript/html/php/mysql code that uses a first selection box to populate a second selection box that, in turn, populates a text box. i.e. the user selects...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.