Hi,
I wanted to know that can we use a php function on a column in mysql query. I want to make something like this

SELECT html_entity_decode('field') from table.

Thanks in advance.

Not possible. You can only retrieve the field, and then apply the function in the PHP script.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.