title: php - paypal doesn't accept 'amount' I pass it
body: <p>First time on here, am having an issue with a website I am writing in php.  I am trying to get Paypal to accept a single payment passing it the values below.  I used their Create Button tool, and added a few extra fields.  The $idTeacher field passes through to paypal perfectly, but the $MaxHourlyRate does not (they both exist however, as I can echo them).  Any advice would be greatfully received:</p>
  
  <pre><code>echo "&lt;table border='1' cellpadding='0' cellspacing='1'&gt;";
  echo "&lt;tr&gt;&lt;td&gt;Passed #&lt;/td&gt;&lt;td&gt;#Contract&lt;/td&gt;&lt;td&gt;Language&lt;/td&gt;&lt;td&gt;Language Level&lt;/td&gt;&lt;td&gt;PLZ&lt;/td&gt;&lt;td&gt;Frequency&lt;/td&gt;&lt;td&gt;Max Hourly Rate&lt;/td&gt;&lt;td&gt;Reserve Contract&lt;/td&gt;&lt;/tr&gt;";
  
  while($row = mysql_fetch_array($pendingcontractsql)){
  $idContract = $row['idContract'];
  $Language = $row['Language'];
  $LanguageLevel = $row['LanguageLevel'];
  $PLZ = $row['PLZ'];
  $Frequency = $row['Frequency'];
  $MaxHourlyRate = $row['MaxHourlyRate'];
  
  
  echo "&lt;tr&gt;";
  echo "&lt;td&gt;$MaxHourlyRate&lt;/td&gt;&lt;td&gt;".$row['idContract']."&lt;td&gt;".$row['Language']."&lt;/td&gt;&lt;td&gt;".$row['LanguageLevel']."&lt;/td&gt;&lt;td&gt;".$row['PLZ']."&lt;/td&gt;&lt;td&gt;".$row['Frequency']."&lt;/td&gt;&lt;td align='right'&gt;".$row['MaxHourlyRate']."CHF&lt;/td&gt;&lt;td align='center'&gt;
  &lt;form action='https://www.paypal.com/cgi-bin/webscr' method='post'&gt;
  &lt;input type='hidden' name='cmd' value='_s-xclick'&gt;
  &lt;input type='hidden' name='business' value='brettstirling@gmail.com'&gt;
  &lt;input type='hidden' name='quantity' value='1'&gt;
  &lt;input type='hidden' name='no_note' value='1'&gt;
  &lt;input type='hidden' name='no_shipping' value='1'&gt;
  &lt;input type='hidden' name='currency_code' value='CHF'&gt;
  &lt;input type='hidden' name='item_name' value='Payment for Contract #".$idContract."'&gt;
  &lt;input type='hidden' name='item_number' value='$idContract'&gt;
  &lt;input type='hidden' name='amount' value='$MaxHourlyRate'&gt;
  &lt;input type='hidden' name='discount_rate' value='50'&gt;
  &lt;input type='hidden' name='notify_url' value='http://www.findateacher.ch/paypalipn.php'&gt;
  &lt;input type='hidden' name='return' value='http://www.findateacher.ch/availablecontract.php'&gt;
  &lt;input type='hidden' name='rm' value='2'&gt;
  &lt;input type='hidden' name='cbt' value='Return to Find A Teacher'&gt;
  &lt;input type='hidden' name='hosted_button_id' value='LRABWTJVH7N36'&gt;
  &lt;input type='submit' border='0' name='submit' value='Reserve Contract'&gt;
  &lt;/form&gt;
  &lt;/td&gt;";
  echo "&lt;/tr&gt;";
  }
  
  echo "&lt;/table&gt;";
  </code></pre>
  
  <p>Many thanks in advance,
  Brett</p>