Db Error 0
Any sample code provided on this site is not supported under any Progress support program or service. I was using 000webhost until the client had hosting and a domain. Use a safer method: (originally posted answer) May as well just do a total rewrite and using mysqli_ with prepared statements. Fill in the credentials for your own. http://webmakerslounge.com/db-error/db-error-syntax-error.html
This page is ONLY accessible via myself so I'm not worried about it being accessed or SQL injectable etc. machine learning Can a supine verb have arguments? Now it's throwing me back a new error. 1064 for mysql. Author David Sklar (PHP Cookbook) guides you through aspects of the language you need to build dynamic server-side websites.
I.e.: $username = mysql_real_escape_string($_POST['username'], $connection); and do the same for the others. Characters Remaining: 255 Copyright © 2016, Progress Software Corporation and/or its subsidiaries or affiliates. See Trademarks or appropriate markings. You should also make sure it isn't a named instance, in which case you may need: user id=username; password=password; data source=123.45.678.90\InstaneName,3306; initial catalog=dbname; Network Library=dbmssocn; share|improve this answer answered Jul 10
Yes could be more secure but this isn't a big security concern for myself as the website will not be a LIVE site more of a private project kind of things. That doesn't sound right at all. mysql_error($link). "\n"; The echo mysql_errno($link) . ": " . https://www.zen-cart.com/showthread.php?146997-Database-Error-quot-0-DB_ERROR_NOT_CONNECTED-quot-every-couple-hours I have to connect to a SQL database server which is located at a remote location at xxx.xx.xxx.xx:3306, but every time I try to connect I get the same error: "A
It's been too long and I tore everything apart to make it work. As requested the code for the form from my previous page.