bit-tech.net

Go Back   bit-tech.net Forums > Technology > Software

Reply
 
Thread Tools
Old 27th Jun 2012, 22:45   #1
chrisb2e9
Dont do that...
 
chrisb2e9's Avatar
 
Join Date: Jun 2007
Location: Alberta, Canada
Posts: 3,928
chrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysis
Who knows how to HTML?

Hello,
I need to make something.
Basically what I want to do is have a bunch of fields with drop down menus.
For example:
the first field is a year going from present back to whenever.
Someone selects a year from a drop down list and then in the next drop down list they select a make of car. for example, Toyota.
Then there is another field, for the model of car, for example corolla.
And then another one for car options, for example 2 door or 4 door etc.

Once you have filled them out you will automatically be taken to a page that gives you information about that year, make, and model of car.
I have no idea how to code this. Help!

If you can show me what code I need that would be amazing!
Or if you know of a resource that can show me how to do it that would rock as well.

Thanks!
__________________
life can evolve without begetting plants or birds or cuddly mammals or sentient beings who write blogs on the internet; it just begets a glob of ooze.
chrisb2e9 is offline   Reply With Quote
Old 27th Jun 2012, 22:55   #2
Matticus
...
 
Matticus's Avatar
 
Join Date: Feb 2008
Posts: 3,029
Matticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpit
You are going to need some server side scripting and some sort of database to achieve that. Your best bet is to learn a little bit of php.

If you look for tutorials on populating a drop down list from a database, most will show how to make them link together as you suggest.

Essentially what it would be doing is querying a list of models based on the selected make ID of the first box. So when you select Toyota lets say it has a ID value of 10 in a database table of called "makes", the model drop down box will perform a query which in layman's terms will say "select all the models in the models table that have the make ID of 10".

I will find a few tutorials in a moment.

Edit: How dynamic are you wanting this, are you happy with the page reloading when a drop down is selected (should be a super quick reload if you keep the page light) or do you want it to all be done without any page reloads. If you want the latter, you will need to use ajax requests and possibly jQuery?

Edit 100000: I have removed the link to the original example because it is pretty terrible, and not worth looking at.

I will write something quickly tomorrow in the mean time get on w3 schools and read up on HTML and PHP, I would probably leave jQuery for now and just get to grips with the principles of PHP and how to layout a basic page with HTML and CSS.

I will be more of a help tomorrow, I am just off to bed now so don't want to get into any coding
__________________
::i5 - 750::P55M-UD2::8GB Corsair::5850::CM Silent Pro Gold::F3 1TB::OCZ Vertex 2E::
::giffgaff::

Last edited by Matticus; 27th Jun 2012 at 23:17.
Matticus is offline   Reply With Quote
Old 28th Jun 2012, 00:49   #3
chrisb2e9
Dont do that...
 
chrisb2e9's Avatar
 
Join Date: Jun 2007
Location: Alberta, Canada
Posts: 3,928
chrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysis
awesome! thank you!
__________________
life can evolve without begetting plants or birds or cuddly mammals or sentient beings who write blogs on the internet; it just begets a glob of ooze.
chrisb2e9 is offline   Reply With Quote
Old 28th Jun 2012, 01:12   #4
GoodBytes
How many wifi's does it have?
 
GoodBytes's Avatar
 
Join Date: Jan 2007
Location: Montreal, Canada
Posts: 11,651
GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.
Here are some really good tutorial sites:

-> http://www.w3schools.com/html/html_forms.asp (direct link to the HTML Forms tutorial)
-> PHP tutorial: http://www.w3schools.com/php/default.asp

PHP is a language that you merge with HTML page. well actually the contrary... you have a .php file, and you have HTML code inside.
Here are things that you can do with PHP:

Code:
<?php
 // This is my PHP part
 echo "Hello! I am outputing some <b>HTML</b>. The web browser source code will not see code but the message, with 'HTML' marked in bold, as if I did it in HTML, as it is code  compiled on the server automicaly. I don't have have to do anything beside sending my php page(s) to my server, the same way I do my HTML pages!<br/><br/>"

// end of PHP
?>
Hello again!, This is my HTML part. Anything here is in HTML format.<br/><br/>
<?php
$myVar = true;
if ($myVar == true) {
  echo "Amazing! I am back in HTML, but outputting on the page, using 'echo' HTML code. BTW, that value for myVar is ".$myVar.". Truly interesting fact!";
} else{
  echo "Double amazing! I am back in HTML, but outputting on the page, using 'echo' HTML code. BTW, that value for myVar is ".$myVar.". Yup it's false!";
}
?>
How to test PHP page?
Here is the thing. PHP is code compiled on the server.. so if you load the PHP page in your web browser.. well, you'll see your page as if you opened it in Notepad... practically, and not what you wanted. It needs to be compiled. TO do this, you need to make your computer a server. As much scary as it sounds, it's rather easy.. especially that it's an offline server... so you have nothing to worry about.

You can use Microsoft WebMatrix 2, a real nice coding software for web pages. Easy to use, and it comes built-in server. All you have to do, is hit the "Run" button on the ribbon bar of the program, and poof! Your see your PHP (or HTML) as if it was uploaded on your server. It also debug your code as code it. HTML, CSS, and PHP.

Microosft Webmatrix is 100% free, and you can do commercial content with it.
http://www.microsoft.com/web/webmatrix/
You can also publish your website to your own server form the program. The program will see what has changed, what files has been added (very smart system, btw), and uploads these files your web server, and now everyone can see it.
__________________
Nv GPU Pro - Automate your graphic card overclock base on what you run, reduce power and noise. Designed for Laptops and Desktops. Filled with features.

Core i7 930 2.8GHz | G.Skill Pi 6GB 1600MHz 7-5-7-24 1.5V | Gigabyte GA-X58A-UD5 | GeForce GTX 260 | W.D Caviar Black 1TB | Corsair AX750 | Noctua NH-U12P | Xonar Essence STX | Win8 Pro 64-bit | Dell U2410 - 1920x1200 | OCZ Vertex 4 250GB
GoodBytes is offline   Reply With Quote
Old 28th Jun 2012, 09:29   #5
aLtikal
1338-One step infront of the pro's
 
Join Date: May 2008
Location: London
Posts: 804
aLtikal has yet to learn the way of the DremelaLtikal has yet to learn the way of the DremelaLtikal has yet to learn the way of the DremelaLtikal has yet to learn the way of the DremelaLtikal has yet to learn the way of the DremelaLtikal has yet to learn the way of the DremelaLtikal has yet to learn the way of the Dremel
You can also use WAMP which will run your PHP. Not sure of the differences between microsofts offering and wamp though
__________________
aLtikal's Rig...
| Antec P182 | Q6700 @ 3.1Ghz| Abit AB9 Pro | 5770 1Gb Vapor-X | 4GB 800mhz Geil BlackDragon 4-4-4-12 | XtremeMusic | Z-5500's | MX-518| Samsung 2232bw 2ms 1680x1050|
Builder & Customizer of 11 PC's
aLtikal is offline   Reply With Quote
Old 28th Jun 2012, 13:18   #6
Guinevere
Mega mom
 
Guinevere's Avatar
 
Join Date: May 2010
Posts: 1,390
Guinevere - may the hammer of Bindi be bestowed on youGuinevere - may the hammer of Bindi be bestowed on youGuinevere - may the hammer of Bindi be bestowed on youGuinevere - may the hammer of Bindi be bestowed on youGuinevere - may the hammer of Bindi be bestowed on youGuinevere - may the hammer of Bindi be bestowed on youGuinevere - may the hammer of Bindi be bestowed on youGuinevere - may the hammer of Bindi be bestowed on youGuinevere - may the hammer of Bindi be bestowed on youGuinevere - may the hammer of Bindi be bestowed on youGuinevere - may the hammer of Bindi be bestowed on you
What size is the total dataset? How many cars?

I'd wager it's not a huge list and in plain text comparable to a reasonable sized image.

So rather than go with an active scripting solution (PHP, .NET etc) and AJAX just look at a 100% javaScript solution. Embed all the options in an array and code up a cascading list of selects.

http://www.tek-tips.com/faqs.cfm?fid=6294
http://www.javascriptkit.com/javatut...content2.shtml

If your dataset is too large to load at once, then look at basic AJAX techniques to load a select list from an external file. (Tip = Look at .innerHTML).

If your list of cars etc isn't going to be in a database you can dispense with PHP etc and use 100% javaScript and plain text (HTML) files to load on demand. It's a bit clunky, but no more than using PHP for nothing more than an "If - else" or big-ol' switch statement.
Guinevere is offline   Reply With Quote
Old 28th Jun 2012, 13:53   #7
GoodBytes
How many wifi's does it have?
 
GoodBytes's Avatar
 
Join Date: Jan 2007
Location: Montreal, Canada
Posts: 11,651
GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.
Quote:
Originally Posted by aLtikal View Post
You can also use WAMP which will run your PHP. Not sure of the differences between microsofts offering and wamp though
WAMP is just the server thing
Microsoft solution is fast, light and doesn't slow your Windows startup.
__________________
Nv GPU Pro - Automate your graphic card overclock base on what you run, reduce power and noise. Designed for Laptops and Desktops. Filled with features.

Core i7 930 2.8GHz | G.Skill Pi 6GB 1600MHz 7-5-7-24 1.5V | Gigabyte GA-X58A-UD5 | GeForce GTX 260 | W.D Caviar Black 1TB | Corsair AX750 | Noctua NH-U12P | Xonar Essence STX | Win8 Pro 64-bit | Dell U2410 - 1920x1200 | OCZ Vertex 4 250GB
GoodBytes is offline   Reply With Quote
Old 28th Jun 2012, 16:55   #8
chrisb2e9
Dont do that...
 
chrisb2e9's Avatar
 
Join Date: Jun 2007
Location: Alberta, Canada
Posts: 3,928
chrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysis
oy, way over my head. I was hoping this would be sort of easy.

Years going from present back to 2000 and in some cases back to 1990
All makes of cars (except for some of the exotic stuff)
All models of cars.
All options for cars.
And pictures, not just text.
In other words, this is massive. Currently we have a book(in a three inch binder that is over full) for this but as we are moving to tablets I want to get this information into the tablet. And make it as easy as possible for people to look up.

Am I going about this the right way or can you suggest something else?

Maybe just links so a page that starts with all the years
click on a year and it takes you to a page for all the makes and so on. would be a lot of work but it's simple work and I would just need a reminder of basic html instead of learning something new.
__________________
life can evolve without begetting plants or birds or cuddly mammals or sentient beings who write blogs on the internet; it just begets a glob of ooze.
chrisb2e9 is offline   Reply With Quote
Old 28th Jun 2012, 17:10   #9
StingLikeABee
Supermodder
 
StingLikeABee's Avatar
 
Join Date: Nov 2010
Posts: 297
StingLikeABee - it's over 9000!!!!!!!!1!1!1!!!StingLikeABee - it's over 9000!!!!!!!!1!1!1!!!StingLikeABee - it's over 9000!!!!!!!!1!1!1!!!StingLikeABee - it's over 9000!!!!!!!!1!1!1!!!StingLikeABee - it's over 9000!!!!!!!!1!1!1!!!StingLikeABee - it's over 9000!!!!!!!!1!1!1!!!StingLikeABee - it's over 9000!!!!!!!!1!1!1!!!StingLikeABee - it's over 9000!!!!!!!!1!1!1!!!StingLikeABee - it's over 9000!!!!!!!!1!1!1!!!StingLikeABee - it's over 9000!!!!!!!!1!1!1!!!StingLikeABee - it's over 9000!!!!!!!!1!1!1!!!
Code:
<form>
<select name="year">
<option value="1991">1991</option>
<option value="1992">1992</option>
<option value="1993">1992</option>
<!-- REPEAT OPTIONS AS MANY TIMES AS REQUIRED, EACH WITH THE UNIQUE VALUE AND TEXT -->
</select>

<select name="Make">
<option value="Toyota">Toyota</option>
<option value="Ford">Ford</option>
<option value="Another">Another/option>
<!-- REPEAT OPTIONS AS MANY TIMES AS REQUIRED, EACH WITH THE UNIQUE VALUE AND TEXT -->
</select>

<select name="Model">
<option value="KA">KA</option>
<option value="SCAMOBILE">SCAMOBILE</option>
<option value="ANYTHING">ANYTHING</option>
<!-- REPEAT OPTIONS AS MANY TIMES AS REQUIRED, EACH WITH THE UNIQUE VALUE AND TEXT -->
</select>
</form>
That would be the very (very) basics of the form. You would then need to find a way to chain the dropdowns, and then create a form handler to process the form. This isn't something someone with limited experience can jump into, without investing some time in learning the basics. As already mentioned, I would recommend PHP for the form handler, and there are many tutorials available online that you can learn from, and accomplish what it is you want to do.

EDIT: It's also worth mentioning that HTML deals with the layout of websites, and not with dynamic tasks like you want. You really need to learn either a server side scripting language (like PHP) or you could do it with jquery (but that would be the messy way).
StingLikeABee is offline   Reply With Quote
Old 28th Jun 2012, 17:49   #10
GoodBytes
How many wifi's does it have?
 
GoodBytes's Avatar
 
Join Date: Jan 2007
Location: Montreal, Canada
Posts: 11,651
GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.GoodBytes is the Cheesecake. Relix smiles down upon them.
Agreed.
I recommend for your database MySQL, which most web server have already installed and support.
There is also a workbench software for MySQL (free), so that you can create and edit your database visually directly from your web server.
Download here: http://www.mysql.com/products/workbench/
__________________
Nv GPU Pro - Automate your graphic card overclock base on what you run, reduce power and noise. Designed for Laptops and Desktops. Filled with features.

Core i7 930 2.8GHz | G.Skill Pi 6GB 1600MHz 7-5-7-24 1.5V | Gigabyte GA-X58A-UD5 | GeForce GTX 260 | W.D Caviar Black 1TB | Corsair AX750 | Noctua NH-U12P | Xonar Essence STX | Win8 Pro 64-bit | Dell U2410 - 1920x1200 | OCZ Vertex 4 250GB
GoodBytes is offline   Reply With Quote
Old 28th Jun 2012, 20:17   #11
WarrenJ
I *am* a Dremel
 
Join Date: Oct 2009
Posts: 1,998
WarrenJ should be considered for presidentWarrenJ should be considered for presidentWarrenJ should be considered for presidentWarrenJ should be considered for presidentWarrenJ should be considered for presidentWarrenJ should be considered for presidentWarrenJ should be considered for presidentWarrenJ should be considered for presidentWarrenJ should be considered for presidentWarrenJ should be considered for presidentWarrenJ should be considered for president
I would recommend the PHP/MySQL solution to be honest. You will want the page to load as fast as possible with the iPad especially if it is on 3G or something similar.
__________________
Quote:
Originally Posted by Evolutionsic View Post
"Trust no one"
WarrenJ is offline   Reply With Quote
Old 30th Jun 2012, 11:50   #12
Matticus
...
 
Matticus's Avatar
 
Join Date: Feb 2008
Posts: 3,029
Matticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpitMatticus is almost as Godly as yodasarmpit
Oops completely forgot about this, I will get something together over the weekend, I have been doing PHP and MySQL all week so understandably I am in no rush to do more
__________________
::i5 - 750::P55M-UD2::8GB Corsair::5850::CM Silent Pro Gold::F3 1TB::OCZ Vertex 2E::
::giffgaff::
Matticus is offline   Reply With Quote
Old 30th Jun 2012, 16:20   #13
chrisb2e9
Dont do that...
 
chrisb2e9's Avatar
 
Join Date: Jun 2007
Location: Alberta, Canada
Posts: 3,928
chrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysis
No worries, I've been putting together all the info. Last night I looked into how large the current files are. Everything in power point presentations and take 1.5gb of information.
Makes me wonder if I should scan from paper or take screen shots of each slide...
This is going to take me a while...
__________________
life can evolve without begetting plants or birds or cuddly mammals or sentient beings who write blogs on the internet; it just begets a glob of ooze.
chrisb2e9 is offline   Reply With Quote
Old 2nd Jul 2012, 16:47   #14
chrisb2e9
Dont do that...
 
chrisb2e9's Avatar
 
Join Date: Jun 2007
Location: Alberta, Canada
Posts: 3,928
chrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysis
I currently have two years worth of car folders made. And I have made over 1000 folders. only 15 more years to go....
I might cry.
__________________
life can evolve without begetting plants or birds or cuddly mammals or sentient beings who write blogs on the internet; it just begets a glob of ooze.
chrisb2e9 is offline   Reply With Quote
Old 2nd Jul 2012, 19:54   #15
sourdough
Multimodder
 
Join Date: Sep 2010
Posts: 110
sourdough has yet to learn the way of the Dremel
perhaps a content management system e.g. drupal, joomla, etc.
__________________
Asus M4A79XTD EVO, Corsair VX550, Phenom x2 555 BE (x4 B55 3 cores), Corsair Memory XMS3 4GB (2 x 2GB) DDR3 PC3-12800 C9 1600MHz, Sapphire HD5770, Samsung 1 Tb F3
sourdough is offline   Reply With Quote
Old 3rd Jul 2012, 06:55   #16
chrisb2e9
Dont do that...
 
chrisb2e9's Avatar
 
Join Date: Jun 2007
Location: Alberta, Canada
Posts: 3,928
chrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysis
Quote:
Originally Posted by sourdough View Post
perhaps a content management system e.g. drupal, joomla, etc.
I don't understand, what is that?
__________________
life can evolve without begetting plants or birds or cuddly mammals or sentient beings who write blogs on the internet; it just begets a glob of ooze.
chrisb2e9 is offline   Reply With Quote
Old 3rd Jul 2012, 07:40   #17
deathtaker27
System Support Specialist
 
deathtaker27's Avatar
 
Join Date: Apr 2010
Location: United Kingdom
Posts: 1,250
deathtaker27 is definitely a rep cheat.deathtaker27 is definitely a rep cheat.deathtaker27 is definitely a rep cheat.deathtaker27 is definitely a rep cheat.deathtaker27 is definitely a rep cheat.deathtaker27 is definitely a rep cheat.deathtaker27 is definitely a rep cheat.deathtaker27 is definitely a rep cheat.deathtaker27 is definitely a rep cheat.deathtaker27 is definitely a rep cheat.deathtaker27 is definitely a rep cheat.
http://www.google.co.uk/search?hl=en...xplained&meta=
__________________
If someone has helped you remember to + Rep them (:
deathtaker27 is online now   Reply With Quote
Old 3rd Jul 2012, 20:50   #18
chrisb2e9
Dont do that...
 
chrisb2e9's Avatar
 
Join Date: Jun 2007
Location: Alberta, Canada
Posts: 3,928
chrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysischrisb2e9 can run Crysis
I don't understand how that would save me any time. I still have to create a few thousand more folders. writing the html is pretty quick and easy. Copy and paste. How would a program like that save me any time?
__________________
life can evolve without begetting plants or birds or cuddly mammals or sentient beings who write blogs on the internet; it just begets a glob of ooze.
chrisb2e9 is offline   Reply With Quote
Old 4th Jul 2012, 02:09   #19
Panomama
's custom title is teh srs bizznizz
 
Panomama's Avatar
 
Join Date: Jul 2009
Location: Cambridge, UK
Posts: 861
Panomama is a hoopy frood who really knows where their towel is.Panomama is a hoopy frood who really knows where their towel is.Panomama is a hoopy frood who really knows where their towel is.Panomama is a hoopy frood who really knows where their towel is.Panomama is a hoopy frood who really knows where their towel is.Panomama is a hoopy frood who really knows where their towel is.Panomama is a hoopy frood who really knows where their towel is.Panomama is a hoopy frood who really knows where their towel is.Panomama is a hoopy frood who really knows where their towel is.Panomama is a hoopy frood who really knows where their towel is.Panomama is a hoopy frood who really knows where their towel is.
Basic, it's 3am.

Code:
create database web_cars;
use web_cars;

CREATE TABLE cars
(
carid int auto_increment primary key, /*ID of car, going up */
year varchar(20), /*1981,1982,1983 etc etc  */
make varchar(20), /* Toyota, Ford, Ferrari etc etc*/
carmodel varchar(50), 
caroptions varchar(50), /* 2door,4door*/
extra varchar(50) /* Type of car? Sports, estate or something of the like */
);
__________________
█XboxLive: PanomamaX█Steam: kylet450█
BlockJunkies - Minecraft Community
Panomama is offline   Reply With Quote
Old 6th Jul 2012, 22:19   #20
sourdough
Multimodder
 
Join Date: Sep 2010
Posts: 110
sourdough has yet to learn the way of the Dremel
Quote:
Originally Posted by chrisb2e9 View Post
I currently have two years worth of car folders made. And I have made over 1000 folders. only 15 more years to go....
I might cry.
If you are going to catalogue that much information, it would be a shame not to store it in a readily accessible format - a (mysql) database. Basically all you need to do is to create a database, write the form to do the data entry, then you can decide afterwards how you want your site to look. You can usually accomplish what I said in a few clicks using a CMS.
__________________
Asus M4A79XTD EVO, Corsair VX550, Phenom x2 555 BE (x4 B55 3 cores), Corsair Memory XMS3 4GB (2 x 2GB) DDR3 PC3-12800 C9 1600MHz, Sapphire HD5770, Samsung 1 Tb F3
sourdough is offline   Reply With Quote
Reply

Thread Tools

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
Forum Jump


All times are GMT. The time now is 11:59.
Powered by: vBulletin Version 3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.