2,611 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Passy

<?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
Member Avatar for pritaeas
0
238
Member Avatar for AlexHy

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", ... };`

Member Avatar for tinstaafl
0
223
Member Avatar for exotic_yuh18

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.

Member Avatar for Purvi_1
0
221
Member Avatar for mobeid1

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 “

Member Avatar for rproffitt
0
194
Member Avatar for MagnusTheRed90

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 …

Member Avatar for MagnusTheRed90
0
179
Member Avatar for ianhaney

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 …

Member Avatar for ianhaney
0
171
Member Avatar for St3v3boy

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 …

0
163
Member Avatar for Taufik R

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 …

-1
567
Member Avatar for Saboor880

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 …

Member Avatar for orichisonic
1
1K
Member Avatar for loopylouis

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 …

Member Avatar for Shoaib_10
0
3K
Member Avatar for Gabriela_2

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.

Member Avatar for Ju57man
0
2K
Member Avatar for nanakumi75

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 = …

Member Avatar for nanakumi75
0
905
Member Avatar for aaa801

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]

Member Avatar for dausmus
0
271
Member Avatar for johnostler

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 …

0
112
Member Avatar for Hithayadhulla

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
Member Avatar for mahboob_2
-1
569
Member Avatar for xxunknown321

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 …

Member Avatar for jimmichaels29
0
1K
Member Avatar for ビナ

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
Member Avatar for Reverend Jim
1
653
Member Avatar for AntonyRayan

var value = 10/2; I want to take length of the variable value. How to take it?

Member Avatar for Purvi_1
0
679
Member Avatar for john10

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 …

Member Avatar for jimmichaels29
0
3K
Member Avatar for hassanumair1

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 …

Member Avatar for jimmichaels29
0
2K
Member Avatar for Vange

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++
Member Avatar for tinstaafl
0
1K
Member Avatar for benjaminFowl87

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.

Member Avatar for amit005
0
817
Member Avatar for Adm666

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#
Member Avatar for tinstaafl
0
474
Member Avatar for jean_5

How to convert a date that is in the format yyyy-mm-dd. For example: 2014-12-12 to Dec 12 2014?

Member Avatar for Purvi_1
0
407
Member Avatar for ashleyplott

[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

Member Avatar for ashleyplott
0
315
Member Avatar for AbdullAh_39

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.

Member Avatar for tinstaafl
0
297
Member Avatar for MagnusTheRed90

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 …

Member Avatar for rproffitt
0
275
Member Avatar for Jonathan_41

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
Member Avatar for Jonathan_41
0
264
Member Avatar for seb33

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 …

Member Avatar for JamesCherrill
0
254
Member Avatar for kamilacbe

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", …

Member Avatar for pritaeas
0
252

The End.