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

Echo multiple lines of html code
Hi guys,

I would like to know if there is a way to echo multiple lines of html codes.

Displaying Column Names
I have a question regarding the ability to show the column names from my table/query.
What I'm lo

help understanding hidden input w/ php
hello i'm doing a tutorial where there are multiple forms for an edit page for a user to update thei

Session login issue
I'm wondering how to fix a problem I'm having with a session-based login system

Say I go to h

Help with email validation please...
Hi,
Please could you help.
I have a register.php login page where users register, the detail

Mouseover to edit (Ajax)
hi friends, can anyone help with the code behind to get this application working, please in VB (new

Trigger tag in aspx is not coming
hi all ,iam new to ajax, iam using file upload inside the update pannel but right now i want to use

UDS 4.0 Datatype issue
UDS 4.0.322 -- connecting to NI Labview 9.0

When using connection method: Cache with live

Calling a Procedure with IN & OUT Parameters
Hello,

I usually call my procedures using the following way

declare variable e

Grabbing Values From an Array for Posting
I have a grid array that I am using with a form that when it hits the currently named test.php it lo

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