Jump to content

mysql result = ''?


rockinaway

Recommended Posts

 if ($this->db->num_rows($mini_thought_query) == 1) $this->member['mini_thought'] = $this->db->result($mini_thought_query);

 

This is the line. I have some classes but they are just the basic mysql_result etc, just in classes. I want to check if the value returned in the result is an empty value or whether there is actually some text there.

Link to comment
https://forums.phpfreaks.com/topic/254984-mysql-result/#findComment-1307513
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.