/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] Hyperlink from SQL Statement

I am trying to make a Navigational Menu on my website.

The tabs are as follow: HOME | ABOUT US | CONTACT US | RESIDENTIAL |COMMERCIAL |

Home, About Us and Contact Us are straight foward static pages. However, Residential and Commercial are both dynamic pages and the information is pulled from a Mysql database using php.

I have basically designed the full database and coding etc, however, the last step now is to actually make a link…

consider the following statement:

[code=php]SELECT * FROM `Property` where `Type` = 1[/code]

I would like that when Type = 1 (i.e. Residential), a user can click the Residential Tab and view All residential properties. And the same for Commercial which is Type = 2

Thanks…

p.s. <a href=”SELECT * FROM `Residential` where `Status` = 1″>Residential</a> is basically what I would like to acheieve.

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@bajanboostauthorAug 09.2006 — In short, I jsut want to be able to hyperlink SQL statements from my database.
Copy linkTweet thisAlerts:
@bajanboostauthorAug 10.2006 — Nevermind, I got it.
×

Success!

Help @bajanboost spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.4,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...