![]() |
Need some help with webprogramming
Hey guys, I really have no coding experience at all, but I want to make some kind of "mod shop" where users can register and have say 10(just a random number) blanks where they can fill in the specs of their computer, then add pictures, a title, name, etc. then submit it and have a page created for it. And I want this to be on a website, and be self sufficient. I wouldn't even know what language you woul duse to do this. Does anyone know how I could do this, or could do it themselves?
Thanks, hascet :) |
Re: Need some help with webprogramming
You could do this using PHP or ASP.NET or Ruby on Rails.
You would need to look at domain hosting packages that support one of these technologies and includes a database. If you want to have it done for you, contact me by PM. |
Re: Need some help with webprogramming
Welcome to PFO hascet!
This is easily done in PHP... host the page yourself on a LAMP (Linux, Apache, MySql, Php) server in your home and save on costs. If you want to attempt this yourself, we are more than willing to assist. |
Re: Need some help with webprogramming
Thanks for the replies. I already have a domain, and Linux hosting with MySQL, and PHP, I have MyBB, and Wordpress installed on it already.
|
Re: Need some help with webprogramming
You wouldn't even need a database for this (basing primarily on the requirements in your description). You could use it to add a bit more functionality, but since you're a beginner, it's best to take things in steps.
You could accomplish this fairly easily with only PHP. Crack open any tutorial you can find. There's thousands out there, I wouldn't even know which to recommend. http://php.net is also excellent for PHP documentation. |
Re: Need some help with webprogramming
1 Attachment(s)
Would something like this work?
:
<form action="action.php" method="post">I just don't know how I would make it work so when you hit the submit button it makes that into a web page. |
Re: Need some help with webprogramming
You probably have to create and modify the 'action.php' page to accept the inputs you defined in the <form> and use it to create a new page. Start by creating action.php and have it display a debug message ('I AM HERE' ). That will give you assurance that your form is working properly.
|
Re: Need some help with webprogramming
Quote:
test.php :
<form action="action.php" method="post">action.php :
<p>Motherboard:</p> <?php echo htmlspecialchars($_POST['motherboard']); ?> |
Re: Need some help with webprogramming
By putting (int) in front of your statements, you're converting them all to numbers.
For instance, "E6600" with (int) in front, will show as 0, because "E6600" is not a valid integer. (int) is used when you want to make computations with integers, but your data is not a number. For instance, if the user entered "345". You can not add 100 to it to make 445. You must first convert it to a number, via (int), and then add 100. So try taking the (int)s out. And congrats on getting this far already. I'm quite surprised by your demonstrated ability to chug out some working code. You're on a good start. |
| All times are GMT -5. The time now is 3:49 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC