Just a question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
synical21
Forum Contributor
Posts: 150
Joined: Tue Jul 28, 2009 8:44 am
Location: London UK

Just a question

Post by synical21 »

My skills on website construction are very limited to just makeing templates and linking pages etc. I was wondering is this system possible to work on php:

1.User submits application
2.Application sent to me/admin for approval
3.once approved the application will join a list of applications approved and have a unique ID (approved.php) example

Now other users can see approved list and click which one there intrested in so the page would kina be like...

approved_details.php?Id=3dhf37326 (random)

Now that application would be viewable to all users with some extra functions like message application creator.


This system is key to my site but i spent many days trying to learn how to make it. So im just wondering isit even possible and if it is, any breif outline in which direction i need to head would be really helpful.
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Just a question

Post by jackpf »

Yes. It is possible.

You'd need to use a database to store all the applications in, and have a column for whether it's been approved, and a unique ID.

You then need a page to display all applications where approved=1, or whatever represents an approved status.

You then need another page to display the details of an application, and a page to submit applications. I'd also recommend a sort of admin panel to provide a user interface for editing or deleting applications.

What particular part are you having trouble with?
synical21
Forum Contributor
Posts: 150
Joined: Tue Jul 28, 2009 8:44 am
Location: London UK

Re: Just a question

Post by synical21 »

The database bit im haveing trouble with, i think im just going to have to read alot of MySQL tutorials.
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Just a question

Post by jackpf »

Tizag have some good tutorials.
synical21
Forum Contributor
Posts: 150
Joined: Tue Jul 28, 2009 8:44 am
Location: London UK

Re: Just a question

Post by synical21 »

Ok so i made a database in MySQL with the right columns. Now i know how to insert data into the tables the terminal way but im guessing you use a php script to insert data to the data base and the php script would convert to a html form for the end user. Thats where im stuck......

If this is the place for help i kinda need it :(
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: Just a question

Post by Jonah Bron »

I'm slightly confused; are you saying you don't know how to insert or get data with PHP? Then you will need to read up on accessing and inserting info with PHP. A quick scroogle should get you what you need. After you learn about that, you just echo out the data from the DB into the HTML page at the appropriate locations.
Last edited by pickle on Wed Jul 29, 2009 10:13 am, edited 1 time in total.
Reason: Changed link to scroogle.org
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Just a question

Post by jackpf »

Haha scroogle...what a wicked site.
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: Just a question

Post by McInfo »

I think you mean http://www.scroogle.org/. Scroogle.com is not family-friendly.

Edit: This post was recovered from search engine cache.
Last edited by McInfo on Wed Jun 16, 2010 4:05 pm, edited 1 time in total.
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Just a question

Post by jackpf »

Oh...I thought he did it on purpose. :D
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: Just a question

Post by Jonah Bron »

Most definitely not. Sorry, yes it was supposed to be scroogle.org :oops:
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Just a question

Post by jackpf »

Ahh yeah, here's that old topic xD
Post Reply