using strlen the end of a string
<p>i need to strip away the $_GET['id'] value from the end of $k. example <code>name=address158</code>, 158 is the id.. so is there away to strlens 158 from 'address' by using $_GET['id'] as the reference?</p>

<pre><code>foreach($_POST as $k=&gt;$v){
        @$select.=" `".mysql_real_escape_string($k)."` = '".mysql_real_escape_string($v)."',";
}
$select = rtrim($select,',');
$select = "UPDATE load_test SET".$select." WHERE Id=".$_GET['id'];
mysql_query($select);
</code></pre>
