Hi All,

I would like to exit from an include file and continue in the calling
script!

As an example

FILE A:

<?php
if (empty($_POST['search_criteria'))
{
  echo "You must provide search criteria";

  // exit the include file here!!!! But how?
 }

echo "You have provided serach criteria";
?>


FILE B

#include "A";

<form method=post>
<input name=search_criteria type=text>
</form>

TIA

Henry



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to