Jump to content

aspnetguy

Members
  • Posts

    6,787
  • Joined

  • Last visited

Everything posted by aspnetguy

  1. aspnetguy

    VS.Php

    sorry I misunderstood what you said.
  2. I see what you mean. You are going to need to look into GROUP BY and MAX()
  3. We will need the full code...it is impossible to determine your CSS problems from only the sql query
  4. hahaha I think I see the problemprice BETWEEN '$searchpricemin' AND '$searchpricemax'";do this instead price BETWEEN $searchpricemin AND $searchpricemax"; You are telling the query that your numbers are strings so it is doing an alphabetical search80 = 'eighty' 50 = 'fifty'in this case 50 comes after 80
  5. what database are you using? MySql? is ...AND '$searchpricemax';"; really necessary? try this ...AND '$searchpricemax'"; I doubt MySql requires the ; after the sql statement.The time I have seen that needed is working ont he command line
  6. remove the brackets on the first query and it should work.
  7. the onclick is a Javascript event that cannot execute PHP functions. You have a couple options.1. Use AJAX(JavaScript) to execute the PHP function.2. change the input type to submit and check with PHP to see which button was pressed (if you have more than 1) then execute the proper PHP function
  8. change ORDER BY WRP.CustID, CMT.TaskID DESC toORDER BY CMT.TaskID DESC
  9. Thanks, if it is bad practice I usually don't bother mentioning that they can do it...no need to learn this the wrong way
  10. an ID must be unique so it can only be used once while classes can be applied many times.That is the main differences. ID is used in other things besides CSS, like JavaScript to access different elements of the ID.
  11. lets say you have this HTML <div id="top"><p class="text">blah blah blah</p></div><div id="btm"><p class="text">blah blah blah</p></div> Lets pretend that the text in both the top and btm are the same font, size, etc except we want the top to be red and the bottom to be blue.Using nesting we can write a generic .text class that applies to both and then 2 specific classes that deal with the color...saves use repeating the common stylesCSS .text{ font-family: sans-serif; font-size: 13px; font-weight: bold;}#top .text{ color: red;}#btm .text{ color: blue;} Does that clear things up?
  12. it is eitherhistory.back()or history.go(-1)both will work
  13. I assume you want the gallerycontent centered? Do this .gallerycontent{width: 250px;height: 200px;border: 1px solid black;background-color: #000077;padding: 3px;display: block;margin:auto;}
  14. lol resered words would do it! Glad it is sorted out
  15. The Command must be working or he would get an SqlCommand error not an SQL Insert synatx error.
  16. yeah, you would have to set a pixel width for margin: auto to work
  17. aspnetguy

    NAS

    But how does it work? Id it meant to replace the harddrives in your PC or what?EDIT: Okay I did some reading. It is just a more affordable, smaller version of a SAN that you attach to your netowrk for common storage. I get it now, duh. Sorry .
  18. aspnetguy

    NAS

    so what are the benefits of it. Isn't it just like an external HD?We had a 4TB SAN (Storage Area Network) at work for awhile but it turned out to be not owrth the mony because of backup software issues but we had 6 servers (without Hard Drives) booting from seperate partitions on the SAN.Is this not just a mini version of that?
  19. aspnetguy

    VS.Php

    Calm down, he didn't say it was worth the money, he said I wonder if it is worth the money then later said "I would rather save my money"You need to read the post a little more carefully before throwing a jab
  20. aspnetguy

    NAS

    The ones I was looking at requires you to buy the HD serperate, upto a 400GB 3.4" ATA HD. And it said it was compatible with Windows and OS X (no Linux)
  21. take a look at your source code there will be a tonne of Geocities generated code that drives their ads and allt he other garbase they run on your site.Go to awardspace.com they give you free, no ads, and php/mysql support for free!!!!!!
  22. aspnetguy

    NAS

    I don't get it. I looked at some at tigerdirect.ca and I realise that you have to buy and attach the hard drive seperate but does it have a built in OS or what?How does it work?
  23. aspnetguy

    Perl/CGI

    those symbols are Regualr Expressions, lol, they are a pain in the neck to say the least.
  24. I guess you couldn't use tables.
  25. aspnetguy

    Perl/CGI

    Really? Do you run the files through the command line?I learned PERL in college but we always ran them on Apache so I didn't realise you could run them outside a server.
×
×
  • Create New...