Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  using $_SESSION - data lost

phpMyEdit General     using $_SESSION - data lost
Post new topic   Reply to topic    
 
jan99     Joined: 23 Jan 2008   Posts: 13  
Post Posted: 2008-03-31 09:04
Back to top  Reply with quote     

hi !

i want so save data in $_SESSION-varible to use by phpMyEdit. but when i click on the add-button my data lost !

my code:

Code:
<?php
    session_start();

    $_SESSION['Send'] = $_POST['Send'];
    $_SESSION['turnierid'] = $_POST['turnierid'];

    echo 'turnierid: '.$_POST['Send'].'---<br>';
    echo 'turnierid: '.$_POST['turnierid'].'---<br>';

if($_SESSION['Send'])
{

      if(empty($_SESSION['turnierid']))
        {
           $error[] = "Es wurde kein Turnier gew&auml;lt !<br>";
          die("Text anpassen 1 - <a href=\"dc_input_10.php\">Turnierauswahl</a>");

     //   }elseif(!is_integer($_REQUEST['turnierid'])){
     //      $error[] = "ung&uuml;ltige Turnierkennung !<br>";
     //     die("Text anpassen 2 - <a href=\"dc_input_10.php\">Turnierauswahl</a>");
        }//endif - name

    //Turnierkennung
    $turnierid = $_SESSION['turnierid'];

....

// Now important call to phpMyEdit
require_once $admin_data['class_path'];
new phpMyEdit($opts);
?>


when i open the side there will show a value for turnierid - after click ADD there is no value.

can anybody help me ??

regards Jan :-)

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy