How do I concatenate a PHP variable to another variable?
<p>My syntax must be wrong here. Can anyone help?</p>

<pre><code>for($count = 1; $count &lt;= 22; ++$count)
{
  $batsman . $count . battingid = mysql_real_escape_string($_POST['batsman . $count . battingid']);
  $batsman . $count . name = mysql_real_escape_string($_POST['batsman . $count . name']);
  $batsman . $count . faced = mysql_real_escape_string($_POST['batsman . $count . faced']);
  $batsman . $count . howout = mysql_real_escape_string($_POST['batsman . $count . howout']);
  $batsman . $count . bowler = mysql_real_escape_string($_POST['batsman . $count . bowler']);
  $batsman . $count . runs = mysql_real_escape_string($_POST['batsman . $count . runs']);
}
</code></pre>
