LaroErarweino
New Member
My PHP isn't working. I get nothing as a result:I am trying to get information from a MySQL database. The database contains one table that has four entries in it with the following two rows: PinNumber and SwitchStatushere are the values in the databasePinNumber = 3SwitchStatus = 0PinNumber = 5SwitchStatus = 0PinNumber = 6SwitchStatus = 0PinNumber = 9SwitchStatus = 0This is the code that I am trying to use without success:\[code\]$connect = mysql_connect("localhost", "root", "root");mysql_select_db("QuickFox");$fetch = ("SELECT * FROM Switches"));while($row = mysql_fetch_array($fetch)){echo "$row['*']"; }\[/code\]