Category : forms

** Here are the Codes that i use** ** I use this for recording of the scores, there 5 zeros cause there are more 3 students $Students_C1= array(0,0,0,0,0); $Students_C2= array(0,0,0,0,0); ** These are for inputting numbers <td> <form action="<?php echo $_SERVER[‘PHP_SELF’]; ?>"> <input type="text" id="inputs" name="SampleUP" value="<?php $Students_C1[0]; ?>" placeholder="<?php echo $Students_C1[0] ?>"> <input type="hidden" ..

Read more

I’m trying to create a script that will run a cURL command when a form is submitted and have yet to successfully receive an email. The Courier API will call an email template I’ve created through courier.com. Any ideas? <?php if(isset($_POST[‘submit’])){ $ch = curl_init(); $curlConfig = array( CURLOPT_URL => "https://api.courier.com/send", CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => ..

Read more

I am stuck and hoping someone can help. I am trying to get the user’s input (their $name) to show in the $alert” when user submit form. Example: User types in to the form the following: ** Name: Joe , Tel: XXX.XXX.XXXX , Email: [email protected] *** and pushes submit. — page refreshes and says. "Message ..

Read more

I’m posting this question as a last resort. not sure what else to do. This is my first time. I’m experimenting with PHP trying to make signup forms and such. I’m stuck on the registration form. <?php // registration if (isset($_POST[‘register’])){ // getting the data require_once ‘database.php’; $username = $_POST[‘username’]; $password = $_POST[‘password’]; $email = ..

Read more