Current location: Hot Scripts Forums » General Community » Script Requests » Retriving form data from table using php and mysql


Retriving form data from table using php and mysql

Reply
  #1 (permalink)  
Old 06-09-09, 04:17 AM
haritha haritha is offline
New Member
 
Join Date: Jun 2009
Location: hyderabad
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Retriving form data from table using php and mysql

I hav A form with Category_ name(medium,upper,lower) And Branch _Name.Where Branch Name Is A Drop Down Coming From Branch Table Which Is having Branchname and branch _id fields.And I am sending the data o the data base category name and branch name.....by using POST Methd.Data is saved as category name and branch id....And My query is...How Can I retrive The Perticur Branch Related Categories using php and mysql code
Reply With Quote
  #2 (permalink)  
Old 06-09-09, 07:30 AM
CreativeClans CreativeClans is offline
Newbie Coder
 
Join Date: Jun 2009
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Code:
SELECT *
FROM Categories
WHERE branchid = $branchid
Like that?
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending data form one mysql table to anther using php mikejkellyuk PHP 8 04-24-09 06:31 AM
Inserting data to mysql table using php Tjobbe PHP 4 09-28-06 06:37 AM
How to get PHP to input data into a MYSQL table? scl789 PHP 5 04-21-05 09:06 PM
Php Form + mysql + display data sent needed TheRaider Script Requests 3 10-07-04 01:30 AM


All times are GMT -5. The time now is 09:27 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.