I am extremely new to php and database. Suddenly I’m handed down this community service project where they want me to connect to a SOQL database, retrieve the data and display it on a page.
Being a complete newbie to this, I’ve searched in google of how to connect to a soql database, but to no avail. I know for mysql I can establish a link/connection by running mysql_connect(host, user, password); in a php. Is there a way to do something similar in SOQL?
Sorry, you cannot connect to an SOQL database via PHP.
You can, however do it using JavaScript and then use ajax to receive PHP output based on the database.