Posted: March 18, 2014 at 8:12 pm
|
I’m trying to create shortcodes for wordpress. If you find on foreach in my code, I have no idea how to echo the count currently i’m using count($data->answer); Please take a look TABLE : wp_events_answer ?????????????????????????????????? My desired outcome is ?????????????????????????????????? My current outcome ?????????????????????????????????? = $sql= ” $datas= $wpdb->get_results($sql); foreach ($datas as $data) { $result .= ‘<td>’; $result .= ‘</tr>’; return $result; } |
|
how to edit this post |
|
Hi, Large blocks of code are best linked to from a service such as Pastebin. If you require assistance with customising the plugin, we have a list of recommended developers here – https://eventespresso.com/developers/event-espresso-pros/ |
The support post ‘Shortcodes | Problem to display variable on table wp_events_answer’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.