Agreed Sirs. Thank you all, took your suggestions. One last help 'PLEASE'. I got this connection,
select * from countryTable where country ='USA'
All below listed data is there, now I am trying to get/display in a table rest of these rows data with loop. Like,
COUNTRY - STATE - CITY - SCHOOL#
USA - Pennsylvania - Pittsburgh - 124
USA - Pennsylvania - Harrisburg - 126
USA - Pennsylvania - Strougtsburg - 177
so on....
Please help.
Please see code below, all connections working. but some how when I select with 'where' is not working.
Please fix this, as well I want to display other records in table. Thank you,
I can display 'country' on this page when I submit from 'form' selectoion. But could not get rest of the data
for that country. Error is 'syntax' error.
$query = "select * from countryTable where country = ".$_post['country']. " order by country asc";
Jesirose, if can, please modify my code, make work,
it will be a lifetime Thank you, I tried could not follow.
Once I cross this, then I am on my own please.
I will be help to other people.
Thank you in advance.
It is not copy and paste, I am so good with ASP, I copied ASP code, modified into PHP, to do the same process, and besides learning PHP, since got stuck I came here for help. If can please do help. This is not commercial. I am usinging northwind.mdb sample database for learning.
Thank you,
I have about 100 records, but my loop is looping so many times, returning
1000+ repeated records. I need something like this. Help me out please with new code. Thanks.
Canada
. companyone
. companytwo
. companythree
USA
. xyz company
. zy company
. xz comapy
so on...
I am new, learing PHP. What I am trying to do is, first I want to put country,
under each counrty I want to put companynames. Below is my code. Can some one fixit it please for me. Thank you. Example below,
Canada
. companyone
. companytwo
. companythree
USA
. xyz company
. zy company
. xz comapy
so on...
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.