No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
Re: Have you looked at var_dump($workshops) just after the get_field() call? If it's false there, you might need to include the id. And if that's the case, this should go inside your while loop. $workshops = get_field('workshops', get_the_id() ); | |
Re: Some things I would do to troubleshoot... 1. var_dump($result); - validate your query results 2. See if that .png file exists and what it is 3. grep all of the code for "_SESSION" and "session_start()" to see if the session is started and/or managed elsewhere | |
Re: I'm a fan of MVC, which helps in keeping php and html separated. Of course, the particular framework I use--much like others I'm sure--doesn't prevent you from abusing the view and mixing in more than necessary, though. One particularly useful package that lends itself well to this approach is mpdf. … | |
Re: You'll need to watch the input box with javascript, and on each change (or after x number of characters), use ajax to send the search string to a php script. That php script can query the database and return results to the ajax call, which can populate a list of … |
The End.