2,611 Recommended Topics
Remove Filter | |
<?php if(!empty($_POST[`submit`])){ if(empty($_POST[`user_name`])|| if(empty($_POST[`phone_number`])|| if(empty($_POST[`email`])|| if(empty($_POST[`password`])|| if(empty($_POST[`confirm_password`])) { exit("please fill in all the fields. <a href = './register.php'>return</a>"); } if(empty($_POST[`password`]!==$_POST[`confirm_password`]) { exit("passwords must match. <a href = './register.php'>return</a>"); } $pattern="/^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$/"; if(!pregmatch($pattern,$POST[`email`])) { exit("please enter a valid email address. <a href = './register.php'>return</a>"); } $pwd = $_POST['password ']; if( strlen($password ) … Programming php | |
Greetings, my objective is to create a `Dictionary<string, string>` (or `Dictionary<string, List<string>>`), adding elements to it from a `List<string>`. The first string of the list should be the key of the dictionary, the other strings the value. For example: `List<string> list = new List<string>() { "key1", "value_x1", "value_x2", ... };` | |
can you please help me to answer that problem? This is a question, I have an employee salary table, How do I find the second highest from it.? A big thanks to those who will help. I appreciate it a lot. | |
Hello dears, can anyone help me with how to code this: Write MARIE code to: 1. Input a number and store it in X . 2. Y will be equal to “ | |
I have a problem where my text boxes are not being populated with existing data. I have two submit buttons, but the problem appears to happen when I call; return View("Index", siteInfo);. Here is my code; // GET: NewEntry public ActionResult Index() { return View(); } /// <summary> /// Generate … | |
I am trying to work out how to get data from two different tables in the same database and retrieve the filenames uploaded into the database for a specific ticket id and username. I have been having a go at the php code myself and have managed to INNER JOIN … | |
Hi helpful people. Its been a while since Ive been here, ever since I employed someone who knew about IT to look after it for me. I'm back on my own again, and looking for a bit of guidance please? I run a small sales company and receive daily sales … | |
Many aspiring entrepreneurs want to start their business online but quite a few of this lot actually succeeds in turning their awesome application idea into reality. The question arises, what to do with a crazy app idea? Generally, businesses having their own mobile apps, ensure a strong connection with their … | |
I have written a code to generate bar codes and saved them to a pdf file . The code executes successfylly but the PDF file does not open saying giving an error whome picture I am uploading. Please see my code and Picture with the error. ![barcodeError.PNG](/attachments/large/4/466b7c7d36a50fd6f88d0a7f157907c8.PNG) public void createPDF(String … | |
Hi i own an online game and i wish to know weather there is a way to disable my members from changing the URL in the url bar and only allow them to click links. If they change the URL in the url bar i would like it to header/re-direct … | |
hello everyone, I would like to ask for some help with my assignement. My task is to make a program which is converting arabic numbers to roman numerals, but I can't use loops. | |
I'm testing a new site on XAMPP. I have run into this notice: **Notice: A non well formed numeric value encountered in D:\xampp\htdocs\marksman\includes\register.inc.php on line 17** Code below class RegisterUser extends Db{ private $fullname; private $emailaddress; private $username; private $password; private $passwordRepeat; private $emailCode; public function registerUsers(){ if(isset($_POST['register-submit'])){ $this->fullname = … | |
Hi java coder here im converting a program into delphi for a project basicaly ive forgotten my whole delphi maths soo can anyone convert this into delphi [CODE](l1 & 0x2 ^ 0xffffffff) == -3;[/CODE] | |
Hello All. I have been working on getting code first migrations working for my asp webpage working for many weeks with lots of frustration. The main reason why i want to use migrations is to add a new column company or something else to my asp websites main login using … | |
Hello friends hi, I want to use a vb application that registered in another computer as. Exe file as dataentry billing system. When I copy all database and. Exe file to another pc it doesn't work. Results as,,,'PRODUCT IS NOT REGISTERED PLEASE CONTACT SOFTWARE PROVIDER. HOW TO I solve this … Programming visual-basic | |
I have a program that i need to convert from java to c++... i just need help doing it... heres the java: [code] /* Name: Joseph Coleman Class:CSCI 1302 Assignment: Employee + ProductionWorker Academic Honesty: The integrity of students and their written and oral work is a critical component of … | |
Create a Java program that will compute for the average (Final Grade) of three (3) input numbers (Prelim, Midterm, Pre-final). The input grade should ONLY accept values ranges from 70 to 100, and will display a message if the input grade/s is invalid. The program should also be capable of … Programming java | |
var value = 10/2; I want to take length of the variable value. How to take it? | |
Hey guys, I would like some help regarding saving or reading to or from a bin file. I've read several online tutorials about file input/output, however it doesn't given specific information when applying it to both an array of structures. My knowledge of pointers is weak, as I constantly need … | |
how can i convert xml based script; which is created by SqlYog software. I want to convert this xml based script to batch file (full coding from xml to batch file script; not only batch(.bat) format.) So i can run the synchronization / backup directly clicking with batch file. give … | |
Hey? Can someone help me to this program? I need to Search an specific information of a student. #include<iostream> #include<fstream> #include<istream> #include<stdlib.h> #include<string> using namespace std; void login(),registr(),form(),Add(),ShowList(),Search(),Update(); struct Student { int id; char name[25]; char name1[25]; char address[25]; char city[25]; int age; char gender[5]; string email; string contact; char … Programming c++ | |
How important is Unit Testing taken by employers, is it something that every developer should have as one of their skills, do some jobs require it more than others or is a simple test like handing out a piece of software to be used by friends family etc sufficient enough. | |
Hi, i want to learn how to parse user input and check its validity in c#, for example i want the user to input a specific format : "x,y to x,y" where x is a number and y is a number (entered by the user) like : "1,4 to 3,8" … Programming c# | |
How to convert a date that is in the format yyyy-mm-dd. For example: 2014-12-12 to Dec 12 2014? | |
[Click Here](https://vimeo.com/user108943040/review/393412654/65b9768044) I have attached a vimeo to the issue, the main issue is that google maps seems to be sluggish and not well tracking and slow. Has anyone got any sugestions? Thanks | |
alright so i have got a c++ code(AIRLINE RESERVATION SYSTEM) which i can run as console application, but i want to convert it into GUI, and i dont know anything about GUI, where and how should i begin, i have 1 and half month to present it. | |
Does anybody know a good way to break a screen up into multiple sections for filling out lengthy multi section data? I would like something that I can break data inputs up into sections and move onto the next section when I finish filliing out a section prior, sequentially. What … | |
Im just learning javascript and want to make a code for a prank on my friend. I want it that when i plug in a certain usb it will pop up a fake virus alert after a couple of seconds, and when you exit off it will pull back up … Programming java javascript | |
Hello I have a abstract class: import javax.swing.JOptionPane; public abstract class Question { static int nQuestions = 0; static int nCorrect = 0; String question; String correctAnswer; abstract String ask(); void check() { nQuestions++; String answer = ask(); if (answer.equals(correctAnswer)) { JOptionPane.showMessageDialog(null,"Correct!"); nCorrect++; } else { JOptionPane.showMessageDialog(null,"Incorrect. The correctanswer is … | |
I have used GroupBy and have got the value as below into individual array but the array consist of 5 sets of same Id so how do group them futhure to get something like expected result below , any idea would be helpful [{ "id": 116, "amgId": 168755, "amgName": "FIT", … |
The End.