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.
How to format a SQL data pull result as a link.
Moderator: General Moderators
-
warriorforgod
- Forum Newbie
- Posts: 15
- Joined: Tue Jun 02, 2009 11:16 am
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: How to format a SQL data pull result as a link.
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.
(#10850)
-
warriorforgod
- Forum Newbie
- Posts: 15
- Joined: Tue Jun 02, 2009 11:16 am
Re: How to format a SQL data pull result as a link.
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.
Very possible, but you will need to do some extra configuring to get the MSSQL functions working. Check out the documentation.