PHP code needed to get/post form fields and request mysql query results.


Posted on 16th Feb 2014 07:03 pm by admin

I'm new to PHP

I've created an html form to allow the user to request a basic telephone directory listing. They can select their 'listtype' by 'all' or by 'state'. If they choose 'state' then they must select a state from the dropdown menu - the state values are normal abbreviations. IE: 'AL'

In my php page I need to gather the users selection and retrieve the specific data from a table named 'contacts' then display it in a table sorted by last name.

Attached is what I've gotten so far. I had to attach the html in as a txt file since it wasn't allowed.

Thanks so much

No comments posted yet

Your Answer:

Login to answer
58 Like 37 Dislike
Previous forums Next forums
Other forums

Dynamically allocating the number of rows in a table based on a variable value
Hi,
I have situation here which i cannot resolve, I have a variable temp which stores the num

restricting another login once you logout
Hello,

how can I restrict a page from login authenticating against info in a MySQL DB for a s

a dificult string search
Hi I don't know a way around this. I want the user to input a password, but to make it a bit complca

Export hangs
Hi all, please help

I have a Oracle 10.2.0.3.0 database. When I want to query the dba_segmen

array help
Does anyone know how to require 10 text fields for individual grades and output class average? (10 p

Material xxx does not exist in plant xxx
Dear All,

I am working for a steel project which is repetitive manufacturing.

Php Mysql Page Loading Notice
Hi all,

I was wondering if there is a way (Sure there is) of showing a message or an image wh

Search with relational database
Hey,

I have quite a complicated (for me anyway ) relational database for an apartments syste

pull content
I have an existing page, domain/adverts.php which has a good PR. I've just rebuilt my site and the n

How to show next and prev records
Hi all,

Sorry if this is simple, i'm very new to php, well, any programming language actually

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash