Search found 11 matches

by phpcoder123
Thu Jul 02, 2009 9:22 am
Forum: PHP - Code
Topic: Php event calendar display help
Replies: 23
Views: 1778

Re: Php event calendar display help

Hi Eric! Thanks so much for puttin so much effort on this. I tried it but it won't work because the loop runs through one day displays all the events and then moves on to other day. So like you assumed there are problems with html display. I shall keep on working and see what I can do. Actually, I d...
by phpcoder123
Wed Jul 01, 2009 3:48 pm
Forum: PHP - Code
Topic: Php event calendar display help
Replies: 23
Views: 1778

Re: Php event calendar display help

I got what you are trying to say. But can you give me a hint as to how can I put it into implementation looking at the code that I uploaded on the forum?
by phpcoder123
Tue Jun 30, 2009 3:56 pm
Forum: PHP - Code
Topic: Newbie needs help with form to email
Replies: 2
Views: 833

Re: Newbie needs help with form to email

use headers
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= "From: " .$enter name here. "\r\n";
by phpcoder123
Tue Jun 30, 2009 2:16 pm
Forum: PHP - Code
Topic: Php event calendar display help
Replies: 23
Views: 1778

Re: Php event calendar display help

You are right, that was the screenshot of my browser. Also, what needs to happen is that somewhere the position of the event has to be locked once the first time it appears. Here what happens is the pink event gets displayed first and the blue gets displayed later on, but on the day when there are b...
by phpcoder123
Tue Jun 30, 2009 1:39 pm
Forum: PHP - Code
Topic: Php event calendar display help
Replies: 23
Views: 1778

Re: Php event calendar display help

I want the pink events in the single bar just like the blue ones.
Thanks for all your help and sorry for the confusion:(
by phpcoder123
Tue Jun 30, 2009 1:08 pm
Forum: PHP - Code
Topic: Php event calendar display help
Replies: 23
Views: 1778

Re: Php event calendar display help

                  $query = "select id,bid,user,title,starttime,endtime,bcolor from ".$EVENTS_TB." left join calendar_status on ".$EVENTS_TB.".status=calendar_status.st_id left join calendar_brand on calendar_events.bid=calendar_brand.br_id where day='$i' and month='$month' ...
by phpcoder123
Tue Jun 30, 2009 11:11 am
Forum: PHP - Code
Topic: Php event calendar display help
Replies: 23
Views: 1778

Re: Php event calendar display help

Hi Eric!,
Is it possible for you to write a sample code to explain me how to proceed with this?

Thanks
by phpcoder123
Thu Jun 25, 2009 2:41 pm
Forum: PHP - Code
Topic: Php event calendar display help
Replies: 23
Views: 1778

Re: Php event calendar display help

You are right, I could have used another join instead of using 2 queries. But that won't solve the problem. I have attached an image to get an idea of how it looks. I want that the two red events displayed should be in one single line.So that it looks like a red bar the way it now looks for blue and...
by phpcoder123
Thu Jun 25, 2009 12:52 pm
Forum: PHP - Code
Topic: Php event calendar display help
Replies: 23
Views: 1778

Re: Php event calendar display help

$query = "select id,bid,user,title,starttime,endtime,approved from ".$EVENTS_TB." left join ".$CAT_TB." on ".$EVENTS_TB.".status=".$CAT_TB.".st_id where day='$i' and month='$month' and year='$year'" ;                         $query = $query." o...
by phpcoder123
Thu Jun 25, 2009 8:33 am
Forum: PHP - Code
Topic: Php event calendar display help
Replies: 23
Views: 1778

Re: Php event calendar display help

I think you are right..It is something like Day 1 Day 2 Day 3 Event 1 Event 1 Event 2 Event 2 Event 2 Event 3 Event 3 Now Event 1 is color red. Event 2 is blue and event 3 is brown. What I want that I need to display all the events 1 in one line so that its appears to be a single red bar. And same f...
by phpcoder123
Wed Jun 24, 2009 3:36 pm
Forum: PHP - Code
Topic: Php event calendar display help
Replies: 23
Views: 1778

Php event calendar display help

Hi, I have a requirement wherein I need to display records that have maximum number of occurance of a particular field first. For eg, there are three days, where 1st day has two events of blue and brown color. Second has 3 events of blue, brown and red color and third has two events of blue and red ...