![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,124
|
![]() Specifically, I'm wanting to add a 'bulk' categorizing section to my CRUD system and I'm thinking that using checkboxes may be the simplest way of doing this? My question is this, what would be the most simple (and secure) way of adding a bunch of predefined categories to a page and going through a list, clicking each checkbox that matches the rows data?
Should I also have another area in the CRUD that will allow me to add extra categries as the need arises or, just hardcode them in the edit.php page? Any thoughts on this vs. any other options you might be able to suggest?
__________________
SOMETHING EXTREME IS COMING SOON! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,060
|
Quote:
Then you can just loop through the categories table to make your checkbox screen. Disclaimer: If you only have 1 or 2 categories then by all means hardcode them into the file but if you are going to have a fairly large list and expect to be adding to and changing them then what I said stands. .
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,124
|
Quote:
__________________
SOMETHING EXTREME IS COMING SOON! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jun 2003
Posts: 3,279
|
I dunno what you're coding, but your questions make me wonder if you've considered using something like laravel ?
Most of your questions, are things this framework will easily take the difficulty out of.
__________________
dead. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
|
It's really better if he learn the fundamentals before using a framework. We've interviewed guys that only coded with frameworks and when you put them in front of 'real' PHP they freeze like a deer in front of headlights.
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,124
|
Quote:
I honestly I have only been playing with php for about 4-6 months, that’s why so many questions about errors and how-to do certain things.
__________________
SOMETHING EXTREME IS COMING SOON! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |