Page 1 of 1

How to format a SQL data pull result as a link.

Posted: Wed Jun 03, 2009 4:42 pm
by warriorforgod
I am wanting to know if there is a way that I can pull something from a sql database and format the result as an html link. Not sure if this is possible.

Thanks in advance.

Re: How to format a SQL data pull result as a link.

Posted: Wed Jun 03, 2009 5:25 pm
by Christopher
It is one of the main things PHP is used for. What kind of database are you using? Have you looked at http://php.net in the documentation for your database adapter (also see PDO). There are many examples there.

Re: How to format a SQL data pull result as a link.

Posted: Thu Jun 04, 2009 8:06 am
by warriorforgod
I am using an mssql database and connecting from an apache server running php5.

Re: How to format a SQL data pull result as a link.

Posted: Thu Jun 04, 2009 8:46 am
by mikemike
Very possible, but you will need to do some extra configuring to get the MSSQL functions working. Check out the documentation.