Jump to content

Array on form


EchoFool

Recommended Posts

Hey - just quick question on where i am going wrong with an array... i currently have this in a form:

 

<input type="input"  maxlength="4" name="Values[]" value="" style="height: 15px; width: 50px;">

 

4 of them in total.

 

Then the value is an inputted number from the user.... now on the process i have:

 

<?php
//SQLskip is injection prevention function
$Var = Array(SQLskip($_POST['Values']));
Echo $Var[0];
?>

 

But i am returned with Array when i echo. What have i got wrong?

Link to comment
https://forums.phpfreaks.com/topic/183660-array-on-form/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.