[insert_php]

global $wpdb;

$myresults = $wpdb->get_results( “SELECT id, name, note FROM wp_frm_items WHERE form_id=2 ORDER BY id” );

echo ‘

‘;
foreach ( $myresults as $myresult )
{
$myresult->id = $myresult->id – 318; //necessario poichè nel DB i primi 318 sono cancellati dello scorso anno…
echo ‘

‘;
}
echo ‘

‘;
echo $myresult->id;
echo ‘
‘;
echo $myresult->name;
echo ‘
‘;
echo $myresult->note;
echo ‘

‘;

[/insert_php]

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Not readable? Change text.

Start typing and press Enter to search