Forum: PHP Sep 27th, 2008 |
| Replies: 3 Views: 973 Thanks for the solutions.
Enabling cookie was the temporary solution.
I will store the session info in a database.
How do I accomplish the example below if I disable cookies?
example:
I... |
Forum: PHP Sep 26th, 2008 |
| Replies: 3 Views: 973 Hi
I am having problems with sessions.
When using Internet Explorer I can pass sessions to other pages.
I cannot pass sessions when I use Mozilla Firefox. |
Forum: PHP Sep 6th, 2008 |
| Replies: 2 Views: 1,746 I am getting the correct hours and minutes by removing the seconds.
E.g. date("h:i",strtotime($end_time)).
I am still open to a more efficient way to accomplish this task.
<?
$end_time =... |
Forum: PHP Sep 6th, 2008 |
| Replies: 2 Views: 1,746 Hi
I am trying to get the number of hours and minutes between
two time time stamps.
The expected results should be 1:59 (h:mm) instead I am getting 1:58 (h:mm).
What is wrong with my... |
Forum: PHP May 31st, 2008 |
| Replies: 6 Views: 2,528 Thanks for the suggestions I will try it. |
Forum: PHP May 30th, 2008 |
| Replies: 3 Views: 1,266 |
Forum: PHP May 25th, 2008 |
| Replies: 3 Views: 1,266 Hi
I would like to put a list of ids in an array
and loop to select data from a table using
"IN" in the where clause.
I am not having any success getting this to work.
Any suggestions? |
Forum: PHP May 17th, 2008 |
| Replies: 0 Views: 1,784 Hi
The goal is to allow the user the ability to compare daily schedules of
between 1 to 7 users.
The number of columns/user schedule and column headers
are dynamically created base on user... |
Forum: PHP Apr 20th, 2008 |
| Replies: 4 Views: 925 Hi thanks for responding
After various approaches that worked partially this is the solution.
I am open to suggestions on improving on it.
NOTE:I have temporarily removed the... |
Forum: PHP Apr 13th, 2008 |
| Replies: 4 Views: 925 Hi thanks for responding
I made the rows easier to read. But that is not my problem it’s the looping.
I have worked the code and have all the event types showing for each day column.
Which is... |
Forum: PHP Apr 9th, 2008 |
| Replies: 4 Views: 925 Hi
Thanks for the reply.
The days in column format for the week is displaying correctly.
The current problem is when the foreach loop ends in position # 1
only the last iteration of the loop... |
Forum: PHP Mar 31st, 2008 |
| Replies: 4 Views: 925 Hi
I have 7 arrays for all containing the same data:time_id,
start_time, end_time and colour.
Each array represent a day of the week.
There are a total of seven columns to display.
I... |
Forum: PHP Mar 27th, 2008 |
| Replies: 6 Views: 2,528 It could be my work, but I find isset() not always as reliable as empty().
I check form field because it is preloaded with information using $reason array. |
Forum: PHP Mar 26th, 2008 |
| Replies: 6 Views: 2,528 Hi
Thanks for responding.
I will try the version of code you seggested
I did tried this before posting but the data was still lost:
<? |
Forum: PHP Mar 26th, 2008 |
| Replies: 6 Views: 2,528 Hi
I was using PHP sessions to create a sticky form but a
button was needed to reload the page.
I am new to Java and I have decided to do away with the button.
Using... |
Forum: PHP Mar 23rd, 2008 |
| Replies: 0 Views: 2,421 Hi
I am trying to display appointments in a database and would like
to display all appointments for a week.
The time of the day appears on the left and vertical columns with
the names of... |
Forum: PHP Mar 20th, 2008 |
| Replies: 3 Views: 739 Hi
Thanks for the response.
This is the solution.
I have left the echos for testing:this displays what is occuring.
<? |
Forum: PHP Feb 23rd, 2008 |
| Replies: 3 Views: 739 Hi
Thanks for the response. This is the solution I arrived at.
I am open to changing it
<?php
/**NOTE:
Where editing of time/date range is between existing start and end time/date... |
Forum: PHP Feb 9th, 2008 |
| Replies: 3 Views: 6,715 Hi
After some time I think I have done it.
Let nme know if you have any suggestions how to refine the code.
The result below is for a three week (7 day) cycle for the month of January.... |
Forum: PHP Feb 9th, 2008 |
| Replies: 3 Views: 739 Hi
I am having problems how to proceed in editing appointment info.
In this example I have a meeting (code 201) on Monday (day code 550)
from 09:00:00 to 12:00:00.
This is stored in the data... |
Forum: PHP Jan 28th, 2008 |
| Replies: 1 Views: 1,363 Hi
After some time I think I have done it.
Let nme know if you have any suggestions how to refine the code.
The result below is for a three week (7 day) cycle for the month of January.... |
Forum: PHP Jan 28th, 2008 |
| Replies: 3 Views: 6,715 |
Forum: PHP Jan 18th, 2008 |
| Replies: 3 Views: 6,715 Hi
I am trying to increment the date using weekly increments.
I need to determine the start and end dates and the week number of the year.
If you can suggest another approache that is OK, ... |
Forum: PHP Jan 1st, 2008 |
| Replies: 1 Views: 1,363 Hi
I need help.
I know what I want to accomplish, but I do not know how to do it.
The events are recurring every month, but not recurring at the same time or on the... |
Forum: PHP Dec 29th, 2007 |
| Replies: 0 Views: 1,454 Hi
I need help.
I know what I want to accomplish, but I do not know how to do it.
The events are recurring every month, but not recurring at the same time or on the ... |
Forum: PHP Dec 29th, 2007 |
| Replies: 0 Views: 739 Hi
I need help.
I know what I want to accomplish, but I do not know how to do it.
WHAT I NEED HELP ACCOMPLISHING:
How to do I insert data into a table for a date range of... |
Forum: PHP Dec 2nd, 2007 |
| Replies: 0 Views: 1,133 I am having problem with my loping.
I don't know if I have chosen the correct approach.
GOAL:
I need to insert into a table event types for a specific date range.
The calendar the event type is... |
Forum: PHP Aug 9th, 2007 |
| Replies: 1 Views: 8,141 Hi
Thanks for the suggestion.
This is the final code that solved the problem
<?
$event_time = 09:00:00
$event_length = 15;
$timestamp = strtotime("$event_time");
$etime =... |
Forum: PHP Aug 8th, 2007 |
| Replies: 1 Views: 8,141 Hi
How can I add 15 minutes to the previous event time (timestamp) to get the next event time.
Note: This event time is not in a table.
Straight forward adding the two values will probly not... |
Forum: PHP Jul 31st, 2007 |
| Replies: 2 Views: 1,822 Thanks for the response.
You were right the table height was the issue. |
Forum: PHP Jul 31st, 2007 |
| Replies: 2 Views: 1,822 Hi
I am having a problem with the height of my dynamically create rows.
The data is retrived properly form the database, the issue is displaying the rows.
When there are alot of results to... |
Forum: PHP Jul 28th, 2007 |
| Replies: 2 Views: 3,085 Hi
Thanks for the assistance your effort was appreciated.
The final code can be found below.
This bit of code insert events into a database with these functionalities:
1) Single or multiple... |
Forum: PHP Jul 22nd, 2007 |
| Replies: 2 Views: 3,085 Schedule Repeat events
Hi
I am stuck in fact I don't know where to start, can you point
me in the right direction?
I have the form to capture the user input but don't
know how to... |
Forum: PHP Jul 21st, 2007 |
| Replies: 2 Views: 1,939 Hi
Thanks for the response.
This is the solution:
$event_time = "13:00";
$time_block = 5;
$event_length = 15; // minutes
for($i = 0, $eTime = strtotime($event_time);
$i <... |
Forum: PHP Jul 21st, 2007 |
| Replies: 2 Views: 1,939 Hi
I am not sure I am approaching this correctly.
I need to increment the appointment time by 15 mins for each loop.
This is would be the correct result:
13:00, 13:15, 13:30, 13:45, 14:00,
This... |
Forum: PHP Jul 6th, 2007 |
| Replies: 2 Views: 1,346 Hello
Thanks for the info its was the best way to make this work.
This is the solution, this final code allows you to double book appointments.
= $row;
}
//Loop over the... |
Forum: PHP Jun 28th, 2007 |
| Replies: 2 Views: 1,346 I forgot to add the end of the table structure
<?
echo"</div>\n";
echo "</div>\n";
echo "</td>\n";
echo "</tr>\n";
echo "</table>\n";
echo "</table>\n";
?> |
Forum: PHP Jun 28th, 2007 |
| Replies: 2 Views: 1,346 Hi
I am php newbie and I don't know if I am approaching this properly.
I need to creat a scheduler that list the appointment time on the left
and client for a specific appointment time on the... |
Forum: PHP May 31st, 2007 |
| Replies: 1 Views: 1,246 My problem with the scrolling is solved. It was looking blurred because of a duplicate function displaying the same info.
Eg.
<?
Function display()
{
Return $multiple_array_values;
}... |
Forum: PHP May 24th, 2007 |
| Replies: 1 Views: 1,246 Hi
Multiple rows of dynamically created data is retrived from the database and displayed properly.
When I get 50 rows displayed scrolling is necessary.
The problem is when I scroll to see the... |