View Single Post
Old 07-10-2012, 08:34 AM   PM User | #2
jmj001
Regular Coder

 
Join Date: Jan 2012
Posts: 271
Thanks: 2
Thanked 65 Times in 65 Posts
jmj001 is an unknown quantity at this point
Quote:
Originally Posted by mathruD View Post
...

PHP Code:
do{ 
  <?php 
  $varHolder 
$row_photo_rs['photo_id'];
  
$var4x6 $_POST["$varHolder-4x6"];
  
$var5x7 $_POST["$varHolder-5x7"];
  
$var8x10 $_POST["$varHolder-8x10"];
  
$var8x12 $_POST["$varHolder-8x12"];
  
$var11x14 $_POST["$varHolder-11x14"];
  
$var12x18 $_POST["$varHolder-12x18"];
  
$var16x20 $_POST["$varHolder-16x20"];
  
$var20x30 $_POST["$varHolder-20x30"];
  
$varWallet $_POST["$varHolder-wallet"];
  
?>
} while .......
...
the post vars you 'think' are there aren't really... you just can't see it because they aren't doing anything yet...

for example;

PHP Code:
$varHolder $row_photo_rs['photo_id'];
  
$var4x6 $_POST["$varHolder-4x6"]; 
there is no var $varHolder-4x6 that I can see, unless it's somewhere else in your code but my assumption from what you have said is that you expect '-4x6' is being appended to $varHolder but this is not what's happening

to append it you will need to concatenate the values like so...

PHP Code:
$varHolder $row_photo_rs['photo_id'];
  
$var4x6 $_POST[$varHolder."-4x6"]; 
__________________
hey... it's a sig..
jmj001 is offline   Reply With Quote