<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Build a Calendar Using PHP, XHTML, and&#160;CSS</title> <atom:link href="http://davidwalsh.name/php-calendar/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/php-calendar</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Wed, 23 May 2012 19:56:08 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Mark</title><link>http://davidwalsh.name/php-calendar#comment-32053</link> <dc:creator>Mark</dc:creator> <pubDate>Sun, 06 May 2012 13:03:24 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3083#comment-32053</guid> <description>great calender ;But i seem to have a problem:As soon as the script finds the first event for day x it shows that  day and it&#039;s containing events, all other days with events aren&#039;t being displayed.what am i doing wrong?Mark</description> <content:encoded><![CDATA[<p>great calender ;</p><p>But i seem to have a problem:</p><p>As soon as the script finds the first event for day x it shows that  day and it&#8217;s containing events, all other days with events aren&#8217;t being displayed.</p><p>what am i doing wrong?</p><p>Mark</p> ]]></content:encoded> </item> <item><title>By: Adam Dahan</title><link>http://davidwalsh.name/php-calendar#comment-32012</link> <dc:creator>Adam Dahan</dc:creator> <pubDate>Thu, 03 May 2012 15:19:55 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3083#comment-32012</guid> <description>Hey I wanted to say thanks first off. I love the calendar and the website. You are producing wonderful things :)I do have a question though:I want to add some sort of click handler to the days in the calendar so a user can pick a day and then I can capture that date and send it to the server via a form.Do you have any suggestions that might help me get started?Thanks David.</description> <content:encoded><![CDATA[<p>Hey I wanted to say thanks first off. I love the calendar and the website. You are producing wonderful things :)</p><p>I do have a question though:</p><p>I want to add some sort of click handler to the days in the calendar so a user can pick a day and then I can capture that date and send it to the server via a form.</p><p>Do you have any suggestions that might help me get started?</p><p>Thanks David.</p> ]]></content:encoded> </item> <item><title>By: joan16v</title><link>http://davidwalsh.name/php-calendar#comment-31842</link> <dc:creator>joan16v</dc:creator> <pubDate>Tue, 24 Apr 2012 08:29:59 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3083#comment-31842</guid> <description>excelent! thanks!</description> <content:encoded><![CDATA[<p>excelent! thanks!</p> ]]></content:encoded> </item> <item><title>By: maim</title><link>http://davidwalsh.name/php-calendar#comment-28725</link> <dc:creator>maim</dc:creator> <pubDate>Sun, 29 Jan 2012 22:10:16 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3083#comment-28725</guid> <description>hey guys,
dont know if someone already posted such modifications in order to start with monday, however, here is another solution:adapt these lines:
$headings = array(&#039;Mo&#039;,&#039;Di&#039;,&#039;Mi&#039;,&#039;Do&#039;,&#039;Fr&#039;,&#039;Sa&#039;,&#039;So&#039;); //reorder labels, starting with monday
$running_day = date(&#039;N&#039;,mktime(0,0,0,$month,1,$year))-1; //date(&#039;N&#039;) returns 1-7, starting with monday</description> <content:encoded><![CDATA[<p>hey guys,<br
/> dont know if someone already posted such modifications in order to start with monday, however, here is another solution:</p><p>adapt these lines:<br
/> $headings = array(&#8216;Mo&#8217;,'Di&#8217;,'Mi&#8217;,'Do&#8217;,'Fr&#8217;,'Sa&#8217;,'So&#8217;); //reorder labels, starting with monday<br
/> $running_day = date(&#8216;N&#8217;,mktime(0,0,0,$month,1,$year))-1; //date(&#8216;N&#8217;) returns 1-7, starting with monday</p> ]]></content:encoded> </item> <item><title>By: David</title><link>http://davidwalsh.name/php-calendar#comment-28390</link> <dc:creator>David</dc:creator> <pubDate>Wed, 04 Jan 2012 04:41:16 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3083#comment-28390</guid> <description>First off... EXCELLENT calendar!!
I am trying to insert events into the calendar but for some reason the query never executes.  I am using mysqli_query() and it just dies.
&lt;code&gt;
/** QUERY THE DATABASE FOR AN ENTRY FOR THIS DAY !!  IF MATCHES FOUND, PRINT THEM !! **/$query = &quot;SELECT * FROM u_dailystats WHERE username = &#039;&quot; . $_SESSION[&#039;username&#039;] . &quot;&#039;&quot; . &quot;AND statdate = &#039;$todaydate&#039;&quot;;
$results = mysqli_query($dbc, $query) or die(&quot;Error 1: &quot;.mysqli_error($dbc));
if (mysqli_num_rows($results) &gt; &#039;0&#039;) {
while($row = mysql_fetch_array($results)){
extract($row);
&lt;/code&gt;
Only result I get is &quot;Error 1:&quot;
Any ideas why this is?</description> <content:encoded><![CDATA[<p>First off&#8230; EXCELLENT calendar!!<br
/> I am trying to insert events into the calendar but for some reason the query never executes.  I am using mysqli_query() and it just dies.<br
/> <code><br
/> /** QUERY THE DATABASE FOR AN ENTRY FOR THIS DAY !!  IF MATCHES FOUND, PRINT THEM !! **/</p><p> $query = "SELECT * FROM u_dailystats WHERE username = '" . $_SESSION['username'] . "'" . "AND statdate = '$todaydate'";<br
/> $results = mysqli_query($dbc, $query) or die("Error 1: ".mysqli_error($dbc));<br
/> if (mysqli_num_rows($results) &gt; '0') {<br
/> while($row = mysql_fetch_array($results)){<br
/> extract($row);<br
/> </code><br
/> Only result I get is &#8220;Error 1:&#8221;<br
/> Any ideas why this is?</p> ]]></content:encoded> </item> <item><title>By: mohamed</title><link>http://davidwalsh.name/php-calendar#comment-28008</link> <dc:creator>mohamed</dc:creator> <pubDate>Wed, 21 Dec 2011 19:07:47 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3083#comment-28008</guid> <description>i hope any one answer to me</description> <content:encoded><![CDATA[<p>i hope any one answer to me</p> ]]></content:encoded> </item> <item><title>By: mohamed</title><link>http://davidwalsh.name/php-calendar#comment-28007</link> <dc:creator>mohamed</dc:creator> <pubDate>Wed, 21 Dec 2011 19:02:01 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3083#comment-28007</guid> <description>i hope to know how i use it in my webpage</description> <content:encoded><![CDATA[<p>i hope to know how i use it in my webpage</p> ]]></content:encoded> </item> <item><title>By: phlex</title><link>http://davidwalsh.name/php-calendar#comment-27392</link> <dc:creator>phlex</dc:creator> <pubDate>Sun, 30 Oct 2011 18:47:29 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3083#comment-27392</guid> <description>Am happy i found this, thanks for this piece. but how can i reduce calendar to fit into a 266px section on my page. thanks</description> <content:encoded><![CDATA[<p>Am happy i found this, thanks for this piece. but how can i reduce calendar to fit into a 266px section on my page. thanks</p> ]]></content:encoded> </item> <item><title>By: Jamie</title><link>http://davidwalsh.name/php-calendar#comment-27370</link> <dc:creator>Jamie</dc:creator> <pubDate>Thu, 27 Oct 2011 19:42:03 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3083#comment-27370</guid> <description>How would I implement a jquery dialog for specific events I seriously cannot figure it out!! Along with a next/previous link for each month ah!</description> <content:encoded><![CDATA[<p>How would I implement a jquery dialog for specific events I seriously cannot figure it out!! Along with a next/previous link for each month ah!</p> ]]></content:encoded> </item> <item><title>By: SK</title><link>http://davidwalsh.name/php-calendar#comment-27168</link> <dc:creator>SK</dc:creator> <pubDate>Fri, 07 Oct 2011 14:34:20 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=3083#comment-27168</guid> <description>Thanx a lot for this useful and handy script!!!</description> <content:encoded><![CDATA[<p>Thanx a lot for this useful and handy script!!!</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 1/7 queries in 0.005 seconds using disk: basic
Object Caching 804/805 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-23 16:06:09 -->
