View Full Version : function of customers and admin in website,help me.

07-31-2008, 12:40 PM
At first sorry about my bad English.The second sorry if my post is not right with purpose of this box.I have a project that code a site e-commecial.But im a new to web, dont know anything about website and admin's function.I dont know how to code a form for admin to edit web.i have just known to code a homepage and something but not admin T__T.My project coded by php.But i dont know how to create a page for admin T__T.Somebody can help me any ideas ?

Thanks in advance!!!!

07-31-2008, 05:31 PM
This is hard to answer because we don't know how much the customers need to edit.

How many customers?
How much they need to edit?
What is the website about?
Is there "sensitive" information that needs to be stored?
Can the customers register themselves?

Give us a link to your existing website and tell us what it's supposed to do.

07-31-2008, 08:19 PM
But my website just in local, not uploaded on the web yet.I have to edit add, remove product,customer information.Customers can register themselves.My project is buy and sell cd game products.My teacher want to me code site admin to edit information about customers,products and news.My site code by div ,css and php.But i cant image how site admin display.Please help me T__T.Thanks in advance for your help!!

07-31-2008, 08:40 PM
You'll need to be able to run PHP and MySQL locally (with a server), or have
a webhost with a MySQL account (online).

You'll have to use PHP and MySQL (for the database).

Many tutorials available online:

We won't really be able to help with writing the scripts, because this is
supposed to be a project for school? This will be a big project and require
a lot of time to write this from scratch.

You'll need two admin sections, one for the site admin, and one for the
customer admin (edit profile) pages. All users and their info is stored in
the MySQL database. Another database for all of the CD's to buy and sell.

To do all of that from scratch? I would expect the project to take a few
weeks ... for an experienced programmer. I can't imagine doing this with
no knowledge about PHP or MySQL .... almost impossible.

08-01-2008, 02:01 AM
You'll need two admin sections, one for the site admin, and one for the
customer admin (edit profile) pages. All users and their info is stored in
the MySQL database. Another database for all of the CD's to buy and sell.
Thank you very much for your information, im needing it.
I know about Mysql and php but just cant image how site admin dislay.

I have 3 weeks to complete it.i have knowledge about php,mysql,css,javascript, ajax and something but just......dont know how to code site admin ????? i have never seen really site admin that how look like .

08-01-2008, 02:59 AM
A Site Admin is the user that logs onto to the site that has the ability to upload and manipulate data. So in your starts, you need some kind of permission check for that user. And if the user passes that check, than the user can have access to various web pages, site links, sections, etc. of the site to control things.

08-01-2008, 02:59 AM
Web site administration pages are left to your imagination. All that you really need to consider is that they function well. Bonus points if it looks good, I guess.

For the customer administration, you want to make sure that it is nice and simple. Clean and efficient. The tools that customers may often use, such as a search utility, or price check, or package tracking you want to make obvious. You also want to make sure that you have links such as the privacy policy, and terms of usage are available (not sure if this is part of the project requirements, but certainally adds to authenticity of the site).

For the site admin, you want to have functions such as adding products, editing product details, adding comments and user account administration.

You also might want to take into account security. Even though this is just a class project, a large part of e-commerce is that it is secure. I'm sure you instructor is going to be looking for this

I can only see you using CSS, HTML and PHP extensivley, plus mySQL for queries and database management. A little JavaScript possibly. For three weeks, coding an entire e-commerce site is a tall order, but it isn't impossible.

Finally, just to point out, while you can't ask any of the forum members to code things for you, you still can ask for advice, or ask why isn't this code working. You could also ask for us to comment on specific segments of code, asking security or functionallity questions.