Need a little assistance

16 posts by 2 authors in: Forums > CMS Builder
Last Post: February 15, 2013   (RSS)

No get the same error

$classNum = $record['num'].$record['cday'].$record['cname']; 

Notice: Undefined variable: classNum in /home/stockfsnv/www/stockpiledefensefsnv.com/3order.php on line 38

Patricia

www.thenetgirl.com

Hi, 

Please could you attach your updated code to a post? 

Then I can see what is on line 38 that is causing the error. It sounds as if the $classNum variable is trying to be displayed before it is created. 

Thanks!

Greg

Greg Thomas







PHP Programmer - interactivetools.com

Here ya go

Patricia

www.thenetgirl.com
Attachments:

3order.php 3K

Cheers.

I've found out what the problem was. The $className variable wasn't wrapped in <?php  ?> tags. I've attached an updated version to this post.

Thanks!

Greg

Greg Thomas







PHP Programmer - interactivetools.com
Attachments:

3order_001.php 3K

Wow that fills the drop menu but no matter what I select it passes Feb 25   date to the cart see below  ...the last date on the list

Item Description Quantity Each Total Front Sight Date & Course  Mon, Feb 25  
4 Day Defensive Handgun

 

$ 0.00 $ 0.00

Patricia

www.thenetgirl.com