Forum: JavaScript / DHTML / AJAX Oct 26th, 2008 |
| Replies: 3 Views: 2,687 I changed all the short tags and I'm still having the same problem. Any more ideas? |
Forum: JavaScript / DHTML / AJAX Oct 24th, 2008 |
| Replies: 3 Views: 2,687 Hello, I got the following code from someone and have tailored it to fit my needs but I have a problem. The first menu populates from my MySQL database. However, when the first menu is selected, the... |
Forum: PHP Oct 18th, 2008 |
| Replies: 7 Views: 2,178 Well, that's kinda working. The dropdown now populates with all the years for all the Makes. I only want it to display the relevent years for each car the user clicks on. Any ideas? |
Forum: PHP Oct 17th, 2008 |
| Replies: 7 Views: 2,178 |
Forum: PHP Oct 16th, 2008 |
| Replies: 7 Views: 2,178 Well, I've actually got two pieces of code. The first one I'll post was given to me by someone else but I've managed to get it to work for my application. Here it is:
<?php
require... |
Forum: PHP Oct 15th, 2008 |
| Replies: 7 Views: 2,178 Hello everyone, I'm having trouble populating a dropdown box with mysql data. I have a table with columns makeid, yearstart, yearend and makename. Sample data would be 1, 1936, 1941, American Bantam.... |
Forum: PHP Sep 28th, 2008 |
| Replies: 3 Views: 698 Ok, I've been working on this code and have gotten it figured out except for one thing. I cannot populate the drop down boxes with the years that are specific to the makes. Here's the modified code:... |
Forum: PHP Sep 28th, 2008 |
| Replies: 3 Views: 698 Awesome! Thanks for posting but I still have a slight problem. I got it to echo the Makes out and when I click them, it takes me back to the page. However, I want the page to be where you click on... |
Forum: PHP Sep 27th, 2008 |
| Replies: 3 Views: 698 Hey everyone, I want to use mysql to list all of the makes of vehicles and I want the user to be able to click a make and the years that make were made pop up. Is there a way to do this using PHP?... |
Forum: MySQL Sep 5th, 2008 |
| Replies: 0 Views: 2,158 Hello, I have a problem that someone can hopefully help me with. I have a page where Make, Year and Model menus are dynamically created via mysql. Upon selection, the user presses submit and those... |
Forum: PHP Jul 23rd, 2008 |
| Replies: 1 Views: 365 I'm trying to decode a variable the user inputs into two different things, depending on the input.
Here it is in context:
User inputs 591P1001; 59 is the year, 1 is the series, P is the... |
Forum: PHP Jun 7th, 2008 |
| Replies: 3 Views: 548 I've got some code using a lot of complex if statements that I'm using for a VIN decoder. I finally got it working and I'm hesitant to alter it but these if statements are huge! If a switch statement... |
Forum: PHP Jun 6th, 2008 |
| Replies: 10 Views: 1,458 Thanks for the reply. That wouldn't work for what I'm trying to do either. I only want "Skylark" to display if $Series == "D" && $ModelYear == "2". I'm just looking for a way to incorporate that into... |
Forum: PHP Jun 6th, 2008 |
| Replies: 10 Views: 1,458 I know how they work but the example you posted still isn't doing what I'm trying to accomplish. If a user was to input 4A27H2H111111, then what you posted would echo something for A. Whereas, if the... |
Forum: PHP Jun 6th, 2008 |
| Replies: 10 Views: 1,458 Well, I tried using a switch statement but I'm stuck again. I have this so far:
switch ($Series)
{
case ($Series == "D" && $ModelYear == "2"):
echo "Skylark";
break;
case ($Series ==... |
Forum: PHP Jun 6th, 2008 |
| Replies: 10 Views: 1,458 When I echo out that statement in the else statement, nothing shows up. Likewise, when I take away that second set of parenthesis, nothing shows up. In fact, skips over that set of if-else statements... |
Forum: PHP Jun 5th, 2008 |
| Replies: 10 Views: 1,458 I've hit a new road block on my VIN decoder page. I want to echo something only if two variables are true.
Here's what I want to do:
if (($Series == "D") && ($ModelYear == "2")){
echo... |
Forum: PHP Jun 4th, 2008 |
| Replies: 2 Views: 607 Hello again, I previously asked a question about how to seperate text in a form. I understand how to do that now (thanks KKeith29), but my question now is this: How do I use the data entered in the... |
Forum: PHP Jun 3rd, 2008 |
| Replies: 9 Views: 1,713 I get what you are saying but I've not been using PHP for long and I don't know how to implent this into my code. Is there anyway you could give me an example using the VIN format I listed above?... |
Forum: PHP Jun 3rd, 2008 |
| Replies: 9 Views: 1,713 Can anyone help me here? Supposedly it's not hard so someone has to know! |
Forum: PHP Jun 1st, 2008 |
| Replies: 9 Views: 1,713 I've seen that before but I was wanting to make my own. It will focus on old cars. That VIN decoder only does the newer 17-digit VINs which means only cars from 1981-present can be decoded. There's... |
Forum: PHP Jun 1st, 2008 |
| Replies: 9 Views: 1,713 Hey Keith, thanks for the response. The format depends on the make of the car but they are standardized for each make or year range. For example, the VIN format I posted above would be correct for... |
Forum: PHP Jun 1st, 2008 |
| Replies: 9 Views: 1,713 Hello everyone, I've been trying to build a website with a VIN decoder for a few weeks now and I'm getting no where. I have no experience with PHP but have been doing a lot of reading. My question is... |