jan_andrea: (clear)
Jan Heirtzler ([personal profile] jan_andrea) wrote2007-01-26 10:32 pm
Entry tags:

I am teh greetest!

Yay! I just upgraded the pages on my site to actually use PHP. I had changed the pages to .php extensions earlier, to allow the page to query my database and see how many "points" were left, but that was all. Then I redid the page layout and such of SlingRings.com and all their pages had been previously redone to use PHP in a more meaningful way -- to whit, to actually build the pages using PHP. I had been getting really annoyed with my pages, because every once in a while, my cart hiccups and an option which is in stock will show as out of stock, forever, unless I duplicate the option and change the product to use the duplicate instead of the original. Annoying when it's one option on one product, but when it was the points -- which are used in *every* product and which needs to be queried by the page -- it was disastrous, because the way I had set my pages up previously, I had to re-upload the ENTIRE site when I changed the cell being queried. Okay, that's a lot of technical sounding stuff, but really, it was just obnoxious because I had to re-upload every file whenever this hiccup happened with the points. Now, it's one file that says "query the points" and so, if the points hiccup (which they had done this week), I can easily change what I need to change and be done with it.

I also just changed the links that I have on my journal -- it has been at least two years, I'm guessing, because I no longer visited at least a couple, and the link to my own site was broken (due to the .html to .php changeover). So now there are links to the other blogs I actually visit on a daily basis (besides my LJ friends, of course), as well as to my new business blog, which I still need to tweak. But, I'll work on that later. Now, I need to get to bed!

[identity profile] mollyf.livejournal.com 2007-01-27 03:38 am (UTC)(link)
You do rock! I want to learn PHP.

[identity profile] jan-andrea.livejournal.com 2007-01-27 05:19 pm (UTC)(link)
I'm a cut-and-paste, experiment-until-it-works kind of user, myself. I would love to really learn PHP myself, too, but until I make myself sit down and do it, I am enjoying being able to use stuff I find. I learned HTML that way, too, and while it's probably not the *best* method, it works for some people. Dive in!

[identity profile] glitterboy1.livejournal.com 2007-01-27 08:20 am (UTC)(link)
Well done! Doing a big reworking like that is a bit scary, making sure that all the little bits are in place... But I still always find it very satisfying, when you finish writing all the code (PHP, or whatever), you try it, and out comes actual information!

[identity profile] jan-andrea.livejournal.com 2007-01-27 05:20 pm (UTC)(link)
Quite! My big scare came when I loaded a page in a subdirectory, and it looked totally wrong... and then I realized that my CSS call was a relative path, and I just needed to make it static, and then it worked great :) Dumb mistakes like that are what always get me.

[identity profile] glitterboy1.livejournal.com 2007-01-27 06:35 pm (UTC)(link)
It's difficult to catch stuff like that, unless you have a test environment that's exactly the same, and that's not necessarily possible! I'm glad that it was fairly easy to fix, anyway.

[identity profile] brunahildm.livejournal.com 2007-01-27 02:32 pm (UTC)(link)
I have no idea what that means! But yay for yoU!

[identity profile] jan-andrea.livejournal.com 2007-01-27 05:20 pm (UTC)(link)
Thanks :lol: