ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Expression Engine PHP & Embed & entry_id_from

September 25, 2013 4:02pm

Subscribe [1]
  • #1 / Sep 25, 2013 4:02pm

    Klauss

    33 posts

    hey, i have the following Line:

    exp:channel:entries channel=“orders”  entry_id_from=”{embed:LAST_ID}” sort=“desc” dynamic=“no”}

    LAST_ID file :

    <?
    include ‘!mysql.php’;
    $last_id = @mysql_result(mysql_query(‘SELECT comanda_id_end FROM output_comenzi ORDER BY id DESC’),0);
    if(!$last_id) $last_id = 0;
    echo $last_id;
    ?>


    How can I make that the LAST_ID file to get PARSED, take the value and insert it into entry_id_from

    Please help 😊

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases