kustomjs Posted October 10, 2008 Share Posted October 10, 2008 Link to comment Share on other sites More sharing options...
failsafe Posted October 10, 2008 Share Posted October 10, 2008 Not surprised, line 67 is full of double dots where there should be just one dot to join each string together! Big night out was it? Link to comment Share on other sites More sharing options...
kustomjs Posted October 10, 2008 Author Share Posted October 10, 2008 so you saying I need to take out the double . and just put in one . Link to comment Share on other sites More sharing options...
failsafe Posted October 10, 2008 Share Posted October 10, 2008 so you saying I need to take out the double . and just put in one . Yes, in lots of places on that line. Every last one of the double dotties must go period (pun intended) :) Link to comment Share on other sites More sharing options...
kustomjs Posted October 10, 2008 Author Share Posted October 10, 2008 Link to comment Share on other sites More sharing options...
failsafe Posted October 10, 2008 Share Posted October 10, 2008 You've missed the leading $ symbol off the cylinder variable... should be $cylinder of course. A better way to find these errors rather than whacking lines where you can't see wood for trees is to split the line up and do something like... $myline = 'Customer Name' . $customername . "\r\n\r\n" .'Billing Address' . $billingaddress . "\r\n\r\n" . 'Shipping Address'; $myline .= $shipping . "\r\n\r\n" . 'City' . $city . "\r\n\r\n" . 'State' . $state . "\r\n\r\n" . 'Postal Code' . $postcode . "\r\n\r\n" . 'Email' . $email . "\r\n\r\n" ; $myline .= 'Telephone' . $telephone . "\r\n\r\n" . 'Type Of Payment' . $typeofpayment . "\r\n\r\n" . 'Type Of Shipping' . $typeofshipping; $myline .= "\r\n\r\n" . 'Vin ' . $vin . "\r\n\r\n" . 'Prom ' . $prom . "\r\n\r\n" . 'Car ' . $car . "\r\n\r\n" . 'Engine ' . $engine . "\r\n\r\n"; $myline .= 'Fuel Injector ' . $injector . "\r\n\r\n" . 'Idle ' . $idle . "\r\n\r\n"; etc. At least while debugging! Saves a lot of hunting hassle. Link to comment Share on other sites More sharing options...
kustomjs Posted October 10, 2008 Author Share Posted October 10, 2008 alright here is the new code of that line 67 .'Customer Name: ' . $customername . "\r\n\r\n" .'Billing Address: ' . $billingaddress . "\r\n\r\n" . 'Shipping Address: ' . $shipping . "\r\n\r\n" . 'City: ' . $city . "\r\n\r\n" . 'State: ' . $state . "\r\n\r\n" . 'Postal Code: ' . $postcode . "\r\n\r\n" . 'Email: ' . $email . "\r\n\r\n" . 'Telephone: ' . $telephone . "\r\n\r\n" . 'Type Of Payment: ' . $typeofpayment . "\r\n\r\n" .'Type Of Shipping: ' . $typeofshipping . "\r\n\r\n" . 'Vin: ' . $vin . "\r\n\r\n" . 'Prom: ' . $prom . "\r\n\r\n" .'Car: ' . $car . "\r\n\r\n" . 'Engine: ' . $engine . "\r\n\r\n" . 'Fuel Injector: ' . $injector . "\r\n\r\n" . 'Idle: ' . $idle . "\r\n\r\n" . 'Throttle Body: ' . $tbs . "\r\n\r\n" . 'Manfold Intake: ' . $intake . "\r\n\r\n" . 'Cam: ' . $cam . "\r\n\r\n" . 'Lift: ' . $lift . "\r\n\r\n" . 'LSA: ' . $lsa . "\r\n\r\n" . 'ARR: ' . $arr . "\r\n\r\n" . 'Ratio: ' . $ratio . "\r\n\r\n" . 'Cylinder: ' . $cylinder . "\r\n\r\n" . 'Port: ' . $port . "\r\n\r\n" .'turbo: ' . $turbo . "\r\n\r\n" . 'How Much Boost: ' . $boost . "\r\n\r\n" . 'Intercooled: ' . $cool . "\r\n\r\n" . 'FMU: ' . $fmu . "\r\n\r\n" .'C Ratio: ' . $cratio . "\r\n\r\n" . 'EGR: ' . $egr . "\r\n\r\n" .'TTEMP: ' . $ttemp . "\r\n\r\n" . 'Exhuast: ' . $exhaust . "\r\n\r\n" . 'Cat: ' . $cat . "\r\n\r\n" .'Tran: ' . $tran . "\r\n\r\n" .'Shift: ' . $shift . "\r\n\r\n" . 'Tire Size: ' . $tiresize . "\r\n\r\n" .'New Tire Size: ' . $newtiresize . "\r\n\r\n" . 'RPM: ' . $rpm . "\r\n\r\n" . 'REV: ' . $rev . "\r\n\r\n" .'MAF: ' . $maf . "\r\n\r\n" . 'Codes: ' . $codes . "\r\n\r\n" .'Customer PCM: ' . $customerpcm . "\r\n\r\n" . 'We Exchange PCM: ' . $wefurnishexchangepcm . "\r\n\r\n" . 'We Furisnh Core: ' . $ifwefurinshthepcmsendingincore . "\r\n\r\n" . 'Enquiry: ' . $enquiry . "\r\n\r\n" . ); I am still getting that error Link to comment Share on other sites More sharing options...
kustomjs Posted October 10, 2008 Author Share Posted October 10, 2008 I finally got it fix thanks andy for ur help Link to comment Share on other sites More sharing options...
failsafe Posted October 10, 2008 Share Posted October 10, 2008 alright here is the new code of that line 67 ... 'We Exchange PCM: ' . $wefurnishexchangepcm . "\r\n\r\n" . 'We Furisnh Core: ' . $ifwefurinshthepcmsendingincore . "\r\n\r\n" . 'Enquiry: ' . $enquiry . "\r\n\r\n" . ); I am still getting that error See the very last .); Perhaps this final . should be removed making it just ); :blink: I really think you should split the line up if there's still an error after this and do it like I said above with successive myline .= lines. That way, you'll be able to locate the error yourself more easily. Good luck. Link to comment Share on other sites More sharing options...
failsafe Posted October 10, 2008 Share Posted October 10, 2008 duplicate Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.