bookmark - Stylesheet Not Working For Pages Containing ? In Url

Stylesheet Not Working For Pages Containing ? In Url

 
 Discussion by Ahsaniqbal111 with 0 Replies.
 Last Update: February 1, 2012, 7:40 am
 
bookmark - Stylesheet Not Working For Pages Containing ? In Url  
    
free web hosting
 
I have set up a test environment to improve my php and mysql skills and learn some advanced functions to use on my website. Lately I ran into a strange problem on my local host. When I use urls like

CODE

"localhost/mybooks/page.php/?page=pharmacology",

the stylesheet won't work. When I remove the "?page=pharmacology" part, the stylesheet does work fine. I have no idea what is happening here as it has never happened before. I have tried to find some help related to this issue but couldn't find a single entry.

The project I am working on is a test project where basically I will create a CMS with CRUD capabilities. The database I am using is Mysql and the server is Apache. On the page, I am trying to dynamically generate urls based on entries in the database. For instance, I have a table named "subjects" in my database with three entries: "pharmacology, pathology and forensics". On the index page of the website, I dynamically generated a list of links with anchors same as the entries in the "name" column of the "subjects" table. And the href attribute of the links is created dynamically to be "page.php/?page=corresponding_entry".
I am unable to find the error that is causing the problem so I guess some experts on the forum will help me on this.

Wed Feb 1, 2012    Reply    New Discussion   


Quickly Post to Stylesheet Not Working For Pages Containing ? In Url  w/o signup Share Info about Stylesheet Not Working For Pages Containing ? In Url  using Facebook, Twitter etc. email your friend about Stylesheet Not Working For Pages Containing ? In Url Print
Reply / Comment Ask a Question? Share / Bookmark E-Mail a Friend Print

How To Convert Psd (Photoshop) To Html.   How To Convert Psd (Photoshop) To Html. (1) (2) How To Create New Pages Dynamically Without ? Sign   How To Create New Pages Dynamically Without ? Sign