Greeting,
I have just change my server to apache 2.0.44 and php 4.3.1 (from mandrake
9.1) and i have a problem now
When i pass a numeric parameter to a php script from a form, the parameter is
equal zero !
Here is my form:
<p > Modification d'un mat�riel: </p>
<table>
<tr>
<td align="right">Num�ro: </td>
<td><form action="edit.php" method="POST" target="bas" name="forme">
<input type="text" name="id" size="3"></td>
<td><input value="Modifier" type="submit"></td>
</form>
</tr>
</table>
here is my script php:
<?
$taille=strlen($id);
print("ident: $id <br>");
$id=(int) $id;
?>
where does the problem come from ?
Thanks
Franck
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php