Database
-
Hello,
I have all the game in a database and I want to export from there all the information and put inside [pgn] to create the game but I can’t.
in WordPress page when I write [pgn] I can’t write a php code, so I have a php plugin that allow me to write php code and save this code in a shortcode for example [game]
But if I write
[pgn]
[game] (here there are the pgn text)
[/pgn]
It doesn’t work.Also I tried in php code, inside the while results, write:
while($arr_result = mysql_fetch_assoc($result)) {
echo do_shortcode (“[pgn]”);
echo $arr_result[“game”];
echo do_shortcode (“[/pgn]”);
}but it doesn’t work too
Any solution to take the information from database?
Thank you
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Database’ is closed to new replies.