Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.
Moderator: General Moderators
manojsemwal1
Forum Contributor
Posts: 217 Joined: Mon Jun 29, 2009 4:13 am
Location: India
Post
by manojsemwal1 » Fri Oct 02, 2009 11:33 pm
<div id="container">
<div id="menu">
<ul>
<li class="page_item page-item-4"><a href="
http://www.transitionderby.co.uk/?page_id=4 " title="Calendar">Calendar</a>li></ul>
</div>
Somebody help me to try how the above href link call the Calender html file from page_id.
thanks
Manoj Semwal
jackpf
DevNet Resident
Posts: 2119 Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK
Post
by jackpf » Sat Oct 03, 2009 4:40 am
what?
jackpf
DevNet Resident
Posts: 2119 Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK
Post
by jackpf » Mon Oct 05, 2009 5:37 am
You mean you want to use mod_rewrite?
manojsemwal1
Forum Contributor
Posts: 217 Joined: Mon Jun 29, 2009 4:13 am
Location: India
Post
by manojsemwal1 » Tue Oct 06, 2009 12:22 am
yes u got it
pl tell me how to do that..........
jackpf
DevNet Resident
Posts: 2119 Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK
Post
by jackpf » Tue Oct 06, 2009 5:35 am
manojsemwal1
Forum Contributor
Posts: 217 Joined: Mon Jun 29, 2009 4:13 am
Location: India
Post
by manojsemwal1 » Sun Oct 11, 2009 11:55 pm
Thanks for Your Reply
can u explain breifly because iam new bibe in php. to show ^calendar$ index.php?page_id=4
where we have to give the page_id in calender.html page.......
jackpf
DevNet Resident
Posts: 2119 Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK
Post
by jackpf » Mon Oct 12, 2009 5:39 am
Put that in a htaccess file. Google mod_rewrite for more information and stuff.
Btw, I didn't read your first post properly, if you want calendar.html, then try this:
Code: Select all
^calendar\.html$ index.php?page_id=4
manojsemwal1
Forum Contributor
Posts: 217 Joined: Mon Jun 29, 2009 4:13 am
Location: India
Post
by manojsemwal1 » Mon Oct 12, 2009 11:36 pm
Once again thanks ........
pl visit the site
http://www.transitionderby.co.uk for your reference...........
Acually here after the domain name /?page_id=2 is showing insteadof .html file.
pl check the left pane menu. here all hyperlink having a id.
I want to know how to define a hyperlink in id.
i wnat to know how to do this....
Manoj