mallen
Members-
Posts
316 -
Joined
-
Last visited
Everything posted by mallen
-
Thanks. Its not checking a value of the correct user or password.
-
I tried that and it keeps the form on the screen, but doesn't show error message. Not sure where to place that.
-
I have this simple log in form. I can't figure how to display the form again on the same page if the username or password are wrong. If you hit submit with no values or you use the wrong values the form disappears. <?php if ($_SERVER['REQUEST_METHOD'] == 'POST') { if ( (!empty($_POST['user'])) && (!empty($_POST['password']))) { if(($_POST['user']) == 'me' && ($_POST['password'] == 'test')) { //correct print '<p> You are logged in</p>'; } } } else { //incorrect! //display form print '<form action="login.php" method="post"> <p>Sign in:</p> <table width="200" border="0"> <tr> <td width="71">User:</td> <td width="113"><label for="user"></label> <input type="text" name="user" id="user" /></td> </tr> <tr> <td>Password</td> <td><label for="password"></label> <input type="password" name="password" id="password" /></td> </tr> <tr> <td> </td> <td><input type="submit" name="submit" value="Log in" /></td> </tr> </table> </form>'; } ?>
-
Loading extensions in the php.ini file
mallen replied to mallen's topic in PHP Installation and Configuration
So anyone have an idea? Is PHP installing different now? -
Loading extensions in the php.ini file
mallen replied to mallen's topic in PHP Installation and Configuration
Also it used to install two files: php.ini-dist and php.ini-development. All I see now is php.ini -
I installed PHP 5.3.6 and when editing the php.ini file it looks different than before. Before in the middle of the page would be a list like this: ; ;extension=php_bz2.dll ;extension=php_curl.dll ;extension=php_dba.dll ;extension=php_exif.dll and you would uncomment the ones you wanted. Now in the end of the document it looks like this: ; Local Variables: ; tab-width: 4 ; End: [php_BZ2] extension=php_bz2.dll [php_CURL] extension=php_curl.dll [php_FILEINFO] extension=php_fileinfo.dll [php_GD2] extension=php_gd2.dll [php_GETTEXT] extension=php_gettext.dll [php_GMP] extension=php_gmp.dll [php_IMAP] extension=php_imap.dll [php_MBSTRING] extension=php_mbstring.dll [php_MYSQL] extension=php_mysql.dll [php_MYSQLI] extension=php_mysqli.dll [php_OPENSSL] extension=php_openssl.dll [php_PDO_MYSQL] extension=php_pdo_mysql.dll [php_PDO_ODBC] extension=php_pdo_odbc.dll [php_PDO_SQLITE] extension=php_pdo_sqlite.dll [php_PGSQL] extension=php_pgsql.dll [php_SOAP] extension=php_soap.dll [php_SOCKETS] extension=php_sockets.dll [php_SQLITE3] extension=php_sqlite3.dll [php_TIDY] extension=php_tidy.dll [php_XMLRPC] extension=php_xmlrpc.dll [php_XSL] extension=php_xsl.dll [php_EXIF] extension=php_exif.dll So by default it loads all of these?
-
I am using PHP 4.4.1
-
I have this code below that lists all files uploaded by users. The problem is they are in no order. I want to sort them by date. How can i do this? $x = 0; function parse_dir($dir) { if($dh = @opendir($dir)) { while(($file = readdir($dh)) !== false) { if($x == 0) { $color = "#CCCCCC"; } else { $color = "#EDECEC"; } if( !preg_match('/^\./s', $file) ) { if(is_dir($dir.$file)) { //nothing } else { echo '<tr> <td bgcolor='.$color.' class="style2"><a href="https://xxxxxx/'.$dir.$file.'">'.$dir.$file. ' '. date( 'm,j,y',filemtime("$dir$file")).'</a></td> <td width="20" bgcolor='.$color.' class="style2"> </td> <td width="80" bgcolor='.$color.' class="style2"><a href="delete.php?file='.$file.'">Delete</a></td> </tr>'; $x = $x + 1; if ($x == 2) { $x = 0; } } } } chdir('..'); } } parse_dir('upload/'); ?>
-
How would I use <button> How would this be written.?
-
Thanks for the reply. This is really interesting to know. So to send a value I would use a hidden value and put it in here? ..... if (array_key_exists('send', $_POST)) { .....
-
<input name="send" type="image" value="send" class="submitbutton" src="images/newbutton.jpg" /> and I changed it to: <input name="send" type="submit" id="send" value="send" /> and it works in IE. So just "type" is causing the issue. So in this case Firefox is not following the HTML specification?
-
<?php ob_start(); //required for html headers error //require_once('Connections/images.php'); include('includes/corefuncs.php'); // process the email if (array_key_exists('send', $_POST)) { $to = '[email protected]'; // $subject = ' request'; // list expected fields $expected = array('name','email','company','comments'); // set required fields $required = array('name','email','comments'); // create empty array for any missing fields $missing = array(); // assume that there is nothing suspect $suspect = false; // create a pattern to locate suspect phrases $pattern = '/Content-Type:|Bcc:|Cc:/i'; // function to check for suspect phrases function isSuspect($val, $pattern, &$suspect) { // if the variable is an array, loop through each element // and pass it recursively back to the same function if (is_array($val)) { foreach ($val as $item) { isSuspect($item, $pattern, $suspect); } } else { // if one of the suspect phrases is found, set Boolean to true if (preg_match($pattern, $val)) { $suspect = true; } } } // check the $_POST array and any sub-arrays for suspect content isSuspect($_POST, $pattern, $suspect); if ($suspect) { $mailSent = false; unset($missing); } else { // process the $_POST variables foreach ($_POST as $key => $value) { // assign to temporary variable and strip whitespace if not an array $temp = is_array($value) ? $value : trim($value); // if empty and required, add to $missing array if (empty($temp) && in_array($key, $required)) { array_push($missing, $key); } // otherwise, assign to a variable of the same name as $key elseif (in_array($key, $expected)) { ${$key} = $temp; } } } // validate the email address if (!empty($email)) { // regex to ensure no illegal characters in email address $checkEmail = '/^[^@]+@[^\s\r\n\'";,@%]+$/'; // reject the email address if it doesn't match if (!preg_match($checkEmail, $email)) { array_push($missing, 'email'); } } // go ahead only if not suspect and all required fields OK if (!$suspect && empty($missing)) { // set default values for variables that might not exist // build the message $message = "Name: $name\n\n"; $message .= "Company: $company\n\n"; $message .= "Email: $email\n\n"; $message .= "Comments: $comments\n\n"; // limit line length to 70 characters $message = wordwrap($message, 70); // create additional headers $additionalHeaders = 'From: me'; if (!empty($email)) { $additionalHeaders .= "\r\nReply-To: $email"; } // send it $mailSent = mail($to, $subject, $message, $additionalHeaders); if ($mailSent) { // $missing is no longer needed if the email is sent, so unset it unset($missing); } } } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> </head> <body id="contact"> <div id="wrapper"> <div id="topRight"> <div id="error"><?php if (isset($missing)) { echo '<p>The following are required:</p>'; echo '<ul>'; foreach($missing as $item) { echo "<li>$item</li>"; } echo '</ul>'; } elseif ($_POST && $mailSent) { echo '<p><strong>Your message has been sent. Thank you for your feedback.</strong></p>'; } ?> </div> <form name="cssform" action="contact.php" method="post" > <ul> <li> <label for="name">Name: </label> <input name="name" type="text" class="newfield" id="name" size="35" <?php if (isset($missing)) { echo 'value="'.htmlentities($_POST['name']).'"';} ?>/> </li> <li> <label for="email">Email: </label> <input name="email" type="text" class="newfield" id="email" size="35"<?php if (isset($missing)) { echo 'value="'.htmlentities($_POST['email']).'"';} ?> /> </li> <li> <label for="company">Company: </label> <input type="text" name="company" class="newfield" id="company" size="35" <?php if (isset($missing)) { echo 'value="'.htmlentities($_POST['company']).'"';} ?>/> </li> <li> <label for="comments">Comments: </label> <textarea name="comments" id="comments" cols="1" rows="4"<?php if (isset($missing)) { echo 'value="'.htmlentities($_POST['comments']).'"';} ?> ></textarea> </li> </ul> <input name="send" type="image" value="send" class="submitbutton" src="images/newbutton.jpg" /> </form> </div> </div>
-
My hosting company says "Your domain is hosted on the Windows server. Unfortunately there is no mod-rewrite available and .htaccess files won't be processed on IIS." So how can I do this?
-
I got the info from here http://www.bigoakinc.com/seo-articles/301-direct-Google.php So is this all I need? Will re redirect users or is it just for search engines?
-
I changed my pages from .htm and .cfm to PHP. I am creating a .htaccess file using mod_rewrite. 1. Is this all I need? Will it direct users from a .htm page over to a php page or is it just for search engines? 2. What if my original page was called default.htm and now I amusing index.php Options +FollowSymLinks RewriteEngine on RewriteRule ^(.*).htm$ $1.php [R=permanent,L] RewriteRule ^(.*).cfm$ $1.php [R=permanent,L]
-
I have this dynamic gallery. It created a table of images. When I click on the image it take it to a detail page and shows the image. I can't get it to display the description. It always displays the first record's decription no matter the image that is showing. It does show the correct image. This is the gallery page: <?php define('COLS', 3); $conn = dbConnect('query'); $sql = 'SELECT * FROM images'; $result = mysql_query($sql) or die(mysql_error()); $row = mysql_fetch_assoc($result); $pictureid = $_GET['ID']; $desc = $row['description']; ?> <table> <tr> <?php // initialize cell counter outside loop $pos = 0; do { //// set caption if thumbnail is same as main image if ($row['description'] == $row['description']) { $desc = $row['description']; } ?> <td><p><a href="detail.php?ID=<?php echo $row['ID']; ?>"><img src="images/thumbnails/<?php echo $row['file_name']; ?>" /></a></p></td> <?php // increment counter after next row extracted $pos++; // if at end of row and records remain, insert tags if ($pos%COLS === 0 && is_array($row)) { echo '</tr></tr>'; } }while($row = mysql_fetch_assoc($result)); // end of loop // new loop to fill in final row while ($pos%COLS) { echo '<td> </td>'; $pos++; } ?> </tr> </table> This is the detail page: <?php define('COLS', 3); $conn = dbConnect('query'); $sql = 'SELECT * FROM images'; $result = mysql_query($sql) or die(mysql_error()); $row = mysql_fetch_assoc($result); $pictureid = $_GET['ID']; //$desc = $_GET['description']; $desc = $row['description']; $link = $row['url']; <img src="images/fullsize/<?php echo $pictureid; ?><?php echo '.jpg' ?>" /> <?php echo $desc; ?> <?php echo $link; ?>
-
How can I include a link in a simple email. How should it be formated? $email="[email protected]"; $message= "Thank you for your email. Click this link to go to my web site"; mail($email, 'Thank you', $message, 'From:[email protected]');
-
Ok here is all my new script. It works. I am trying to add one more feature. In addtion to telling them the totla cost, I want to say you selected "jewel case", or "DVD box" etc... <?php ini_set ('display_errors',1); error_reporting (E_ALL & ~E_NOTICE); //multidimensional arrays //accept the quantity: $quantity = $_POST['cdQuantity']; //check if it's valid: if ( !is_numeric($quantity) || intval($quantity) == 0 ) { die("You entered an invalid quantity: '$quantity' must be a whole number."); } //accept the label selection: $label = $_POST['cdLabel']; //also numeric, but with a specific range: if ( !is_numeric($label) || intval($label) == 0 || $label < 0 || $label > 4 ) { die("INVALID SELECTION"); } $package = $_POST['cdPackage']; $printing = $_POST['cdPrint']; //get the row designation based on the quantity: if ( $quantity > 0 && $quantity <= 10 ) { $key = "1-10"; $cdEach = 8; } elseif ( $quantity > 10 && $quantity <= 24 ) { $key = "11-24"; $cdEach = 7; } elseif ( $quantity > 24 && $quantity <= 49 ) { $key = "25-49"; $cdEach = 6; } elseif ( $quantity > 49 && $quantity <= 99 ) { $key = "50-99"; $cdEach = 5; } elseif ( $quantity > 99 && $quantity <= 249 ) { $key = "100-249"; $cdEach = 3; } elseif ( $quantity > 249 && $quantity <= 499 ) { $key = "250-499"; $cdEach = 2; } elseif ( $quantity > 499 && $quantity <= 999 ) { $key = "500-999"; $cdEach = 1.50; } elseif ( $quantity > 999 && $quantity <= 2499 ) { $key = "1,000-2,499"; $cdEach = 1.15; } elseif ( $quantity > 2499 && $quantity <= 4999 ) { $key = "2,500-4,999"; $cdEach = 0.75; } elseif ( $quantity > 4999 && $quantity <= 9999 ) { $key = "5,000-9,999"; $cdEach = 0.60; } else { die("$quantity is an invalid quantity, please phone for a quote."); } //now build the pricing array as a two dimensional array. That means we have an element in the outer //array for each row, and each row contains an array for the columns in that row. //as you can see, I'm using $key from above as the key for the row, and $label as the key for the columns $labelPricing = array( "1-10" => array( 1 => 0, 2 => 0.1, 3 => 0.5, 4 => 0.6, ), "11-24" => array( 1 => 0, 2 => 0.1, 3 => 0.5, 4 => 0.6, ), "25-49" => array( 1 => 0, 2 => 0.1, 3 => 0.5, 4 => 0.6, ), "50-99" => array( 1 => 0, 2 => 0.1, 3 => 0.5, 4 => 0.6, ), "100-249" => array( 1 => 0, 2 => 0.08, 3 => 0.4, 4 => 0.45, ), "250-499" => array( 1 => 0, 2 => 0.07, 3 => 0.4, 4 => 0.45, ), "500-999" => array( 1 => 0.0, 2 => 0.06, 3 => 0.35, 4 => 0.4, ), "1,000-2,499" => array( 1 => 0, 2 => 0.06, 3 => 0.35, 4 => 0.4, ), "2,500-4,999" => array( 1 => 0.20, 2 => 0.50, 3 => 0.30, 4 => 0.35, ), "5,000-9,999" => array( 1 => 0.02, 2 => 0.05, 3 => 0.2, 4 => 0.22, ), ); //end label price array ******** //begin packaging array ***************************************** $packagePricing = array( "1-10" => array( 1 => 0, 2 => 0, 3 => 0, 4 => 0, 5 => 0.25, 6 => 0.75, ), "11-24" => array( 1 => 0, 2 => 0, 3 => 0.25, 4 => 0.25, 5 => 0.4, 6 => 0.75, ), "25-49" => array( 1 => 0, 2 => 0, 3 => 0.25, 4 => 0.25, 5 => 0.4, 6 => 0.75, ), "50-99" => array( 1 => 0, 2 => 0, 3 => 0.25, 4 => 0.25, 5 => 0.4, 6 => 0.65, ), "100-249" => array( 1 => 0, 2 => 0, 3 => 0.25, 4 => 0.25, 5 => 0.4, 6 => 0.65, ), "250-499" => array( 1 => 0, 2 => 0, 3 => 0.25, 4 => 0.25, 5 => 0.4, 6 => 0.6, ), "500-999" => array( 1 => 0, 2 => 0, 3 => 0.23, 4 => 0.25, 5 => 0.4, 6 => 0.6, ), "1,000-2,499" => array( 1 => 0, 2 => 0.03, 3 => 0.23, 4 => 0.23, 5 => 0.38, 6 => 0.55, ), "2,500=4,999" => array( 1 => 0, 2 => 0.03, 3 => 0.22, 4 => 0.22, 5 => 0.36, 6 => 0.55, ), "5,000-9,999" => array( 1 => 0, 2 => 0.03, 3 => 0.22, 4 => 0.22, 5 => 0.35, 6 => 0.5, ), ); //end packaging array ******** //begin printing array ***************************************** $printingPricing = array( "1-10" => array( 1 => 0.5, 2 => 1, ), "11-24" => array( 1 => 0.45, 2 => 1, ), "25-49" => array( 1 => 0.45, 2 => 0.85, ), "50-99" => array( 1 => 0.4, 2 => 0.8, ), "100-249" => array( 1 => 0.4, 2 => 0.75, ), "250-499" => array( 1 => 0.4, 2 => 0.6, ), "500-999" => array( 1 => 0.35, 2 => 0.5, ), "1,000-2,499" => array( 1 => 0.3, 2 => 0.35, ), "2,500-4,999" => array( 1 => 0.15, 2 => 0.25, ), "5,000-9,999" => array( 1 => 0.1, 2 => 0.22, ), ); //end printing array ****** //collect what choice they made such as clamshell, silver etc... //display cost and totals. $unitprice= number_format($labelPricing[$key][$label] + $packagePricing[$key][$package] + $printingPricing[$key][$printing] + $cdEach,2); $total= number_format($quantity * $unitprice,2); //You have selected ***** for labels, ****** for printing and ****** for packaging. print "You have selected $quantity CDs at a unit price of \$$unitprice <br/> <br/> Your total is \$$total"; ?>
-
creating a new thread
-
I change it and now I got this. My calculation is off. See that if they choose case 1: $price = 8.00; $blkslv = 0; $blkwht = 0.1; $colsil = 0.5; $colorwhite = 0.6; break; It is adding up all five choices of color choices when in reality they will only be choosing one. So I need a way to calculate just one choice. Would any array do this? <?php // address error handling. ini_set ('display_errors',1); error_reporting (E_ALL & ~E_NOTICE); $cdQuantity = $_POST['cdQuantity']; $cdLabel = $_POST['cdLabel']; $cdPackage = $_POST['cdPackage']; $cdPrint = $_POST['cdPrint']; //calculate the individual price. switch( $cdLabel ) { case 1: $price = 8.00; $blkslv = 0; $blkwht = 0.1; $colsil = 0.5; $colorwhite = 0.6; break; case 2: $price = 7.00; $blkslv = 0; $blkwht = 0.1; $colsil = 0.5; $colorwhite = 0.6; break; case 3: $price = 6.00; $blkslv = 0; $blkwht = 0.1; $colsil = 0.5; $colorwhite = 0.6; break; case 4: $price = 5.00; $blkslv = 0; $blkwht = 0.1; $colsil = 0.5; $colorwhite = 0.6; break; case 5: $price = 3.00; $blkslv = 0; $blkwht = 0.08; $colsil = 0.4; $colorwhite = 0.45; break; case 6: $price = 2.00; $blkslv = 0; $blkwht = 0.07; $colsil = 0.4; $colorwhite = 0.45; break; case 7: $price = 1.50; $blkslv = 0; $blkwht = 0.06; $colsil = 0.35; $colorwhite = 0.4; break; case 8: $price = 1.15; $blkslv = 0; $blkwht = 0.06; $colsil = 0.35; $colorwhite = 0.4; break; case 9: $price = .75; $blkslv = 0.02; $blkwht = 0.05; $colsil = 0.3; $colorwhite = 0.35; break; case 10: $price = .60; $blkslv = 0.02; $blkwht = 0.05; $colsil = 0.2; $colorwhite = 0.22; break; } $subprice = $price + $blkslv + $blkwht + $colsil + $colorwhite; //calculate total price. $total = $subprice * $cdQuantity; //print out results. print "You have selected to order:</br> $subprice CDs at $cdQuantity. Your estimated cost is $total."; ?>
-
I revised the code but still can't get it to work. Here is the part of the form. I assigned 1,2,3 or 4 to keep it simple. <select name="cdLabel" id="cdLabel"> <option value="0">None</option> <option value="1">Black on silver</option> <option value="2">Black on white</option> <option value="3">Color on Silver</option> <option value="4">Color on white</option> </select></td> Here is the page that calculates. <?php // address error handling. ini_set ('display_errors',1); error_reporting (E_ALL & ~E_NOTICE); $cdQuantity = $_POST['cdQuantity']; $cdLabel = $_POST['cdLabel']; $cdPackage = $_POST['cdPackage']; $cdPrint = $_POST['cdPrint']; //calculate the individual price. if ($cdLabel = 1 ) { $price = 8.00; $blkslv = 0; $blkwht = 0.1; $colsil = 0.5; $colorwhite = 0.6; if ($cdLabel = 2 ) { $price = 7.00; $blkslv = 0; $blkwht = 0.1; $colsil = 0.5; $colorwhite = 0.6; if ($cdLabel = 3 ) { $price = 6.00; $blkslv = 0; $blkwht = 0.1; $colsil = 0.5; $colorwhite = 0.6; if ($cdLabel = 4 ) { $price = 5.00; $blkslv = 0; $blkwht = 0.1; $colsil = 0.5; $colorwhite = 0.6; if ($cdLabel = 5 ) { $price = 3.00; $blkslv = 0; $blkwht = 0.08; $colsil = 0.4; $colorwhite = 0.45; if ($cdLabel = 6 ) { $price = 2.00; $blkslv = 0; $blkwht = 0.07; $colsil = 0.4; $colorwhite = 0.45; if ($cdLabel = 7 ) { $price = 1.50; $blkslv = 0; $blkwht = 0.06; $colsil = 0.35; $colorwhite = 0.4; if ($cdLabel = 8 ) { $price = 1.15; $blkslv = 0; $blkwht = 0.06; $colsil = 0.35; $colorwhite = 0.4; if ($cdLabel = 9 ) { $price = .75; $blkslv = 0.02; $blkwht = 0.05; $colsil = 0.3; $colorwhite = 0.35; if ($cdLabel = 10 ) { $price = .60; $blkslv = 0.02; $blkwht = 0.05; $colsil = 0.2; $colorwhite = 0.22; } } } } } } } } } } $subprice = $price + $blkslv + $blkwht + $colsil + $colorwhite; //calculate total price. $total = $subprice * $cdQuantity; //print out results. print "You have selected to order:</br> $subprice CDs at $cdQuantity. Your estimated cost is $total."; ?>
-
It calculates and prints the price. But I have to find a way to determine individual price becuase if they choose 1-10 CDs the price each for Color on Silver is 0.5 but not if they choose another quantity. So would I need a function to determine this? <?php // address error handling. ini_set ('display_errors',1); error_reporting (E_ALL & ~E_NOTICE); $cdQuantity = $_POST['cdQuantity']; $cdLabel = $_POST['cdLabel']; $cdPackage = $_POST['cdPackage']; $cdPrint = $_POST['cdPrint']; //Calculate the individual price. $price = $cdLabel + $cdPackage + $cdPrint; //Calculate total price. $total = $cdQuantity * $price; //Print out results. print "You have selected to order:</br> $cdQuantity CDs at $$price. Your estimated cost is $$total."; ?>
-
Can't figure out how to post a table here to show the price structure. <table width="430" border="1" cellspacing="0" cellpadding="0"> <tr> <td> </td> <td>CD</td> <td>Label Choice</td> <td> </td> <td> </td> <td> </td> <td> </td> </tr> <tr> <td width="89"> </td> <td width="44"> </td> <td width="67">None</td> <td width="50">blk on <br /> silver </td> <td width="58">blk on <br /> white </td> <td width="50">col on <br /> silv </td> <td width="56">color on white </td> </tr> <tr> <td>1-10 copies </td> <td>$8.00</td> <td>0</td> <td>0</td> <td>0.1</td> <td>0.5</td> <td>0.6</td> </tr> <tr> <td>11-24</td> <td>7.00</td> <td>0</td> <td>0</td> <td>0.1</td> <td>0.5</td> <td>0.6</td> </tr> <tr> <td>25-49</td> <td>6.00</td> <td>0</td> <td>0</td> <td>0.1</td> <td>0.5</td> <td>0.6</td> </tr> <tr> <td>50-99</td> <td>5.00</td> <td>0</td> <td>0</td> <td>0.1</td> <td>0.5</td> <td>0.6</td> </tr> <tr> <td>100-249</td> <td>3.00</td> <td>0</td> <td>0</td> <td>0.08</td> <td>0.4</td> <td>0.45</td> </tr> <tr> <td>250-499</td> <td>2.00</td> <td>0</td> <td>0</td> <td>0.07</td> <td>0.4</td> <td>0.45</td> </tr> <tr> <td>500-999</td> <td>1.50</td> <td>0</td> <td>0</td> <td>0.06</td> <td>0.35</td> <td>0.4</td> </tr> <tr> <td>1,000-2,499</td> <td>1.15</td> <td>0</td> <td>0</td> <td>0.06</td> <td>0.35</td> <td>0.4</td> </tr> <tr> <td>2,500-4,999</td> <td>.75</td> <td>0</td> <td>0.02</td> <td>0.05</td> <td>0.3</td> <td>0.35</td> </tr> <tr> <td>5,000-9,999</td> <td>.60</td> <td>0</td> <td>0.02</td> <td>0.05</td> <td>0.2</td> <td>0.22</td> </tr> </table>
-
I found this info http://ca.php.net/language.variables so now I have to find a way to assign a variable to each one like $cdQuantity, $cdLabel, $cdPackaging, $cdPrinting ???
-
Can anyone help? I have to get this done in a couple days. Thanks.