About Me (TS Pradeep Kumar)

Working at VIT University and having great interest towards embedded wireless systems and e-learning. This site caters to most of the Indian Engineering/technology students to know about embedded systems, network simulator, e learning tools/techniques, etc. If you are a student or a learner, you can always request a title or post..

Subscribe by Email

Enter your email address:

Delivered by FeedBurner

Setting root password in MySQL and Phpmyadmin

If you are using PhpMyAdmin as part of WAMP(Windows, Apache, MySQL and PHP), then you need to take care of the root password and hence follow the steps. If you change, only the MySQL password or PHPMyAdmin Password, then the PHPMyAdmin screen does not show the databases, files, etc (instead it will show [...]

Continue reading Setting root password in MySQL and Phpmyadmin

  • Share/Bookmark

Connect to MySQL Database using PHP

The following script tries to connect the database and if it is failed it will display relevant message. The server is localhost and username/password combination is root/abc123. it is necessary to create a database ‘dummy’ before executing the script. Click here to set password for mysql and phpmyadmin
<?php
$con=mysql_connect(”localhost”,”root”,”abc123″) or die(”Couldnt Connect to database”);
$a=mysql_select_db(”dummy”,$con);
if($a)
echo “Database Selection [...]

Continue reading Connect to MySQL Database using PHP

  • Share/Bookmark

User Validation/Authentication in PHP

If a user visits a website, where he is asked for validating his username and password and will be validated with the MySQL Database. the following scripts demonstrate this.Step 1: create a database called dummy by executing “create database dummy” in mysql command window or shell windowStep 2: Create a table called usertable with two [...]

Continue reading User Validation/Authentication in PHP

  • Share/Bookmark

User Creation using PHP/MySQL

Username/password Creation in PHP and MySQL. a Simple form is designed to get the username and two passwords the objectives are
1. Both the username and password should contain atleast 6 characters
2. both the passwords should be same
3. upon submitting to the database, the existence of username is checked with the database, if the username already [...]

Continue reading User Creation using PHP/MySQL

  • Share/Bookmark

Subscribe/Unsubscribe to a Mailing List

The following PHP scripts shows how to maintain a mailing list. the users are asked to subscribe/unsubscribe to a mailing list and the entire mails are stored in the database.
The user has to type his email id and his/her name and select the radio button subscribe/unsubscribe. Since one email ids are unique, the email id [...]

Continue reading Subscribe/Unsubscribe to a Mailing List

  • Share/Bookmark

Setting Root Password in MySQL and PhpMyAdmin

If you are using PhpMyAdmin as part of WAMP(Windows, Apache, MySQL and PHP), then you need to take care of the root password and hence follow the steps.
If you change, only the MySQL password or PHPMyAdmin Password, then the PHPMyAdmin screen does not show the databases, files, etc (instead it will show access denied).

So Both [...]

Continue reading Setting Root Password in MySQL and PhpMyAdmin

  • Share/Bookmark