Yes that is clearer now and the dropdown is good.
Maybe the final furlong?....
I still don't get how when i make a selection from the dropdown, e.g. Canada, to save as part of the form into my business details table. I just cannot see how to get it posted with the other array items.
I can't see for the life of me how I make that connection work
At the bottom of my script I use the following to see what in the array will...
User Profile
Collapse
-
Hi thanks for the response again.
Sorry, the first line that you mention wasn't supposed to be there, in my frustration I've been trying anything and everything.
As you pointed out, the correct line that you instruct to use has now allowed the country option to be part of the array.
Unless I'm missing something, on the second line you say to insert, if I use that piece of script, the dropdown box just repeats the words 'select...Leave a comment:
-
Hi again, the code as requested, hope this helps. (If it does at least i'll have learnt something)
Thanks
FF
[PHP]
<form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post">
<?php
include "dbconn.php ";
?>
//<?php
//include "countrylist.ph p";
//?>
<?php
//NORMALLY...Leave a comment:
-
Hi.
Thanks for the very prompt responses, I will post up the scripts this evening.
Just to clarify what I'm doing, I know it was a long winded post.:
On the registration page is a form (name, email address, url, etc)
Also an include(d) php script, this display the country list from the 'country' table.
This works.
When I submit the registration form to the 'businessdetail s' table, i want it to include the...Leave a comment:
-
factory fred started a topic get table data from php/mysql and save as part of a form to another tablein PHPget table data from php/mysql and save as part of a form to another table
Hi,
I hope some one can help with this frustrating but probably simple issue.
I have 2 mysql tables, one called 'country' the other called 'businessdetail s'.
On my page I have a form, people will register thier details and post the form back to 'businessdetail s' table This works perfectly well so far. On this page I also pull in the country list from the 'country' table as a drop down list, again no problem at all, it works...
No activity results to display
Show More
Leave a comment: