Need a hand with some code...
Posted: Sun Feb 12, 2006 9:04 pm
Jcart | Please use
Jcart | Please use
Code: Select all
andCode: Select all
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
I'm by no means a PHP coder. I'm just a recycled Clipperhead... I AM, however, working on a program to pull information from a database for owners of Mitsubishi 3000GT/Dodge Stealth autos...
This is working just fine...
What I'm trying to do, however, is ferret out the row number for a specific VIN number, matching this criteria...Code: Select all
$query ="SELECT * from carinfo where modelyear='$lmodelyear' AND submodel='$lsubmodel' AND interior='$linterior' AND exterior='$lexterior' AND opton='$lopton' AND modelcode='$lmodelcode' AND class='$lclass'";
$result1 = mysql_query($query)
or die ("couldn't execute query");
while($row = mysql_fetch_array($result1))
{
$counter=$counter+1;
extract($row);
}
$exactlyidentical=$counter;Jcart | Please use
Code: Select all
andCode: Select all
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]