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...
User Profile
Collapse
-
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'); $dbNameLeave a comment:
-
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... -
I have no idea how can prevent that the user can login again when they are already loginLeave a comment:
-
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... -
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
No activity results to display
Show More
Leave a comment: