create and add to a list via POST and not using a database.

Please help,
I wish to build and display a list of phone numbers, one at a time, input from a form.
I cannot use mySql or other database as the phone numbers will be encrypted and this encryption can interfere with the security features of mySql. (ie my contain ’ and \ etc.).
See below some of the efforts I have tried.
I would hope to eventually get the list as a Html table but that is not the request for now.
Now it’s just the list… how to create it and add to it from the form input…one at a time.
Thank you for the opportunity to ask the question.
Brian.

<?php # Script 16.5 - bingo6.php if (isset($_POST['submitted'])) { $_POST[$x]=($_POST[$x]+1); $x=0; $phoneNo= $_POST['phoneNo']; $sms_list = array(); $sms_list[$_POST[$x]]=$phoneNo; echo $_POST['phoneNo']; ?>

Telephone No:

Send:

Extra, just to add… this will become a webpage and so the solution cannot store data in a text file while building.

Thank you
Brian

Sponsor our Newsletter | Privacy Policy | Terms of Service