This topic is locked

php results?

3/3/2006 2:39:35 PM
PHPRunner General questions
O
obscura2k author

Sorry if this is a bit of a newb question ...
Is there anyway to display all the results from my sql database, without having to login to admin ...
So, visitors can view all records in the db without logging in to the admin section
thanks

obscura2k

A
Alan4573 3/3/2006

Sorry if this is a bit of a newb question ...

Is there anyway to display all the results from my sql database, without having to login to admin ...
So, visitors can view all records in the db without logging in to the admin section
thanks

obscura2k



Obscura2K
Yes - dont create a login page (Step 9 of12) Uncheck the "Create login page"box.

O
obscura2k author 3/3/2006

Obscura2K

Yes - dont create a login page (Step 9 of12) Uncheck the "Create login page"box.


nonon i dont want them to be able to edit/delete records all i want is so they goto a page such as
"products.php" and it displays all the records from the database ... for example:
--------------------------------------
Please find all products below:
field1 field 2 field3 field4 field5
record1 details

record2 details

record3 details

record4 details

record5 details

A
Alan4573 3/3/2006



nonon i dont want them to be able to edit/delete records all i want is so they goto a page such as
"products.php" and it displays all my data from the database ...



Pages to build (Step 5 of 12) Uncheck "Add new Record", "Edit Record", "Delete Record" etc etc to build only the pages you want. If you want to be able to do this yourself, create another project in a separate folde (called admin for example) and build the add edit delete pages in that one. You can create a login page for that one just for you to use.