Can someone quickly write me up a MySQL command? I already have it set up to connect to the database and all that. All I need it to do is from table 'Vaults' needs to search for Vault_ID from $var1 and see if $var2 matches up with the Combo column name and if it does gets whatever is in column Contents from that row.
You need to learn mysql and not ask people to do work for you. This is a place for troubleshooting not doing. http://www.php.net/manual/en/function.mysql-query.php http://www.php.net/manual/en/function.mysql-fetch-assoc.php
I already figured it out for myself, thanks anyway. I do know MySQL but whatever I kept trying wouldn't work and I couldn't troubleshoot it.