Jump to content


Photo

Switch statement--right usage or error


  • Please log in to reply
21 replies to this topic

#21 448191

448191
  • Staff Alumni
  • Advanced Member
  • 3,545 posts
  • LocationNetherlands

Posted 29 July 2006 - 08:32 PM

Lighten up.

I'm not even going to explain the humour in my previous post, if you can't see it, or at least see it is meant humoursly, you're taking life way to seriously. 

If being a coder means having no sense of humor than I guess I'll never be one.


P.S. Adding quotes to strings when not nessesary is just plain wrong. Shoot me.  ;D

#22 spare

spare
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 29 July 2006 - 10:43 PM

Hi,

The country code is entered into the DB with phpMyAdmin.  It is put directly into the country code field using the edit function.  That is why I don't understand the '--' since it is entered without quotes as 30, 31, etc.  The field type is a char(3) could that cause the single quotes?

I'm not a programmer, I just DIY whatever needs doing (car, desktop/laptop, websites, etc) and learn along the way.  I'll be repairing a digital camera in the next few weeks :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users