Page created in PHP not viewable by public
-
My friend created a page in wordpress which has nothing but php code. It begins with <? and ends with ?>. The problem is, non one can view the content on these pages except for me and anyone else who is a registered user/admin on the server. The code basically makes a connection to the database we made and outputs information contained in the database based on the sql queries we put in the code.
Is there a way we can make it so that guests can see the page as well and not just registered users/admins? All other pages that contain regular text and not code are seen perfectly by guests but not the pages containing php code.
The topic ‘Page created in PHP not viewable by public’ is closed to new replies.