<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="2.0">
<channel>
	<title>AdGuru.org</title>
	<description>Your own Forum</description>
	<link>http://www.adguru.org/index.php</link>
	<pubDate>Fri, 20 Nov 2009 15:11:12 -0500</pubDate>
	<ttl>120</ttl>
	<image>
		<title>AdGuru.org</title>
		<url>http://www.adguru.org/style_images/ip.boardpr/logo4.gif</url>
		<link>http://www.adguru.org/index.php</link>
	</image>
	<item>
		<title>Help with Updating Database via HTML Form</title>
		<link>http://www.adguru.org/index.php?showtopic=65414</link>
		<description><![CDATA[I am very new to PHP and am having some difficulting updating my record in a database via an HTML form.  Here are the three steps of what I'm trying to accomplish.<br />Step 1: Pull a record from a database (which is done)<br />Step 2: Give the user the ability to edit the record information via text and textarea boxes (html forms, done.)<br />Step 3: When the form is submitted, the database should be updated with the user's changes via a SQL update statement.  I am not receiving an error, but the record is not being updated.  Please let me know your thoughts.  The column/field names are all correct.<br /><br /><u><b>HTML FORM with PHP values being pulled in</b></u><br /><br /><br />	Code:<br />	 &lt;?php include("connect.php"); // connection to database<br /><br />mysql_select_db("mmpprojects", $con);<br /><br /><br />$taskNo = "$_POST[task]";<br />$assignTo = "$_POST[assignTo]";<br />$open = "Open";<br />$closed = "Closed";<br /><br />$result = mysql_query("SELECT * FROM Tasks<br />WHERE taskNo = '$taskNo' AND assignTo = '$assignTo'");<br /><br />echo "&lt;form action='editTask.php' method='post'&gt;";<br /><br />while($row = mysql_fetch_array($result))<br />  {<br />  $taskNumber = $row['taskNo'];<br />  $project = $row['project']; <br />  $manHours = $row['manHours'];   <br />  $dueDate = $row['dueDate']; <br />  $createDate = $row['creationDate'];<br />  $taskMessage = $row['taskMessage'];<br />  $assignee = $row['assignTo'];   <br />  $status = $row['Status'];   <br />  }<br />echo "&lt;strong&gt;Project Name:&lt;/strong&gt;  &lt;input name='project' type='text' value='" . $project . "' /&gt;";<br />echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";<br />echo "&lt;strong&gt;Task No#&lt;/strong&gt;  &lt;input name='taskNo' style='background-color:#006633' type='text' disabled size='2' value='" . $taskNumber . "' /&gt;";<br />echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";<br />echo "&lt;strong&gt;Est* Man Hours:&lt;/strong&gt; &lt;input name='manHours' style='background-color:#006633' type='text' disabled size='2' value='" . $manHours . "' /&gt;";<br />echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";<br />echo "&lt;strong&gt;Creation Date:&lt;/strong&gt; &lt;input name='createDate' style='background-color:#006633' type='text' disabled value='" . $createDate . "' /&gt;";<br />echo "&lt;br /&gt;";<br />echo "&lt;strong&gt;Assigned To:&lt;/strong&gt; &lt;input name='assignTo' type='text' value='" . $assignee . "' /&gt;";<br />echo "&lt;br /&gt;";<br />echo "&lt;strong&gt;Due Date:&lt;/strong&gt; &lt;input name='dueDate' type='text' value='" . $dueDate . "' /&gt;";<br />echo "&lt;br /&gt;";<br />echo "&lt;strong&gt;Status:&lt;/strong&gt; &lt;input name='notNeeded' type='text' style='background-color:#006633' disabled value='" . $status . "' /&gt;";<br />echo "&nbsp;";<br />echo "&lt;strong&gt;Change Task Status To: &nbsp; &lt;/strong&gt;&lt;select name='status'&gt;<br />&lt;option value='Open'&gt;Open&lt;/option&gt;<br />&lt;option value='Closed'&gt;Closed&lt;/option&gt;<br />&lt;/select&gt;";<br />echo "&lt;br /&gt;";<br />echo "&lt;br /&gt;";<br />echo "&lt;strong&gt;Message:&lt;/strong&gt;" ;<br />echo "&lt;br /&gt;";<br />echo "&lt;textarea name='message' cols='40' rows='10'&gt;" . $taskMessage . " &lt;/textarea&gt;";<br />echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";<br /><br />echo "&lt;input name='save' type='submit' value='Save Changes' /&gt;<br />&lt;input name='reset' type='reset' value='Reset' /&gt;";<br /><br />echo "&lt;/form&gt;";<br /><br />?&gt;<br /><br />EDIT TASK.PHP<br /><br /><br />	Code:<br />	<br /><br /><br />&lt;?php<br /> &lt;?php include("connect.php"); // connection to database<br /><br />mysql_select_db("mmpprojects", $con);<br />$taskNo = "$_POST[taskNo]";<br />$dueDate = "$_POST[dueDate]";<br />$assignTo = "$_POST[assignTo]";<br />$project = "$_POST[project]";<br />$message = "$_POST[message]";<br />$status = "$_POST[status]";<br />$manHours = "$_POST[manHours]";<br />$createDate = "$_POST[createDate]";<br />$open ="Open";<br />$closed = "Closed";<br /><br /><br />mysql_query("UPDATE Tasks SET taskNo = '$taskNo',dueDate = '$dueDate',assignTo = '$assignTo',project = '$project',taskMessage = '$message',Status = '$status',manHours = '$manHours',creationDate = '$createDate' WHERE taskNo = '$taskNo'");<br /><br /><br />?&gt;<br />]]></description>
		<pubDate>Fri, 20 Nov 2009 12:17:50 -0500</pubDate>
		<guid>http://www.adguru.org/index.php?showtopic=65414</guid>
	</item>
	<item>
		<title>checkbox, MySql and PHP</title>
		<link>http://www.adguru.org/index.php?showtopic=65415</link>
		<description><![CDATA[I am populating a table through a "while" loop with usernames that come from MySql. The usernames that don't have a date associated with get a checkbox.<br /><br /><i>To check my results I use</i>: <br />$box = $_POST[box]; <br />print_r(box); <br /><i>in the next script</i><br /><br />My array <!--coloro:Red--><span style="color:Red"><!--/coloro-->gets filled <!--colorc--></span><!--/colorc-->when I use:<br />$table .= '&lt;td&gt;&lt;input type="checkbox" name="box[]" value="here is one"&gt;&lt;/td&gt;';<br /><br />My <!--coloro:red--><span style="color:red"><!--/coloro-->array has nothing<!--colorc--></span><!--/colorc-->, when I use:<br />$login = 'something';<br />$table .= '&lt;input type="checkbox" name="box[]" value="&lt;?php echo($login); ?&gt;"&gt;&lt;/td&gt;';<br /><br />My <!--coloro:red--><span style="color:red"><!--/coloro-->array has nothing<!--colorc--></span><!--/colorc-->, when I use:<br />$table .= '&lt;input type="checkbox" name="box[]" value="&lt;?php echo($row['LoginID']; ?&gt;"&gt;&lt;/td&gt;';<br /><br />So, what am I doing wrong?]]></description>
		<pubDate>Fri, 20 Nov 2009 12:14:14 -0500</pubDate>
		<guid>http://www.adguru.org/index.php?showtopic=65415</guid>
	</item>
	<item>
		<title>From: S19: Laura</title>
		<link>http://www.adguru.org/index.php?showtopic=65407</link>
		<description><![CDATA[<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->I also have to wonder how much Laura's disdain and hatred of Shambo stems from her lesbianism? I don't know if she has come out to anyone but even if she hasn't, she strikes me as the type to inadvertently reveal it in conversations to others (or others have picked up on it). Laura strikes me as the type of Christian that would hate gay people (and give most other Christians a bad name).<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />I'm not sure if it's funny or sad that you, and several others here who have said the same thing, have nothing to base this on but your intolerance towards Christians.]]></description>
		<pubDate>Fri, 20 Nov 2009 12:11:45 -0500</pubDate>
		<guid>http://www.adguru.org/index.php?showtopic=65407</guid>
	</item>
	<item>
		<title>Miley Is A Prosti-Tot!</title>
		<link>http://www.adguru.org/index.php?showtopic=65398</link>
		<description><![CDATA[<img src="http://img.perezhilton.com/wp-content/uploads/2009/11/wenn5377309mc__oPt.jpg" border="0" class="linked-image" /><br /><br /><br />Oh, she's just bein' Miley!<br /><br /><br /><b><a href="http://perezhilton.com/category/miley-cyrus" target="_blank">Miley Cyrus</a></b> had an '80s-themed 17th <a href="http://www.contactmusic.com/news.nsf/story/pretty-woman-miley-cyrus_1123158" target="_blank">birthday</a> bash in New York at the Canal Room on Thursday night and the Disney star dressed up as <b><a href="http://perezhilton.com/category/julia-roberts" target="_blank">Julia Roberts</a></b>' character in <i>Pretty Woman</i> - Vivian Ward, the hooker with the heart of gold!<br /><br /><br />We wonder which outfit she chose? <br /><br /><br />Who wants to bet it's the one from the beginning with blonde wig and thigh-high boots filled with condoms!?<br /><br /><br />Miley's mama <b>Tish</b> arranged for <b>Constantine Maroulis</b> and the rest of the cast from <i>Rock of Ages</i> to perform at the party.  <br /><br /><br />A source reveals:<br /><br /><br /><blockquote>"Miley had seen the show two weeks ago and loved it, so her mom Tish brought the cast in to surprise her.  But I'm not sure who was more into Constantine &#8212; Miley or her mother.  Between songs from the musical, Miley grabbed Constantine and danced with him at the front of the stage and then Tish joined in."<br /><br /></blockquote><br />Sounds like quite the hootenanny!<br /><br /><br />And we hate to break it to you, Miles, but <i>Pretty Woman</i> is from 1990!<br /><br /><br />[<i>Image via <a href="http://www.wenn.com" target="_blank">Ray Garbo / WENN</a></i>.]<br /><br /><br />]]></description>
		<pubDate>Fri, 20 Nov 2009 12:00:30 -0500</pubDate>
		<guid>http://www.adguru.org/index.php?showtopic=65398</guid>
	</item>
	<item>
		<title>Oprah Announces The End In Her Own Words</title>
		<link>http://www.adguru.org/index.php?showtopic=65399</link>
		<description><![CDATA[<img src="http://img.perezhilton.com/wp-content/uploads/2009/11/00ap091031050163__oPt.jpg" border="0" class="linked-image" /><br /><br /><br />On today's episode of <i>The Oprah Winfrey Show,</i> the Queen of Daytime TV <a href="http://www.wbaltv.com/entertainment/21668668/detail.html?treets=bal&#038;tml=bal_natlbreak&#038;ts=T&#038;tmi=bal_natlbreak_1_10130111202009" target="_blank">announced</a> the end of her reign.<br /><br /><br /><a href="http://www.perezhilton.com/category/oprah-winfrey/" target="_blank"><b>Oprah</b></a> explained the decision came "after much prayer and careful thought," but ultimately, it was the best choice for her. Holding back tears, she thanked her viewers who have vigilantly watched her show for over 20 years. She recalled how nervous she was when she started back in 1986 but revealed that she never believed it would lead down a "yellow brick road of blessings."<br /><br /><br />How emotional!<br /><br /><br />[<i>Image via <a href="http://apimages.ap.org" target="_blank">AP Images</a></i>.]<br /><br />]]></description>
		<pubDate>Fri, 20 Nov 2009 11:45:00 -0500</pubDate>
		<guid>http://www.adguru.org/index.php?showtopic=65399</guid>
	</item>
	<item>
		<title>Is Dustin Hoffman A Focker No More?</title>
		<link>http://www.adguru.org/index.php?showtopic=65400</link>
		<description><![CDATA[<img src="http://img.perezhilton.com/wp-content/uploads/2009/11/wenn2640102dh__oPt.jpg" border="0" class="linked-image" /><br /><br /><br /><b><a href="http://perezhilton.com/category/ben-stiller" target="_blank">Ben Stiller</a></b> and the gang have begun filming the third installment of the <i>Meet the Parents</i> franchise, <i>Little Fockers</i>, but rumor has it that <b>Dustin Hoffman</b> won't be reprising his role as Bernie Focker!<br /><br /><br />Supposedly, Hoffman was going to make a cameo at the end of the film, but it appears he may have <a href="http://hollywoodinsider.ew.com/2009/11/19/dustin-hoffman-little-fockers/" target="_blank">pulled out</a> due to scheduling conflicts or because the part wasn't big enough for him!<br /><br /><br />Diva!<br /><br /><br />As for <b><a href="http://perezhilton.com/category/barbra-streisand" target="_blank">Barbra Streisand</a></b>, she's still playing a big role in the film as Ben Stiller's mother.<br /><br /><br />We'll just have to wait and see if Dustin and Universal can come to some sort of agreement or it looks like Roz Focker will be going grandma alone!<br /><br /><br />[<i>Image via <a href="http://www.wenn.com" target="_blank">Andres Otero / WENN</a></i>.]<br /><br /><br />]]></description>
		<pubDate>Fri, 20 Nov 2009 11:30:52 -0500</pubDate>
		<guid>http://www.adguru.org/index.php?showtopic=65400</guid>
	</item>
	<item>
		<title>SuBo Breaks Records!</title>
		<link>http://www.adguru.org/index.php?showtopic=65401</link>
		<description><![CDATA[<img src="http://img.perezhilton.com/wp-content/uploads/2009/11/susanwenn5351786__oPt.jpg" border="0" class="linked-image" /><br /><br /><br /><a href="http://www.perezhilton.com/category/Sharon-Osbounre/" target="_blank"><b>Sharon Osbounre</b></a> is going to be eating her words once she hears this news!<br /><br /><br />Beloved Scottish sensation, <a href="http://www.perezhilton.com/category/susan-boyle/" target="_blank"><b>Susan Boyle</b></a>, has just broken the record for most pre-order albums on Amazon.com.<br /><br /><br />We hear the website has been "inundated" with <a href="http://www.contactmusic.com/news.nsf/story/boyle-breaks-amazoncom-pre-order-records_1123056" target="_blank">requests</a> for SuBo's debut cd, <i>I Dreamed A Dream</i>, and the numbers have "far surpassed" anything anyone had imagined.<br /><br /><br />That's how SuBo rolls!<br /><br /><br />Work it out girl!<br /><br /><br />[<i>Image via <a href="http://www.wenn.com" target="_blank">WENN</a></i>.]<br /><br />]]></description>
		<pubDate>Fri, 20 Nov 2009 11:15:01 -0500</pubDate>
		<guid>http://www.adguru.org/index.php?showtopic=65401</guid>
	</item>
	<item>
		<title>Divorcing! Poor Dawson Leery Never Gets the Girl</title>
		<link>http://www.adguru.org/index.php?showtopic=65402</link>
		<description><![CDATA[<img src="http://img.perezhilton.com/wp-content/uploads/2009/11/wenn-jamesvdb__opt.jpg" border="0" class="linked-image" /><br /><br /><br /><b>James Van Der Beek</b> has <a href="http://www.usmagazine.com/celebritynews/news/james-van-der-beek-files-for-divorce-20091911" target="_blank">filed</a> for divorce from his wife, non-celeb <b>Heather McComb</b>, after six years of marriage.<br /><br /><br />No reason has been released, but his rep insists that the duo remain "good friends."<br /><br /><br />That is exactly what Joey Potter told Dawson when <i>Creek</i> ended!<br /><br /><br />Geez, this guy can't catch a break!<br /><br /><br />[<i>Image via <a href="http://www.wenn.com" target="_blank">WENN</a></i>.]<br /><br />]]></description>
		<pubDate>Fri, 20 Nov 2009 11:00:40 -0500</pubDate>
		<guid>http://www.adguru.org/index.php?showtopic=65402</guid>
	</item>
	<item>
		<title><![CDATA[Celebs React To Oprah's Departure]]></title>
		<link>http://www.adguru.org/index.php?showtopic=65403</link>
		<description><![CDATA[<img src="http://img.perezhilton.com/wp-content/uploads/2009/11/00ap091031050163__oPt.jpg" border="0" class="linked-image" /><br /><br /><br />After a quarter of a century, <a href="http://www.perezhilton.com/category/oprah-winfrey/" target="_blank"><b>Oprah Winfrey</b></a> will be leaving you stay-at-home moms to your own devices as she is ending her daytime reign in September of 2011.<br /><br /><br />Many of her close friends and colleagues took a moment to <a href="http://www.people.com/people/article/0,,20321596,00.html" target="_blank">respond</a> to the news and, as you would imagine, they all have nothing but the best to say.<br /><br /><br />Her life partner in crime, <b>Gayle King</b>, assured the press that the decision to leave her daytime days behind was hers and hers alone. Furthermore, she has no doubt that Oprah will find a way to fill the void left behind:<br /><br /><br /><blockquote>" I think that Oprah always makes the best decision for herself. I really do. And I have a feeling she will come up with some things to do. She has a very full life … We don't need to worry about her filling her time, I promise you that! Life is good for her."<br /><br /></blockquote><br />New bestie <a href="http://www.perezhilton.com/category/Ellen-DeGeneres/" target="_blank"><b>Ellen DeGeneres</b></a> made similar comments when addressing her in-studio audience last night, saying:<br /><br /><br /><blockquote>"Hey listen, I'm going to tell you some news you're going to hear as soon as you go out into the world, when you leave here. Right before I came out here, I got a call from Oprah and she told me that she is announcing that next year will be her last year. It will be her 25th year, and she feels like it's time for her to stop&#8230;I don't think I could be here without her. I think she has blazed a trail &#8230; She is an amazing woman&#8230;She will always be the Queen of Daytime Television."<br /><br /></blockquote><br />Ah, but there is another Queen of Daytime who's doesn't think we have seen the last of O. <a href="http://www.perezhilton.com/category/martha-stewart/" target="_blank"><b>Martha Stewart</b></a> told reporters that she believes Oprah will be back, once she has had some time off:<br /><br /><br /><blockquote>"She'll do another show. She's evolving. She's fabulous."<br /><br /></blockquote><br />We're sure she will do another show as well. Question is, will she have it air on network TV or her new cable network, OWN?<br /><br /><br />We'll have to wait and see.<br /><br /><br />What do U think of O's big move?<br /><br /><br />[<i>Image via <a href="http://apimages.ap.org" target="_blank">AP Images</a></i>.]<br /><br /><br />]]></description>
		<pubDate>Fri, 20 Nov 2009 10:45:12 -0500</pubDate>
		<guid>http://www.adguru.org/index.php?showtopic=65403</guid>
	</item>
	<item>
		<title>Using CSS Variables Style Sheet with PHP</title>
		<link>http://www.adguru.org/index.php?showtopic=65416</link>
		<description><![CDATA[I'm curious if there is a favorite method to use CSS Variables in a Style Sheet with PHP?<br /><br />Here is one example that seems to be good: <br /><br /><a href="http://sperling.com/examples/pcss/" target="_blank">http://sperling.com/examples/pcss/</a><br /><br />Q : Any other favorite methods?]]></description>
		<pubDate>Fri, 20 Nov 2009 10:44:47 -0500</pubDate>
		<guid>http://www.adguru.org/index.php?showtopic=65416</guid>
	</item>
</channel>
</rss>