Hola peeps! Haven't been here in ages, how is everyone? I'm hoping someone can help me with some PHP code I'm struggling with.
The long story short is, I use glob to get a list of folders and insert them into a mysql database. But I'd like to be able to see if there are differences between the glob and sql results to see if I need to delete something from the database or other things like that. I can post my code if that helps but I've made so many changes that I've lost the closest thing to working that I had.
Thanks my foreign friends!
------------------------------------------------------------------------ "If you don't like donut, then leave it alone. Nobody force you to eat it."
Thanks all! Been meaning to come around more! I have been trying to ignore the politic things going on.
Hiya PB!
Matt, I've been working on it for a few weeks and I have it working somewhat. Learning as I go so it's interesting! I'm sure my code isn't up to standards but I want to get it all working first and then make it pretty.
------------------------------------------------------------------------ "If you don't like donut, then leave it alone. Nobody force you to eat it."
“Brexit is a uniquely British story of political backstabbing, hubris and incompetence spawned by factional disputes within the ruling Conservative Party”
I'm no fan of Wordpress, but I have no issues with software projects picking an off-the-shelf CMS rather than waste time better spent on the project itself in building a site from scratch.
“Brexit is a uniquely British story of political backstabbing, hubris and incompetence spawned by factional disputes within the ruling Conservative Party”
Not needed in ~90% of use cases. Clients too dumb to use it without routinely screwing it up, so better off with plain vanilla HTML5, and get edits done faster, better, cheaper by maintenance contract.
“Brexit is a uniquely British story of political backstabbing, hubris and incompetence spawned by factional disputes within the ruling Conservative Party”
Apart from that, I just find it super-slow and kludgy to populate with content through the CMS. Minor edits are ok. The template structure is also very constraining, and the visual designers here aren't very mindful, or appreciative of constraints. Custom code nearly always works out better.
“Brexit is a uniquely British story of political backstabbing, hubris and incompetence spawned by factional disputes within the ruling Conservative Party”