Jump to content
xisto Community

OliviaT

Members
  • Content Count

    1
  • Joined

  • Last visited

Everything posted by OliviaT

  1. I want to create a simple database on my computer to help develop a help form--but am stuck at a fundamental MySQL issue. I am using XAMPP to begin with and want to say the following:$connection=mysql_connect("localhost","",""); //yes, I want to work in a password and username free environment... I know the dangersmysql_select_db("help",$connection); //help is the name of my database, help_issue is the name of my table in the help database$query="UPDATE help_issue SET ID='NULL' First='$firstname' Last='$lastname' Badge='$badge' Phone='$phone' Email='$email' ComputerName='$computername' ComputerLocation='$computerlocation' Location='$location' Involves='$involves' Priority='$priority' Comments1='$comments' Comments2='$comments2' Assigned='$assigned' "; mysql_query($query);Is it possible to create a connection without a user and password? If not--how do I set one up in XAMPP? Any help would be greatly appreciated... I feel like beating my head into the wall at this point...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.