Jump to content

code conflicting with each other


fullyloaded

Recommended Posts

hi

im having a little problem with my code i have all this code into one php file ths code will work if i take out member-statusmessage or member-reminder code but if i keep both in my php file only the member-reminder will work any idea why? or how to fix it where both will work? thanks...

$next_function='member-statusmessage';
    $dbu->query("select * from member where member_id='".$glob['member_id']."'");
    $dbu->move_next();

    $ft->assign(array(
                                          
                                          "STATUSMESSAGE"    =>		   $dbu->gf('statusmessage'),
                                          'MIN_STATUSMESSAGE'     =>        MIN_STATUSMESSAGE,
                                          'MAX_STATUSMESSAGE'     =>        MAX_STATUSMESSAGE,
                                          
                     )
                );
  
      $next_function='member-reminder';
    $dbu->query("select * from member where member_id='".$glob['member_id']."'");
    $dbu->move_next();

    $ft->assign(array(
                                          
                                          "REMINDER"    =>		   $dbu->gf('reminder'),
                                          'MIN_REMINDER'     =>        MIN_REMINDER,
                                          'MAX_REMINDER'     =>        MAX_REMINDER,
                                          
                     )
                );

Link to comment
https://forums.phpfreaks.com/topic/158338-code-conflicting-with-each-other/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.