User Profile

Collapse

Profile Sidebar

Collapse
rhodarose
rhodarose
Last Activity: Sep 27 '10, 11:56 PM
Joined: Jul 6 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • rhodarose
    replied to Problem in PHP Calendar Event
    in PHP
    Add Event link is a form of event. To choose who is the user who are permitted to add event i put in my database a permission field, where i add data tru or false all the user i put false except one who i chooose who can add event.

    My problem is in all user the add event was appear. i want that only in a user who is true in permission that add event would appear and the rest the message "You cannot Add new Event" appear because...
    See more | Go to post

    Leave a comment:


  • rhodarose
    replied to Problem in PHP Calendar Event
    in PHP
    I have a new code in my calendar and the problem is in all user the add event link was appear

    this is my new code:

    Code:
    <?php
    
    session_start();
    $host = "localhost";
    
    	$username = "";
    
    	$password = "";
    
    	$dbCnx = @mysql_connect($host, $username, $password) or die('Could not Connect to the database');
    
    	$dbName
    ...
    See more | Go to post

    Leave a comment:


  • rhodarose
    started a topic Problem in PHP Calendar Event
    in PHP

    Problem in PHP Calendar Event

    Good day!

    I created a webpages and i have a login page consist of Username and Department. And i encountered problem in adding event in my calendar.

    This is the flow of my webpage:
    First I have a separate table for the user and calendar. In my user table it has a Username, Department, and Permission. In the permission I put True or False, only one user i put True because i want that user is the one who permitted...
    See more | Go to post

  • rhodarose
    replied to Login Problem-using session()
    in PHP
    I have no idea how can prevent that the user can login again when they are already login
    See more | Go to post

    Leave a comment:


  • rhodarose
    started a topic Restriction in Adding Events in Calendar
    in PHP

    Restriction in Adding Events in Calendar

    i want to share my problem in my website

    For the better understandng of my website, I want to tell all the details.

    1. I have a database and i has a 2 tables 1 for the tbllogin which consist of Username and Department, and the second table is caltbl which i use for the calendar events.

    2.When my website run the first webpage is the login form. If the Username and Department is correct she can browse the...
    See more | Go to post

  • rhodarose
    started a topic Login Problem-using session()
    in PHP

    Login Problem-using session()

    Good day!
    I have an index.php or login page, when i login successfully and when i accidentally press the back button the login page appear, then when i try to login again, I could login again which is not correct, I have no idea how can i prevent to login again if the userr is zalready login.

    here is my php code:
    Code:
    <?php  
    session_start(); 
     if(isset($_SESSION['USER_ID'])){
    
    exit("you
    ...
    See more | Go to post
No activity results to display
Show More
Working...