Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 01-14-2008, 07:16 PM   #1
Fully Optimized
 
hascet's Avatar
 
Join Date: Jul 2006
Posts: 3,218
Default How would you do this?

I want to make some kind of "mod shop" where users can register and have blanks where they can fill in their specs of their computers, then add pictures, a title, modders name, etc. then submit it and have a page created for it. And I want this to be on a website. Anyone know how I could do this, or could do it themselves?
__________________

__________________
www.crazycomputers.org
hascet is offline   Reply With Quote
Old 01-14-2008, 11:58 PM   #2
Solid State Member
 
Join Date: Jan 2008
Posts: 13
Default Re: How would you do this?

you would have to make a database driven website, where all these things are n a database and create pages dynamically when asked for. I would suggest using php and mysql. I could help you with more specifics if need by, Let me know if any other questions. Sounds like a cool project to me though.
__________________

james_byrne is offline   Reply With Quote
Old 01-15-2008, 04:49 PM   #3
BSOD
 
Join Date: Jan 2008
Posts: 20
Send a message via MSN to DionRodrigues
Default Re: How would you do this?

PHP and MySQL would be the backend, with AJAX at the front to call and display the "parts", "specs", "pictures", "title", etc of the computer in the mod shop as required.

It would be difficult and require a lot of work.... even with PHP and MySQL.
DionRodrigues is offline   Reply With Quote
Old 01-15-2008, 05:51 PM   #4
Solid State Member
 
Join Date: Jan 2008
Posts: 13
Default Re: How would you do this?

I do not understand how this will be difficult? Why do you need to have Ajax for the front end, You can make a php page that will pull up the information based off the id number of the computer you wish to pull up. It is a simple php mysql project. You can format the front end with HTML and not AJAX.
james_byrne is offline   Reply With Quote
Old 01-15-2008, 10:26 PM   #5
Fully Optimized
 
hascet's Avatar
 
Join Date: Jul 2006
Posts: 3,218
Default Re: How would you do this?

Ok got this so far...but I don't know how to make it so the words are displayed in the action.php code it just does numbers except for the motherboard output it does the full thing for that...

test.php
Code:
<form action="action.php" method="post">
<p>Motherboard <input type="text" name="motherboard" /></p>
<p>Processor <input type="text" name="processor" /></p>
<p>Hard Drive <input type="text" name="harddrive" /></p>
<p>Video Card <input type="text" name="videocard" /></p>
<p>Case <input type="text" name="case" /></p>
<p>3DMark06 Score <input type="text" name="3dmark06" /></p>
<p><input type="submit" /></p>
</form>
action.php
Code:
<p>Motherboard:</p> <?php echo htmlspecialchars($_POST['motherboard']); ?>
<p>Processor:</p> <?php echo (int)$_POST['processor']; ?>
<p>Hard Drive:</p> <?php echo (int)$_POST['harddrive']; ?>
<p>Video Card:</p> <?php echo (int)$_POST['videocard']; ?>
<p>Case:</p> <?php echo (int)$_POST['case']; ?>
<p>3DMark06 Score:</p> <?php echo (int)$_POST['3dmark06']; ?>
<p>Super Pi 1M Time:</p> <?php echo (int)$_POST['superpi']; ?>
__________________
www.crazycomputers.org
hascet is offline   Reply With Quote
Old 01-20-2008, 11:34 PM   #6
Solid State Member
 
Join Date: Jan 2008
Posts: 13
Default Re: How would you do this?

sorry for the late response i have been busy with work. But the reason those are only displaying numbers is because of the int before them. You need to get rid of that. But for the page to actually work, you need to have a form that gets submitted to a database, then a page that is created with all the links from the database. Then when a specific item is clicked you need to go back to the database and show specifics for that item based off the database ID or something smiler. Let me know if any other questions.
james_byrne is offline   Reply With Quote
Old 01-25-2008, 12:43 AM   #7
Beta Member
 
Join Date: Dec 2007
Posts: 3
Default Re: How would you do this?

Nice idea buddy
__________________

jameslarry is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 01:57 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0