Oh, and I think the problem is there is literally no "one to many" relations, so that everything on the page, even the things that appear once (like course description) are in the database as many times as there have been instances of classes, and I have no idea how the page chooses which one is showing. It seems random, because sometimes I have typos in one, so I can tell what is showing up.
'The Killer In Me'
Buffistechnology 3: "Press Some Buttons, See What Happens."
Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!
It sound like there are problems both in the database and in the cgi that takes the information from the database. Unfortunately, I can recognize that without being able to fix it. It sounds like you should have an actual content management system, but I have dealt with IT departments before that didn't want anyone touching their precious code.
I am thinking it would actually take less time to have a static web page for each course. We don't use the database for data ( in fact I delete old things so they do not randomly appear). They can't justify building something because my time doing the work around costs less that the web programmer writing something easier. This is the same reason we still can't take credit cards online and the students need to call me or mail a check
They can't justify building something because my time doing the work around costs less that the web programmer writing something easier.
But they'd only have to do it once and it would save your time year after year. It sounds more like lazy and/or incompetent.
Sophia, I feel your Pain. I was at a uni for 10 years and had to deal with stupid crap like that all of the tIme. I actually ended up bulidIng my own pages using Contribute.
I despise regular expressions with a passion.
I bow to their power, but they cause me tears. I learn Unix standard regex every time from scratch. And it hurts every time. I'm looking to, if not learn it forever this time, find a good tutorial that encourages me to remember, rather than get me to the regex I need to solve my problem this time and ignore anything else.
So if you were going to show someone who's giving up and giving in the best I-can-actually-already-code introduction to regex, what link would that be?
Hah, I cannot help, because I totally always just look up the one regex I need at the moment.
I feel bad. I worked out three different regexes, when technically there is one that will do it, and...I'm gonna forget that shit. But I recorded it, so at least that's not last.
And you want to know what it was for? To extract every link to a JPG in the SPN thread, because I needed to find the right one, and paging through was just not working, and search was fruitless.
So...great power.
But I must practice. Good text editors will encourage that.
Bwah.
Make that into a sellable product, and you will have millions.