title: eval()'d code on line xx
body: <p>i have this code , i want to convert the get(title) to variable , its correctly working , for example i have variable 'news , sport, program ' , my problem is that when someone is changing the title="news" to title=new , and i dont have the new variable how i can control it when the user change the title ;
  this will appear an error that the variable undefined and eval()'d code on line xx error</p>
  
  <pre><code>if(isset($_GET['title']))
      $title=stripslashes($_GET['title']);
  else
     $title="news";
  
  $trimed=trim(strtolower($title));
  $variable="$".str_replace(" ","_",$trimed);
  $title=eval('return '.$variable.';');  
  
  if(!isset($title))
      $title=$$title;
  </code></pre>
  
  <p>thank you for help </p>