• Resolved cocobongo

    (@cocobongo)


    I’m trying to retrieve the amount of images from a nextGen gallery, but I’m quite ignoramus on PHP, so I used the “build PHP code” from a phpMyAdmin query (which of course works as a query) and it didn’t work. So I tried this:

    <p>This post has <?php $query = SELECT SUM(gid) ASRowsFROMwp_ngg_galleryWHEREgid> 0'; ?> pictures </p>

    but it gives me the following error message:

    Parse error: syntax error, unexpected T_STRING in /home/coco23/public_html/*****/wp-content/themes/newtheme/index.php on line 14

    Any help on this subject?

Viewing 1 replies (of 1 total)
  • Thread Starter cocobongo

    (@cocobongo)

    Solved it myself.

    On a side note, it seems I won’t never be able to get any WordPress related help in this forum, never got a single answer in 2 years ??

Viewing 1 replies (of 1 total)
  • The topic ‘retrieving data from NextGen’ is closed to new replies.