Our tutoring provides effective solution related to all PHP programming assignment help, PHP website, MSQL database, HTML assignment help, CSS assignment help etc.
We serve effective platform of online PHP assignment students. We as abc assignment help are the most popular site to help in “PHP Assignment Help”. In world of online help for education, we are most trusted and well-known among students. We provide most reliable assignment help online service to all the students from high school level to researchers, who needed the best to do their assignment.
Abc assignment help helps you with the high standard professional approached assignment service. We keep high level of assignment standards as per the level of students’ academic level. We do assignment, which is written exclusively for you and do not contain any plagiarism.
PHP developed in 1995 by Rasmus Lerdorf. It is “hypertext preprocessor". It is server side scripting language. It is freely available, download and easy to use. It is open source. Commonly used on web servers. Extension of ".php", ".php3", or ".phtml". Command line interface and standalone graphical applications.
Basic code “Hello World” in PHP: A PHP code can be placed anywhere in the document. Sample output of the PHP Script:
MySQL Programming Assignment Help:
Mysql programming is a database system that runs on a server. This database is best to use because this are ideal for small and large applications. That are easily maintain and easy to use. These are easily available and downloading is free.
Finding the commands categories online service to MySQL Assignment Help:
DDL: It is known as Data Definition Language.
- Commands are CREATE, ALTER, DROP, TRUNCATE, RENAME
DML: It is known as Data Manipulation Language.
- Commands are SELECT, INSERT, UPDATE, DELETE, MERGE, LOCK
DCL: It is known as Data Control Language.
- Commands are GRANT, REVOKE
TCL: It is known as Transaction Control Language.
- Commands are COMMIT, ROLLBACK, SAVEPOINT, TRANSACTION
This is login page for the Admin. (file name i.e. “login.php”)
if(isset($_POST['login'])) { $errors = array(); $username = mysql_real_escape_string($_POST['username']); $password = mysql_real_escape_string($_POST['password']); if(trim($_POST['username'])=='') $errors[]='Please Enter username'; if(trim($_POST['password'])=='') $errors[]='Please Enter Password'; //match username and password form database $link = "SELECT * FROM user WHERE username='$username' AND password='$password'"; $res = mysql_query($link) or die(mysql_error()); $total = mysql_num_rows($res); $row = mysql_fetch_assoc($res); if($total=='0') $errors[]='UserName And Password not correct.'; if(sizeof($errors)==0) { $_SESSION['username'] = $username; echo '<SCRIPT LANGUAGE="javascript">'; echo 'window.location="add-records.php";'; echo '</SCRIPT>'; } } |
Error Page: When enter wrong username and password. Then you got Error page.
<?php if(isset($errors)) { if(sizeof($errors) != 0) { foreach($errors as $error) { echo '<font style="color:#FF0000"><blink>'.$error.'</blink></font><br/>'; } } } ?> |
For Match username and password From database:
$link = "SELECT * FROM user WHERE username='$username' AND password='$password'"; $res = mysql_query($link) or die(mysql_error()); $total = mysql_num_rows($res); $row = mysql_fetch_assoc($res); if($total=='0') $errors[]='UserName And Password not correct.'; if(sizeof($errors)==0) { $_SESSION['username'] = $username; echo '<SCRIPT LANGUAGE="javascript">'; echo 'window.location="add-records.php";'; echo '</SCRIPT>'; } |