Jump to content

nvdw

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Everything posted by nvdw

  1. So it wont work with some kind of include system?
  2. Hello, I'd like to know if it's possible not reloading the page when you click a link (with includes). This is the code i'm using to include the pages: [table][tr][td][code=php:0]$_GET['page'] = (isset($_GET['page']) ? $_GET['page'] : 'start'); $pages= array('start','test'); if(!in_array($_GET['page'], $pages)){   include('error.php'); }else{   include($_GET['page'].'.php');  }[/code][/td][/tr][/table] This works fine, but i also have a sfw above the content and i don't want it to reload each time you click on a link. I'd also like to do this without frames. I hope someone knows how to do it. Thank you
  3. ty for the reply, works perfect.
  4. Hello, I got a little problem. I list all values from a database: [code=php:0]$res_category = mysql_query("SELECT description FROM categories"); echo '<select name="categorylist" class="tveld">';   while ($regel = mysql_fetch_array($res_category, MYSQL_ASSOC)) {     foreach ($regel as $cat) {       echo '<option value="'.$cat.'">'.$cat.'</option>';     }   } echo '</select>';[/code] Next to it I got a button and when i click it, it reloads the form. Now I'd like the value I've chosen to be selected after the button click. How can I do this? Thank you
×
×
  • 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.