Jump to content

bombsquad

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://linkz.racequeen.ph

Profile Information

  • Gender
    Not Telling

bombsquad's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. that's right avoid using javascript.
  2. I recommend joomla easy to manage and easy to understand for newbie.
  3. this is the right and working code.. you made a hard coded way otuatail but the function is the same as haku.
  4. I Cant visit the link you given.. can you post your code here and I'm going to edit for you.
  5. I don't see any session_start() in your administrative.php you only have this if($_SESSION["mysession"]<>"mysession"){ this won't work until you start your session..
  6. hahaha did I missed something here.. Maybe we all right with different approach of coding. Don't argue who is right or not. Just tell your idea and the one asking help will decide what he/she going to use to fit to his/her coding.
  7. your don't have a session_start(); in your administrative.php page. and include this code at the top of your page to see all possible errors error_reporting(E_ALL);ini_set('display_errors', '1');
  8. try this one: <?php $id = strip_tags($_GET['id']); if($id="test1"){ $id="test1.php"; }else{ $id="test2.php"; } ?> <div ><a href="?id=test1">menu test 1</a></div> <div ><a href="?id=test2">menu test 2</a></div> //include what page will be appear <?php require_once($id); ?> Hope it helps...
  9. Instead of using this code //check that the form fields are not empty, and redirect back to the login page if they are elseif (empty($_POST['myusername']) || empty($_POST['mypassword'])) { header( "location:http://www.mysite.com/login.html" ); } try this one to avoid redirect page <?php if(isset($_POST['submitbutton'])){ //check that the form fields are not empty, and redirect back to the login page if they are if (empty($_POST['myusername']) || empty($_POST['mypassword'])) { $msg = "Empty field found!"; }else{ //your code goes here } } ?> <form method="POST"> <table> <tr> <td> <?php if(isset($_POST['yourSUBMITbutton'])) { echo $msg; } ?> </td> </tr> <tr> <td>YOUR DESIGN GOES HERE..</td> </tr> </table> </form>
×
×
  • 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.