Jump to content

ober

Staff Alumni
  • Posts

    5,327
  • Joined

  • Last visited

Everything posted by ober

  1. Sounds like a plan. And thanks for re-using the thread.
  2. It says it will allow "NULL".... you're sending an empty character. That is not a null.
  3. ober

    Striking?

    Then don't expect to get a very positive response from this group. Most of the people that critique here are looking for extremely cross-browser compatible websites. And to be honest, designing otherwise is rather asanine.
  4. It doesn't look all that pixelated... but to say it's boring would be an understatement. The trick is to make it visually appealing but add your name to it. You said you looked at my website... that's the kind of idea I'd push you towards.
  5. This has turned into a Javascript question. You can use the onchange event instead of onclick to fire a function from the selection in a select box. I'm moving this to Javascript.
  6. When you say it works on your localhost, you mean it works without the variables or with them? What is the difference in versions between your development version and the main server version where it fails?
  7. Where is the array of values coming from and how are you passing it?
  8. It's all in the manual: [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]session.gc_maxlifetime integer session.gc_maxlifetime specifies the number of seconds after which data will be seen as 'garbage' and cleaned up. Note: If different scripts have different values of session.gc_maxlifetime but share the same place for storing the session data then the script with the minimum value will be cleaning the data. In this case, use this directive together with session.save_path. Note: If you are using the default file-based session handler, your filesystem must keep track of access times (atime). Windows FAT does not so you will have to come up with another way to handle garbage collecting your session if you are stuck with a FAT filesystem or any other filesystem where atime tracking is not available. Since PHP 4.2.3 it has used mtime (modified date) instead of atime. So, you won't have problems with filesystems where atime tracking is not available.[/quote]
  9. First off, I'm going to tell you that your database design is incorrect. Having column names like column1, column2, etc is poor, poor design. You should have 2 tables: table 1: eventID type summary highlight table2: eventID month day time That way you can tie as many dates and times to an event as you need to. Next, I'm going to tell you that what you want is possible and all you really need to do is then record the first date and time and the duration. In that case, you'd only use one table. When you display the calendar, you're just going to have to do a little math to figure out how many days to go and what their date and time will be. I suggest you decide on a database design, code up your form to handle the new format, and then come back when you get the point where you're processing it and displaying the calendar.
  10. I meant you should put a border on the insides of the outer columns. Shifting from a pale blue to white doesn't really break it up very much. Adding that extra "break line" in there helps.
  11. You're looking for a subquery (and your version of MySQL has to support it so you can do it). [code]SELECT first_name AS enrolled FROM names n WHERE person_id IN (SELECT person_id FROM class_enrollment ce WHERE ce.person_id = n.person_id AND ce.class_id = 72, 1, 0)[/code] If your version of MySQL doesn't support subqueries, you can always run the subquery as a seperate query first and use the IN WHERE X IN clause with the ids grabbed from the first query.
  12. Well, first of all, you need to look at your design. What you're doing with a single array doesn't really make sense. You need to use either a 2 dimensional array or use 2 arrays. I'm not sure why you're sticking them into an array before you dump them into the database either. If that's coming from some multi-listing form, you could easily setup the form to pass an array to the processing page. I'm also not sure if a foreach is what you really want to do here... a simple for loop would get the job done. But here is the syntax for a foreach loop: [code]foreach($arrayname as $key => $val) {      // $key is the index of the array      // $val is the value at that index }[/code]
  13. That's a pretty broad question. What are you coloring??? An image? A table cell? We need more info.
  14. It sounds like the only way around this is to modify the permissions on all of those files. I don't think deleting them and re-uploading them is going to help.
  15. You must place session_start() at the very top of the page (before any whitespace or HTML). I should also add that starting a session doesn't log anyone in, so it doesn't hurt to always start one.
  16. I agree 100% with everything Steve said, but allow me to add a few of my own. 1) I think the header graphic may be a bit tall. I didn't check the size on it, but I can imagine it's pretty hefty and you could decrease download times with a slight adjustment there. 2) Too small is a bad thing. Your left and right columns appear to have a case of shrinking text. The size of the text in the nav along the top is pretty good. The size of the text in the nav on the left is pretty bad. I have pretty good eyes, and not only is it small, it looks blurry at that size. As Steve said, there's no point in having 2 navs in that situation. 3) mailto: is a bad thing, IMO. It forces the user to have a mail client installed and working. What if I'm at an internet cafe and want to send you a message. I either have to hover over the link and copy the address or click on the link and fight off whatever the computer tries to do with it. A simple contact page is pretty easy to setup. It's not a bad looking site, but it is kind of bland. I'd probably throw a line on the insides of outer columns just to break it up a little better.
  17. I don't know that my list is all that important, but since you asked: C, VB 6, eMbedded VB, XHTML, CSS, PHP, Assembly (Intel 8085 and a few Motorola specific versions), Javascript, Pascal, Java, and I understand the basics of C#. I've also dabbled a little in Perl and I've looked over a fair amount of .NET stuff, but I personally find it to be a very bloated way to work, hence my work in PHP instead of ASP.NET. You can also throw SQL in there since half of my current job is database work. I've also played with XML a little here and there and it probably wouldn't be much of a leap for me to jump into C++. I've also used a handful of 4th level languages with packages from MTS and D2T and a CAN protocol simulator language. Really, once you get a few languages under your belt, it's nothing more than minor syntax changes between different languages.
  18. Well I apologize for calling you "10"... but if you have spent any amount of time working with websites and searching the web for common practices, I'd think you'd come to the conclusion that there is no "one good way" to come up with a plan for a website. All come in different shapes and sizes with different needs. And there's no good way to be taught HOW to do all those different designs other than to look at other people's code and practice. I am sorry if I offended you, but sometimes people need that. I had to get slammed down a few times before I realized that I had to do a ton of research on my own to really get what I want. You can't let some turd like me ruffle your feathers. If I did that, I probably would have quit programming back in college. I'm just some guy on the internet spouting off at the fingertips. Who gives a flying F what I think? Far too many people on here do (and I mean if more than 1 does, that's far too many) and once you get past all that and realize that I'm a far bigger goof and less talented than most of you, you'll be better off. Honestly, the only way to get what you want is to rummage through a bunch of sites, look at their source and try to reverse-engineer what they did. That's how I learned.
  19. Posting about a third-party script AND bumping. Thread closed. If you want to post again, post in the 3rd party scripts board. I suggest you contact IPB about the problem.
  20. I would suggest removing the error suppression ("@" symbol) to see if there are any errors with the query.
  21. I'm not critcizing you. (and I know you're talking about me) I'm also not making fun of you. Some of your questions have been fairly basic. Ask a pointed question and we can help. And don't get all in a huff and leave. Grow a tougher skin. If you thought I was rough on you, good freakin luck with your business.
  22. What are you ... like 10 years old? Look around. There's an entire Website Critique board where I know you've posted your site. There's a Resources thread at the top that has a lot of valuable information in it. As far as website planning, I'm not sure what you're getting at. Layouts? What's included in a normal website? I don't know if that stuff can be taught. You just have to think about how you want it to look and what content you will have. The rest just falls into place. Normally that stuff comes in the form of some type of spec written by a client.
  23. Allow me to describe my stream of conciousness when I opened your page: "block block block image image image image more blocks horrible image swapping nav slow expanding worthless blocks on the side bad internal scroll bar simple simple simple" The whole site is veeeeeeerrrrrrry image heavy and the little effects you have (like the expanding blocks on the side) don't add anything. Your nav images are blurry and unnecessary and the rest of the site is very "blocky" and poorly laid out. I can't tell if you're trying to do full-width or fixed-width. I don't get the internal scroll bar. It's annoying and pages are meant to expand so that I only have one scrollbar to deal with (the browser's). The only thing I really like about the site is the main graphic. It's sharp and looks professional. Things I'd do: 1) Incorporate some more gray like the logo has. 2) Kill the white space 3) Lose the bulky images 4) Use more css 5) Lose the backdrop behind your headings 6) Stick with fixed width and move your left column to the right or vice versa.
  24. Are you guys blocking the kontera links?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.