Jump to content

falkencreative

Advanced Member
  • Posts

    4,419
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by falkencreative

  1. As I have been finding, it's best to start small, so it won't seem quite so overwhelming. Perhaps get your database set up first.... Then figure out how to pull out specific records (like my example above) then worry about how the user will see this data, etc. Don't attempt to write a huge application -- write a small one and slowly add to it.
  2. I'd have to look at your database, but yes, it sounds like you have the right idea. Assuming that you have a table in your database that includes all of your clients (and one unique id # per client) and that you also have a table for each of the boats you work on, with a column for the client with their id... For example: Client #1 has an id of "4", so any of his boats would have an "owners" column with the value "4" You could then use SQL to grab all of the boats in the boat table that match a certain user id, something along the lines of this (I'm not exactly sure if mysql_real_escape_string() is all you need to secure this, so this example may be insecure): $id = mysql_real_escape_string($_GET['id']); $query = "SELECT * FROM boats WHERE owner = $id"; You may have to do a bit of experimenting, but I believe that should work. More info: (http://www.tizag.com/mysqlTutorial/mysqlwhere.php) If you are new to PHP, take a look at Stefan's videos on killerphp, and definitely look at videos on phpvideotutorials too -- it's been really helpful to me.
  3. Anyone use Yahoo's analytics? (http://web.analytics.yahoo.com/). It looks nice too, at least at first glance.
  4. Hello, and welcome to the forum! I've been doing this for a while... but there always seems to be something more to learn. Take a look through the videos on killersites/idea22.com, and feel free to post questions if you have any.
  5. Probably the easiest way is to do this is assign each customer a unique id #, and then link each of the boats in the database to that customer id. Linked by the id number, you could then choose to retrieve specific data per customer, rather than all of the data at once. Make sense?
  6. Just curious... what web stats do you use? Anyone use anything besides Google Analytics? I'm giving Mint a shot (http://haveamint.com/) and I really like what I see so far, even if it did cost me $30. I like that it shows current data, and you don't have to wait around for it like you do for Google Analytics (yes, I'm impatient. ) As I said... anyone use anything other than Google Analytics that I should look at? I like statistics... even if they don't mean much.
  7. heh. I saw this article (or one similar to it, on the same topic) earlier... funny stuff.
  8. falkencreative

    Mamp and eclipse

    Where are your files being stored? For MAMP to be able to access your files, they will need to be within Applications > MAMP > htdocs.
  9. Nevermind, Erik posted the link I was looking for.
  10. Best to keep it as a .php file then -- it'll save you time in the long run.
  11. The software that runs this forum, PunBB is quite good -- easy to set up, and I had no problem skinning it -- it's just a matter of working with the CSS.
  12. What's the pushback from IT? The time (and time == money) modifying things to adjust for accessibility?
  13. The whole Target accessibility lawsuit? http://www.456bereastreet.com/archive/200710/update_on_the_target_accessibility_lawsuit/
  14. Where is "$short_desc;" set? Additionally, does the URL change at all between the time the page is first viewed, and the second view?
  15. And I should mention... what you are currently working with is all HTML code, and doesn't use any PHP. Your file may end in ".php", but it really isn't PHP until you start using actual <?php ?> php code.
  16. Post the link to Eric's method, and I'll take a look.
  17. Hmmm. Probably the first of the two, though I have to admit that I find both a bit disjointed -- it feels like you are leaving your site, and I'm not a fan of unnecessary ads. Guess I have gotten spoiled with search built in to the site itself (CMSMS or Wordpress).
  18. I'm not sure exactly what you are attempting to do... What you say you want to do and what your code does are very different things. I am not seeing any code to add any type of rollover to your layout. Rollovers are usually done either with javascript, by switching one image with another, or by using a background image and moving the background position (CSS sprites). Rollovers are not usually done with z-index. Errors: You do have an error in your css: an unnecessary "|" here: "l#logo1 {" Also, you are missing a width in this line "width: " (in #Menu), which may cause CSS errors.
  19. Any chance you managed to forget to upload the flash? Probably your first step is to check that your flash file is uploaded correctly and that it is in the correct location... then check your links.
  20. Weird. Sounds like it is a Mac problem though, not a browser specific issue. Do you have your standard fonts available to you when you open up FontBook? (Applications > FontBook)
  21. There have been several threads in the PHP forum on this recently... http://www.killersites.com/forums/topic/282/question-on-mai/
  22. Very true... BTW, thanks everyone for the quotes -- I ended up using several of them in my new site.
  23. Assuming that http://ga mes nav.com/ [remove spaces] is your website... I think the main thing is that you have no content on your site. Your page is basically all ads, with the exception of links to outside videos and a couple "news" articles that are basically more ads. As a visitor, I'm not super excited about visiting a site with this little content and so many ads. I'm not a fan of ads, and if I have to view them, there had better be some quality content for me to look at. Ads are fine -- many sites have them -- just build up a user base first of people who view your site, and don't make them obnoxious. Besides the ad issue, my initial thought as a visitor is that the site doesn't feel feel all that professional, nor does it look like it is updated very often, so I probably wouldn't return. -- Your first step would probably be to reduce the number of ads on the site, and work on some revisions to the site design to make it feel a bit more professional. You site is much too wide -- I use quite a high resolution, and it forces even me to scroll. I'd highly suggest making sure that the site fits on a 1024x768 monitor. -- Take a look at your code -- you have a lot of errors, and fixing those may reduce confusion for search engine spiders and result in higher search engine rankings. -- Once you have a strong basis in design, start working on adding content to your site. And I'm not talking about copying and pasting from other sites either -- actually sit down and write your own content, and expand the site beyond the one page. -- Since there are a lot of game sites out there, your best bet may be to find something to specialize in. Perhaps one specific genre of games. With such a broad scope, you then have competition like GameSpot and IGN, and I'm sorry, but I don't think you can win that one.
  24. falkencreative

    question on mai()

    If you are attempting to work with the mail() function on your local machine, you will need to modify your PHP.ini file to include your correct SMTP and email information. Other members recently had questions about this too, so take a look at their posts first: http://www.killersites.com/forums/topic/259/trouble-with-forms-failed-to-connect-to-mailserver-at-localhost/ and post #23 and on on this thread: http://www.killersites.com/forums/topic/223/guys-need-help-with-wampserver/
×
×
  • Create New...