Follow us on Twitter!
I'd prefer to die standing, than to live on my knees - Che Guevara
Wednesday, April 16, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 21
Guests Online: 20
Members Online: 1

Registered Members: 82807
Newest Member: Black Hawk
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

PHP/MySQL admin panel


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 02-06-06 03:52
I am making an admin panel for a site that will be able to add news and other things. I'm somewhat new to PHP and MySQL so i'm not sure what the
"right way" to do certain things are. So i have a few questions:
-Is it better to have a seperate page for all the different editing options, like a delete script, an add script, and an edit script, or one script that does any of these things using the if and else commands?
-Is it better to have a seperate page for the POST form, or have the script check if its set then echo it if it isn't?
-Does anyone know of an easy way to make a page with a GET string in the url a default page, example: index.php?page=news? Besides checking if it is set.

Thank you to anyone who spends the time to help me. when i am finished i am going to right an article on how to do this.


Author

RE: PHP/MySQL admin panel


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 02-06-06 06:31
Errm, same page, use GET. You don't need default. ie

index.php

Options {link to}

index.php?...


Author

RE: PHP/MySQL admin panel


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 03-06-06 18:19
Thanks. When i display data from my table it says 'Resource*3' before it. Does anyone know why or how to stop it?