Revan Posted July 17, 2006 Share Posted July 17, 2006 Hello, my name is Revan and I am very new to PHP. My question is directed towards anyone who is familiar with the MySQL database setup of Invision Power Boards. What I want to do is connect to the MySQL database, get the topic title if it has a certain description, the url, and save it to be displayed in a sidebar for a webpage. As of the moment, I cannot say the address of the page... Here is the code so far:[code]<?phprequire('config.php');$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');$sql = 'SELECT `title` FROM `ibf_topics` WHERE `description`=\'=SCDTI=\'';mysql_close($conn);?>[/code]Any help would be appreciated ;) Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.