/booka/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/booka/trunk

« back to all changes in this revision

Viewing changes to dbEditor.php

  • Committer: Gustav Hartvigsson
  • Date: 2010-06-07 17:17:41 UTC
  • Revision ID: gego@quad-20100607171741-nwdyruqkvr8cky36
fixxed broken code, and added a file i had forgot b4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
session_start();
3
3
/*
4
4
        dbEditor.php
5
 
        TODO:need to make a way to add to DB and remove from it.
6
5
*/
7
6
if(!$_SESSION[logedin]){
8
7
        
 
8
        echo "something something";
 
9
        sleep(2);
9
10
        header('Location: ./BooKa.php');
10
 
        
11
11
}
12
12
$errorMsg = null; //ERRORMSG!
13
13
include "./inc/dbConnect.php";
45
45
                 <hr />
46
46
                 <?php
47
47
                 if($errorMsg!=null){
48
 
                        echo "  <p>".$errorMsg."</p> <!-- this paragraph is created by the php script -->";
 
48
                        echo "  <p style='color: red;'>".$errorMsg."</p> <!-- this paragraph is created by the php script -->";
49
49
                 }
50
50
                 ?>
51
51