<?php
include"connect.php";
$un=$_POST['txtuname'];
$up=$_POST['txtpass'];
//echo "$un</br>$up</br>";
$res=pg_query($con,"select count(*) from Users where uname='$un' and upass='$up'");
$r=pg_fetch_array($res);
if($r[0]==1)
{
session_start();
$_SESSION['unm']=$un;
$_SESSION['ups']=$up;
echo "<script type='text/javascript'>";
echo "if(confirm('Login Successfully'))document.location='home.html';else document.location='home.html';";
echo "</script>";
}
else
{
echo "<script type='text/javascript'>";
echo "if(confirm('Username or password doesnot match'))document.location='home.html';else document.location='home.html';";
echo "</script>";
}
?>
I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.php training in chennai
ReplyDeleteThank you Ramdas Biradar. This is worked well.
DeletePHP Training in Chennai | PHP Training institute in Chennai
Thanks for your code. I hope this code is helpful to create login validation.
DeleteSoftware Testing Training in Chennai
Software Testing Course in Chennai
IEEE Final Year projects Project Centers in Chennai are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes. IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble.Final Year Projects for CSE
DeleteSpring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Spring Framework Corporate TRaining .
Specifically, Spring Framework provides various tasks are geared around preparing data for further analysis and visualization. Spring Training in Chennai
The Angular Training covers a wide range of topics including Angular Directives, Angular Services, and Angular programmability.Angular Training
thank u blogger
ReplyDeleteNeeded to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here. java training in chennai
ReplyDeleteAppreciation for really being thoughtful and also for deciding on certain marvelous guides most people really want to be aware of.
ReplyDeleteAWS Training in Chennai
Those guidelines additionally worked to become a good way to recognize that other people online have the identical fervor like mine to grasp great deal more around this condition.
ReplyDeleterpa training in chennai
keep posting more blogs, it really helps me in different ways.
ReplyDeleteSelenium Training in Chennai
software testing selenium training
ios developer course in chennai
French Classes in Chennai
Salesforce Admin Training in Chennai
Salesforce Administrator 201 Training in Chennai
Very wonderful article! I read your post regularly. It is very interesting and very helpful for improve myself. Please posting.....
ReplyDeletePHP Training Center in Bangalore
PHP Course in Bangalore
PHP Training in Nolambur
PHP Training in Vadapalani
PHP Training in Kandanchavadi
Your blog information are really creative and useful for the readers.I ever read such kind of nice article yet.
ReplyDeletehope you will add more innovative ideas on your post.
cloud training in chennai
Cloud Computing Courses in Adyar
Cloud Computing Courses in Tambaram
Hadoop Training in Chennai
Selenium Training in Chennai
JAVA Training in Chennai
Php Scripting Language Examples
ReplyDeleteyour blog is good thanks
ReplyDeletesoftware testing training institute in chennai
ReplyDeleteThis is a really an awesome article which will be informative to everyone.
Spoken English Classes in Chennai
Best Spoken English Class in Chennai
IELTS Coaching in Chennai
Japanese Classes in Chennai
spanish language in chennai
German Language Course in Chennai
Spoken English Classes in Anna Nagar
Spoken English Classes in Tnagar
Really an awesome post for every one.
ReplyDeleteGerman Classes in Chennai
German Language Classes in Chennai
IELTS Coaching centre in Chennai
TOEFL Coaching in Chennai
French Classes in Chennai
pearson vue
IELTS Coaching in anna nagar
ielts coaching in chennai anna nagar
Thanks for the informative article. This is one of the best resources I have found in quite some time. Nicely written and great info. I really cannot thank you enough for sharing.
ReplyDeleteSelenium online training
Selenium certification training
Selenium online course
Selenium training course
ReplyDeletephp training in chennai
php online training in chennai
php training center in chennai
php class in chennai
php certification course
php training with placement in chennai
appium online training
ReplyDeleteappium training in chennai
appium training institutes in chennai
appium training in chennai
best appium training institute in chennai
best training institutes for appium in chennai
This blog is really nice and informative blog, The explanation given is really comprehensive and informative.
ReplyDeletegerman classes in bangalore
german language course in bangalore
german language classes in bangalore
best german classes in bangalore
German Language Course in Chennai
german language course in madurai
german classes in hyderabad
German Language Classes in Chennai
DevOps Training in Bangalore
DOT NET Training in Bangalore
Great Post!!! Thanks for the data update and waiting for your new updates.
ReplyDeleteAndroid Training in Chennai
android classes in chennai
Best Android Training institute in Chennai
app development course in chennai
Android training in Adyar
Android Training in Tnagar
Big data training in chennai
Hadoop training in chennai
Digital Marketing Course in Chennai
Selenium Training in Chennai
Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more.
ReplyDeleteDigital Marketing Training Course in Chennai | Digital Marketing Training Course in Anna Nagar | Digital Marketing Training Course in OMR | Digital Marketing Training Course in Porur | Digital Marketing Training Course in Tambaram | Digital Marketing Training Course in Velachery
This is a nice article here with some useful tips for those who are not used-to comment that frequently. Thanks for this helpful information I agree with all points you have given to us. I will follow all of them. keep it up
ReplyDeleteAi & Artificial Intelligence Course in Chennai
PHP Training in Chennai
Ethical Hacking Course in Chennai Blue Prism Training in Chennai
UiPath Training in Chennai
Great Post, Thanks for sharing the great post.
ReplyDeletePHP Online Training
PHP Online Course
PHP Online Training in chennai