-3

My code is correct I`ll check it 5 to 6 times and my first page is running properly but in second page it is producing error and port address and everything is right....

error

Avag Sargsyan
  • 2,437
  • 3
  • 28
  • 41

1 Answers1

0

if you are running sql server on other machine you have to provide ip-address f that machine instead of localhost. and make sure Mysql service is started

also one thing in if condition change it to > because if it has more than one record else will execute .

jasinth premkumar
  • 1,430
  • 1
  • 12
  • 22