Jump to content

operafanboy

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Everything posted by operafanboy

  1. [!--quoteo(post=356209:date=Mar 18 2006, 01:29 PM:name=vic-wdd)--][div class=\'quotetop\']QUOTE(vic-wdd @ Mar 18 2006, 01:29 PM) [snapback]356209[/snapback][/div][div class=\'quotemain\'][!--quotec--] You mean using "&" instead of "&"... If yes, then it is necessary, for XHTML validation. [/quote] Yeah, thanks. Is there any point to it though? I don't think I've ever needed to use it, and can't think of any time it would be needed, and it's pretty annoying having to remember to do it just so your page is valid.
  2. [!--quoteo(post=355585:date=Mar 16 2006, 11:53 AM:name=kenrbnsn)--][div class=\'quotetop\']QUOTE(kenrbnsn @ Mar 16 2006, 11:53 AM) [snapback]355585[/snapback][/div][div class=\'quotemain\'][!--quotec--] It looks like my earlier reply got lost in the transition to the new box... Thinking about your problem... Slashes in the field name shouldn't cause a problem. PHP doesn't have a problem with array indices with slashes and MySQL doesn't have a problem with field names with slashes. What indications are you getting that the slash in the field name is causing a problem? Errors? Ken [/quote] Just that nothing came up on the webpage when it should have. I've got a feeling it's something I did wrong though or forgot to do. Anyway I've changed the names and everything is working well. Thanks for the help :).
  3. Thanks, the \/ in the code doesn't work. I think I might just change the column names like kenr said though. Is it considered bad practice to use special characters in column names? BTW does anyone know of any good tutorials about good coding practices/habits with mysql and php? cheers
  4. I have a few column names in my MYSQL table that have a forward slah in them, and when I try to access them with php via something like $row['N/O'] it doesn't work. Is it not possible to access a column name like this if it has a '/' or am I doing something wrong? Cheers
×
×
  • 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.