MySQL Forums
Forum List  »  PHP

Re: Trying to return data from fields containing an underscore char
Posted by: Peter Brawley
Date: December 22, 2020 09:51AM

> it returns absolutely nothing meaning that either it did not fetch the data or it doesn't want to output it.

All PHP calls to MySQL need full-on error handling.

The underscores in those column names are OK. the hyphens are not---all references to such names need backticks round them till they're fixed.



Edited 1 time(s). Last edit at 12/22/2020 10:05AM by Peter Brawley.

Options: ReplyQuote


Subject
Written By
Posted
Re: Trying to return data from fields containing an underscore char
December 22, 2020 09:51AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.