SunQuest
 
           PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old March 20th, 2003, 06:00 AM
jetli jetli is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 1 jetli User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Creating database navigation using php

Hello

I am creating an application in php which needs to have a Edit portion where user can make changes to different items.

Now in that page I want a navigation

First | Previous | Next | Last

and when user clicks on anyone it should load the data accordingly in the form fields. After that user can change the data and submit it to a script where it is updated accordingly in to a database.

Also I want to have a drop down list on the page where user can select a particular item and it should open the values accordingly in the form fields.

Can anyone give any idea about how to do this or refer to any link where I can find about this?

Reply With Quote
  #2  
Old March 20th, 2003, 03:24 PM
CHornJr's Avatar
CHornJr CHornJr is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: New York City
Posts: 233 CHornJr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 50 m 19 sec
Reputation Power: 6
Send a message via AIM to CHornJr Send a message via MSN to CHornJr Send a message via Yahoo to CHornJr
I honestly don't know how to do this but I have always htought that most have done this with JS not php.
__________________
CHornJr
"One day I'll know what I am doing"
My Blog
Suanhacky Lodge #49
Rebel Squadrons

Reply With Quote
  #3  
Old March 25th, 2003, 10:12 AM
jonpass jonpass is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: South East England
Posts: 10 jonpass User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
hmm a thought

is the data in your database set up with sequential ids?? because you couold just set your link up like

<a href="page.php?id=<?php echo --$_GET['id']; ?>"></a>

then have a select statement in the page wich loads the data like
select * from tablename where fieldid = $_GET['id']

if you see what i mean

jon

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > Creating database navigation using php


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway