<?xml version="1.0" encoding="utf-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>DaniWeb IT Discussion Community - 15,16,17,18,19,24,28,31,62,73,117,126,127,128,129,130,142,143,145,151</title>
		<link>http://www.daniweb.com/forums/</link>
		<description>Tech support, programming, web development, and internet marketing community. Forums to get free computer help and support.</description>
		<language>en-US</language>
		<lastBuildDate>Tue, 15 Dec 2009 01:08:32 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.daniweb.com/alphaimages/misc/rss.jpg</url>
			<title>DaniWeb IT Discussion Community - 15,16,17,18,19,24,28,31,62,73,117,126,127,128,129,130,142,143,145,151</title>
			<link>http://www.daniweb.com/forums/</link>
		</image>
		<item>
			<title><![CDATA[Call different 'include' file depending on browser?]]></title>
			<link>http://www.daniweb.com/forums/thread246430.html</link>
			<pubDate>Mon, 14 Dec 2009 23:37:37 GMT</pubDate>
			<description><![CDATA[Is it possible to control which files get included by looking at the browser type? 
 
For example if I'm using: 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox"...]]></description>
			<content:encoded><![CDATA[<div>Is it possible to control which files get included by looking at the browser type?<br />
<br />
For example if I'm using:<br />
 <pre style="margin:20px; line-height:13px">&lt;?php include(&quot;includes/nav.php&quot;); ?&gt;</pre><br />
but for all IE browser versions I'd like to call a different file, nav_ie.php, can that be done, and if so, how would I go about it?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>kanjigirl</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246430.html</guid>
		</item>
		<item>
			<title>Custome CreateUserWizard and Login With my own Database</title>
			<link>http://www.daniweb.com/forums/thread246427.html</link>
			<pubDate>Mon, 14 Dec 2009 22:45:26 GMT</pubDate>
			<description>Hello, 
I want to use CreateUserWizard.  
Here i want to add some additional fields in that wizard. 
Also i want my own validation (even for password format) in this wizard. 
Also i want this to be stored in my sql database, instead of ASP.NET Website Configuration default website (as it is very...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
I want to use CreateUserWizard. <br />
Here i want to add some additional fields in that wizard.<br />
Also i want my own validation (even for password format) in this wizard.<br />
Also i want this to be stored in my sql database, instead of ASP.NET Website Configuration default website (as it is very larger of around 10 mb).<br />
How can i do this?<br />
So when i use login control validation must occurs from this database.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>bharanidharanit</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246427.html</guid>
		</item>
		<item>
			<title>Searchable document database?</title>
			<link>http://www.daniweb.com/forums/thread246405.html</link>
			<pubDate>Mon, 14 Dec 2009 20:59:03 GMT</pubDate>
			<description><![CDATA[Hi 
 
I have a bunch of .pdf's full of music notes in a library and I want these notes to be search-able from my site using three values (that, would be very nice if can be combined using AND and OR operators): 1) author; 2) title 3) keyword. 
- How can this be done? Is there any possible open...]]></description>
			<content:encoded><![CDATA[<div>Hi<br />
<br />
I have a bunch of .pdf's full of music notes in a library and I want these notes to be <span style="font-style:italic">search-able</span> from my site using three values (that, would be very nice if can be <span style="font-style:italic">combined</span> using AND and OR operators): 1) author; 2) title 3) keyword.<br />
- How can this be done? Is there any possible open source solutions I have missed, perhaps? <br />
<br />
I found <a rel="nofollow" class="t" href="http://www.dspace.org/" target="_blank">dspace.org</a> software, but it's quite complex and I'm not sure if it will give me results I need.<br />
<br />
I must say I'm no programmer, but a website admin, and I want to make myself clear <span style="font-style:italic">to</span> a programmer :) And I want to know what are possibilities out there to achieve such things.<br />
<br />
<br />
Thanks in advance!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum126.html">MySQL</category>
			<dc:creator>lemort</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246405.html</guid>
		</item>
		<item>
			<title>jQuery, list elements in the section</title>
			<link>http://www.daniweb.com/forums/thread246391.html</link>
			<pubDate>Mon, 14 Dec 2009 20:01:37 GMT</pubDate>
			<description><![CDATA[I will keep it simple. I need to list id of every element in given section. 
Example 
 
<div id="leftSide"> 
    <ul id="leftList"> 
        <li id="item1"item 1</li> 
        <li id="item2"item 2</li> 
        <li id="item3"item 3</li> 
        <li id="item4"item 4</li> 
        <li id="item5"item...]]></description>
			<content:encoded><![CDATA[<div>I will keep it simple. I need to list id of every element in given section.<br />
Example<br />
 <pre style="margin:20px; line-height:13px">&lt;div id=&quot;leftSide&quot;&gt;<br />
&nbsp; &nbsp; &lt;ul id=&quot;leftList&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;li id=&quot;item1&quot;item 1&lt;/li&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;li id=&quot;item2&quot;item 2&lt;/li&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;li id=&quot;item3&quot;item 3&lt;/li&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;li id=&quot;item4&quot;item 4&lt;/li&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;li id=&quot;item5&quot;item 5&lt;/li&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;li id=&quot;item6&quot;item 6&lt;/li&gt;<br />
&nbsp; &nbsp; &lt;/ul&gt;<br />
&lt;/div&gt;<br />
&lt;div id=&quot;rightSide&quot;&gt;<br />
&nbsp; &nbsp; &lt;ul id=&quot;rightList&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;li id=&quot;item2&quot;item 2&lt;/li&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;li id=&quot;item4&quot;item 4&lt;/li&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;li id=&quot;item6&quot;item 6&lt;/li&gt;<br />
&nbsp; &nbsp; &lt;/ul&gt;<br />
&lt;/div&gt;</pre>I need to get IDs for &quot;li&quot; items on the &quot;rightSide&quot; container.<br />
How to?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>peter_budo</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246391.html</guid>
		</item>
		<item>
			<title>Action Script 3.0 Classes</title>
			<link>http://www.daniweb.com/forums/thread246385.html</link>
			<pubDate>Mon, 14 Dec 2009 19:58:21 GMT</pubDate>
			<description><![CDATA[Hello Everyone, 
 
Having newly discovered tweeing with code I now would like to learn the AS3 classes in their entirety to know what options I have for animation.  It's looking like the only way to learn these classes and their respective methods, events, event handlers, and properties is to go...]]></description>
			<content:encoded><![CDATA[<div>Hello Everyone,<br />
<br />
Having newly discovered tweeing with code I now would like to learn the AS3 classes in their entirety to know what options I have for animation.  It's looking like the only way to learn these classes and their respective methods, events, event handlers, and properties is to go through them one by one.  Is that the case?  That could take forever it seems.  Does someone have a better way?  :-/</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum28.html">Graphics and Multimedia</category>
			<dc:creator>Reliable</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246385.html</guid>
		</item>
		<item>
			<title>send 10,000 email with php and mysql</title>
			<link>http://www.daniweb.com/forums/thread246384.html</link>
			<pubDate>Mon, 14 Dec 2009 19:56:29 GMT</pubDate>
			<description>Hi! 
i want to send 10,000 email to my users i have shared web hosting. i think i have only this solution.  
 
i want a simple php coding. if some one visit at my site an email automatically send from database list. 
 
i have a mysql table 
 
-------------------------------- 
| ID | email | Status...</description>
			<content:encoded><![CDATA[<div>Hi!<br />
i want to send 10,000 email to my users i have shared web hosting. i think i have only this solution. <br />
<br />
i want a simple php coding. if some one visit at my site an email automatically send from database list.<br />
<br />
i have a mysql table<br />
<br />
--------------------------------<br />
| ID | email | Status | <br />
|-----|--------------|---------|<br />
| 1 | emailaddress | 0 |<br />
|-----|--------------|---------|<br />
| 2 | emailaddress2 | 1 |<br />
--------------------------------<br />
<br />
After send an email, email status automaticly change to 0<br />
<br />
(sorry for my poor english)<br />
<br />
Thanks in advance</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>sanishan</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246384.html</guid>
		</item>
		<item>
			<title>how to put the result from my query into an array</title>
			<link>http://www.daniweb.com/forums/thread246378.html</link>
			<pubDate>Mon, 14 Dec 2009 19:38:31 GMT</pubDate>
			<description>Here is an extracted code from my php file. Basically what i want to do now is put the results fetched while in a WHILE loop into an array, lets call it $array99. HOWW??? i am totally stumped here. 
 
Just so you can understand the logic of the program(its irrelevant to my question though), we have...</description>
			<content:encoded><![CDATA[<div>Here is an extracted code from my php file. Basically what i want to do now is put the results fetched while in a WHILE loop into an array, lets call it $array99. HOWW??? i am totally stumped here.<br />
<br />
Just so you can understand the logic of the program(its irrelevant to my question though), we have partial links stored in the database column ( link_pdf). To get the complete path of a document , i must pre pend it so thats where $pre1 variable comes from.<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;?php<br />
<br />
$db = openDatabase();<br />
<br />
$myQu = &quot;SELECT link_pdf FROM standards WHERE link_pdf LIKE 'Standards/%' &quot;;<br />
$my = mysql_query ($myQu, $db);<br />
<br />
while ($row = mysql_fetch_assoc($my)) {<br />
<br />
$link = $row['link_pdf'];<br />
<br />
&nbsp; &nbsp; #prepend<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; $pre1 = 'C:/WAMP/Apache/htdocs/filestore/Document_library/';<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; #echo &quot;the prepended bit is $pre1 \n&quot;;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; $path = $pre1.$link;<br />
#echo &quot;the complete path is $path&quot;.&quot;&lt;br&gt;&quot;;<br />
<br />
}</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>bigjoke</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246378.html</guid>
		</item>
		<item>
			<title>How to run SQL script in case sensitive mode without changing the collation</title>
			<link>http://www.daniweb.com/forums/thread246362.html</link>
			<pubDate>Mon, 14 Dec 2009 19:01:21 GMT</pubDate>
			<description><![CDATA[Currently our database is set to case-insensitive so when I search for the word "Math" I can get "MATH" or "Math" and even "math". Now I would like to run a script that searches for any word that is the lower case form such as "math" or "science". Since the collation is set to "I don't care" it...]]></description>
			<content:encoded><![CDATA[<div>Currently our database is set to case-insensitive so when I search for the word &quot;Math&quot; I can get &quot;MATH&quot; or &quot;Math&quot; and even &quot;math&quot;. Now I would like to run a script that searches for any word that is the lower case form such as &quot;math&quot; or &quot;science&quot;. Since the collation is set to &quot;I don't care&quot; it will ignore my request of like '[a-z]%' and return the uppercase words. I can also check this by using this script below which compares the same words but in different case:<br />
<br />
 <pre style="margin:20px; line-height:13px">declare @var1 varchar(4)<br />
declare @var2 varchar(4)<br />
set @var1 = 'acct'<br />
set @var2 = 'ACCT'<br />
<br />
if @var1 = @var2<br />
print 'match'<br />
else<br />
print 'no match'</pre><br />
So my question is, is there a way to temporarily set the scope of that script to a case sensative collation for that particular script and not change the server/database collation?<br />
<br />
thanks,<br />
GM</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum127.html">MS SQL</category>
			<dc:creator>Geek-Master</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246362.html</guid>
		</item>
		<item>
			<title><![CDATA[Need a help I'm to php.Help me cross check this code. And find out my error please.]]></title>
			<link>http://www.daniweb.com/forums/thread246345.html</link>
			<pubDate>Mon, 14 Dec 2009 18:10:25 GMT</pubDate>
			<description><![CDATA[< ?php 
// take in the id of a director and return his/her full name 
function get_director($director_id) { 
global $db; 
$query = ‘SELECT 
people_fullname 
FROM 
people 
WHERE 
people_id = ‘ . $director_id;]]></description>
			<content:encoded><![CDATA[<div>&lt; ?php<br />
// take in the id of a director and return his/her full name<br />
function get_director($director_id) {<br />
global $db;<br />
$query = ‘SELECT<br />
people_fullname<br />
FROM<br />
people<br />
WHERE<br />
people_id = ‘ . $director_id;<br />
$result = mysql_query($query, $db) or die(mysql_error($db));<br />
$row = mysql_fetch_assoc($result);<br />
extract($row);<br />
return $people_fullname;<br />
}<br />
// take in the id of a lead actor and return his/her full name<br />
function get_leadactor($leadactor_id) {<br />
global $db;<br />
$query = ‘SELECT<br />
people_fullname<br />
FROM<br />
people<br />
WHERE<br />
people_id = ‘ . $leadactor_id;<br />
$result = mysql_query($query, $db) or die(mysql_error($db));<br />
$row = mysql_fetch_assoc($result);<br />
extract($row);<br />
return $people_fullname;<br />
}<br />
// take in the id of a movie type and return the meaningful textual<br />
// description<br />
function get_movietype($type_id) {<br />
global $db;<br />
$query = ‘SELECT<br />
movietype_label<br />
FROM<br />
movietype<br />
WHERE<br />
movietype_id = ‘ . $type_id;<br />
$result = mysql_query($query, $db) or die(mysql_error($db));<br />
$row = mysql_fetch_assoc($result);<br />
extract($row);<br />
return $movietype_label;<br />
}<br />
// function to calculate if a movie made a profit, loss or just broke even<br />
function calculate_differences($takings, $cost) {<br />
$difference = $takings - $cost;<br />
if ($difference &lt; 0) {<br />
$color = ‘red’;<br />
$difference = ‘$’ . abs($difference) . ‘ million’;<br />
} elseif ($difference &gt; 0) {<br />
$color =’green’;<br />
$difference = ‘$’ . $difference . ‘ million’;<br />
} else {<br />
$color = ‘blue’;<br />
$difference = ‘broke even’;<br />
}<br />
return ‘ &lt; span style=”color:’ . $color . ‘;” &gt; ’ . $difference . ‘ &lt; /span &gt; ’;<br />
}<br />
//connect to MySQL<br />
$db = mysql_connect(‘localhost’, ‘bp6am’, ‘bp6ampass’) or<br />
die (‘Unable to connect. Check your connection parameters.’);<br />
mysql_select_db(‘moviesite’, $db) or die(mysql_error($db));<br />
// retrieve information<br />
$query = ‘SELECT<br />
movie_name, movie_year, movie_director, movie_leadactor,<br />
movie_type, movie_running_time, movie_cost, movie_takings<br />
FROM<br />
movie<br />
WHERE<br />
movie_id = ‘ . $_GET[‘movie_id’];<br />
$result = mysql_query($query, $db) or die(mysql_error($db));<br />
$row = mysql_fetch_assoc($result);<br />
$movie_name = $row[‘movie_name’];<br />
$movie_director = get_director($row[‘movie_director’]);<br />
$movie_leadactor = get_leadactor($row[‘movie_leadactor’]);<br />
$movie_year = $row[‘movie_year’];<br />
$movie_running_time = $row[‘movie_running_time’] .’ mins’;<br />
$movie_takings = $row[‘movie_takings’] . ‘ million’;<br />
$movie_cost = $row[‘movie_cost’] . ‘ million’;<br />
$movie_health = calculate_differences($row[‘movie_takings’],<br />
$row[‘movie_cost’]);<br />
// display the information<br />
echo &lt; &lt; &lt; ENDHTML<br />
&lt; html &gt;<br />
&lt; head &gt;<br />
&lt; title &gt; Details and Reviews for: $movie_name &lt; /title &gt;<br />
&lt; /head &gt;<br />
&lt; body &gt;<br />
&lt; div style=”text-align: center;” &gt;<br />
&lt; h2 &gt; $movie_name &lt; /h2 &gt;<br />
&lt; h3 &gt; &lt; em &gt; Details &lt; /em &gt; &lt; /h3 &gt;<br />
&lt; table cellpadding=”2” cellspacing=”2”<br />
style=”width: 70%; margin-left: auto; margin-right: auto;” &gt;<br />
&lt; tr &gt;<br />
&lt; td &gt; &lt; strong &gt; Title &lt; /strong &gt; &lt; /strong &gt; &lt; /td &gt;<br />
&lt; td &gt; $movie_name &lt; /td &gt;<br />
&lt; td &gt; &lt; strong &gt; Release Year &lt; /strong &gt; &lt; /strong &gt; &lt; /td &gt;<br />
&lt; td &gt; $movie_year &lt; /td &gt;<br />
&lt; /tr &gt; &lt; tr &gt;<br />
&lt; td &gt; &lt; strong &gt; Movie Director &lt; /strong &gt; &lt; /td &gt;<br />
&lt; td &gt; $movie_director &lt; /td &gt;<br />
&lt; td &gt; &lt; strong &gt; Cost &lt; /strong &gt; &lt; /td &gt;<br />
&lt; td &gt; $$movie_cost &lt; td/ &gt;<br />
&lt; /tr &gt; &lt; tr &gt;<br />
&lt; td &gt; &lt; strong &gt; Lead Actor &lt; /strong &gt; &lt; /td &gt;<br />
&lt; td &gt; $movie_leadactor &lt; /td &gt;<br />
&lt; td &gt; &lt; strong &gt; Takings &lt; /strong &gt; &lt; /td &gt;<br />
&lt; td &gt; $$movie_takings &lt; td/ &gt;<br />
&lt; /tr &gt; &lt; tr &gt;<br />
&lt; td &gt; &lt; strong &gt; Running Time &lt; /strong &gt; &lt; /td &gt;<br />
&lt; td &gt; $movie_running_time &lt; /td &gt;<br />
&lt; td &gt; &lt; strong &gt; Health &lt; /strong &gt; &lt; /td &gt;<br />
&lt; td &gt; $movie_health &lt; td/ &gt;<br />
&lt; /tr &gt;<br />
&lt; /table &gt; &lt; /div &gt;<br />
&lt; /body &gt;<br />
&lt; /html &gt;<br />
ENDHTML;<br />
? &gt;</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>oluwafisayo</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246345.html</guid>
		</item>
		<item>
			<title>html editor  (text editor)</title>
			<link>http://www.daniweb.com/forums/thread246341.html</link>
			<pubDate>Mon, 14 Dec 2009 17:57:04 GMT</pubDate>
			<description>hi  
 
i want html editor  
 
and i search  i find many  
 
but it dose not work with asp.net page  
 
 
i try to get help to design by my self i dont find any resource</description>
			<content:encoded><![CDATA[<div>hi <br />
<br />
i want html editor <br />
<br />
and i search  i find many <br />
<br />
but it dose not work with asp.net page <br />
<br />
<br />
i try to get help to design by my self i dont find any resource <br />
<br />
<br />
i need help  :(<br />
<br />
<br />
i need simple html editor  not complex one <br />
<br />
and i need resource to learn how to write it by my self <br />
<br />
<br />
<br />
i hope some one can help me</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>yara.008</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246341.html</guid>
		</item>
		<item>
			<title>ACP Problem.</title>
			<link>http://www.daniweb.com/forums/thread246336.html</link>
			<pubDate>Mon, 14 Dec 2009 17:45:21 GMT</pubDate>
			<description><![CDATA[I am using a NBBS server, PHP based. I am not sure this is the right sub- forum to ask or not but anyways.  
 
I go to ACP --> Skins --> Import Skins  
 
It takes me to a skin archive page having 6 skins. It doesn't show me an option for uploading a skin that is on my PC.  
 
Can anybody shed some...]]></description>
			<content:encoded><![CDATA[<div>I am using a NBBS server, PHP based. I am not sure this is the right sub- forum to ask or not but anyways. <br />
<br />
I go to ACP --&gt; Skins --&gt; Import Skins <br />
<br />
It takes me to a skin archive page having 6 skins. It doesn't show me an option for uploading a skin that is on my PC. <br />
<br />
Can anybody shed some light as how I can add a skin on my hard drive onto the site? <br />
<br />
the NBBS site has nothing on their site, or I wasn't able to find anything that was helpful. <br />
<br />
Please try and help.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>--Fire--</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246336.html</guid>
		</item>
		<item>
			<title>JS Code help</title>
			<link>http://www.daniweb.com/forums/thread246335.html</link>
			<pubDate>Mon, 14 Dec 2009 17:43:18 GMT</pubDate>
			<description><![CDATA[In this the JS Codes (in the code tag)are not working only in this page can any one help me on this 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox"...]]></description>
			<content:encoded><![CDATA[<div>In this the JS Codes (in the code tag)are not working only in this page can any one help me on this<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br />
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;!-- InstanceBegin template=&quot;/Templates/main.dwt.php&quot; codeOutsideHTMLIsLocked=&quot;false&quot; --&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;<br />
&lt;!-- InstanceBeginEditable name=&quot;doctitle&quot; --&gt;<br />
&lt;title&gt;Luxmi Lanka&lt;/title&gt;<br />
&lt;!-- InstanceEndEditable --&gt;<br />
&lt;!-- InstanceBeginEditable name=&quot;head&quot; --&gt;<br />
&lt;!-- InstanceEndEditable --&gt;<br />
&lt;link href=&quot;CSS/style.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;<br />
&lt;script language=&quot;javascript&quot; src=&quot;calendar/calendar.js&quot;&gt;&lt;/script&gt;<br />
&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery.js&quot;&gt;&lt;/script&gt;<br />
<br />
&lt;script type=&quot;text/javascript&quot; src=&quot;js/js1.js&quot;&gt;&lt;/script&gt;<br />
&lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot; src=&quot;js/mootools.js&quot;&gt;&lt;/script&gt;<br />
&lt;script language=&quot;javascript&quot; type=&quot;text/javascript&quot; src=&quot;js/getchqno.js&quot;&gt;&lt;/script&gt;<br />
<br />
&lt;/head&gt;<br />
<br />
&lt;body onload=&quot;GetValues()&quot;&gt;<br />
&lt;div id=&quot;body&quot; &gt;<br />
&lt;div id=&quot;head&quot;&gt;&lt;img src=&quot;images/banner.png&quot; width=&quot;498&quot; height=&quot;123&quot; /&gt;<br />
&lt;div id=&quot;menutop&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;ul&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href=&quot;index.php&quot;&gt;&lt;span&gt;&amp;nbsp; Home&amp;nbsp; &lt;/span&gt;&lt;/a&gt;&lt;/li&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href=&quot;addsupcus.php&quot;&gt;&lt;span&gt; &amp;nbsp;Controll&amp;nbsp; &lt;/span&gt;&lt;/a&gt;&lt;/li&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href=&quot;report.php&quot;&gt;&lt;span&gt; &amp;nbsp;Reports&amp;nbsp; &lt;/span&gt;&lt;/a&gt;&lt;/li&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;span&gt; &amp;nbsp;Other&amp;nbsp; &lt;/span&gt;&lt;/a&gt;&lt;/li&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/ul&gt;<br />
&lt;/div&gt;<br />
&lt;/div&gt;<br />
<br />
<br />
&lt;div id=&quot;content&quot;&gt;&lt;!-- InstanceBeginEditable name=&quot;EditRegion3&quot; --&gt;&lt;div id=&quot;sidemenu&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;&lt;a href=&quot;index.php?supstatus=1&amp;cusstatus=0&quot;&gt;Supplier Transactions&lt;/a&gt;&lt;/p&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;&lt;a href=&quot;index.php?supstatus=0&amp;cusstatus=1&quot;&gt;Coustomer Transactions&lt;/a&gt;&lt;/p&gt;<br />
&nbsp; &nbsp; &lt;p&gt;&lt;a href=&quot;index.php?supstatus=0&amp;cusstatus=1&quot;&gt;Cheque&lt;/a&gt;&lt;/p&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&lt;/div&gt;<br />
&lt;div id=&quot;divadd&quot;&gt;<br />
<br />
div for add informations<br />
&lt;div&nbsp; id=&quot;cheqdes&quot;&gt;<br />
&nbsp; &lt;p&gt;&lt;b&gt;Clearence Cheques Of Today&lt;/b&gt;&lt;/p&gt;<br />
&nbsp; &lt;table width=&quot;185&quot; border=&quot;0&quot; bgcolor=&quot;#fff3ff&quot; style=&quot;margin-left:auto; margin-right:auto;&quot;&gt;<br />
&nbsp; &nbsp; &lt;tr style=&quot;background-color: #eab8eb;&quot; &gt;<br />
&nbsp; &nbsp; &nbsp; &lt;td width=&quot;95&quot;&gt;&lt;b&gt;Name&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;td width=&quot;74&quot;&gt;&lt;b&gt;Ammount&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &lt;?php <br />
&nbsp; &nbsp; &nbsp; &nbsp; include(&quot;init/db.php&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $today=date(&quot;Y-m-d&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $sql=&quot;SELECT *<br />
FROM `cheques_details` where date='$today'&quot;;<br />
$result=mysql_query($sql);<br />
while($info=mysql_fetch_array($result)){<br />
&nbsp; &nbsp; &nbsp; &nbsp; $name=$info['name_of_owner'];<br />
&nbsp; &nbsp; &nbsp; &nbsp; $ammount=$info['ammount'];<br />
&nbsp; &nbsp; &nbsp; &nbsp; $id=$info['id'];<br />
&nbsp; &nbsp; &nbsp; &nbsp; $url=&quot;'chq/chqpopup.php?id=$id'&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  echo '&lt;tr onclick=&quot;javascript<b></b>:popUpchq('.$url.')&quot; id=&quot;chqtb&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;td&gt;'.$name.'&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;td&gt;'.$ammount.'&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;/tr&gt;';<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ?&gt;<br />
&nbsp;<br />
&nbsp; &lt;/table&gt;<br />
&nbsp; &lt;p&gt;&amp;nbsp;&lt;/p&gt;<br />
&lt;/div&gt;<br />
<br />
&nbsp;<pre style="margin:20px; line-height:13px">&lt;script type=&quot;text/javascript&quot;&gt;<br />
function buildSelect(select, options)<br />
{<br />
&nbsp; &nbsp; var select = $(select);<br />
&nbsp; &nbsp; select.empty();<br />
&nbsp; &nbsp; options.each(function(item) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; if($type(item) != &quot;array&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; item = [item, item];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var option = new Element(&quot;option&quot;, {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; text: item[0].toString(),<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; value: item[1].toString()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; option.inject(select);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; });<br />
}<br />
<br />
function domready()<br />
{<br />
&nbsp; &nbsp; $('master').addEvent('change', master_changed);<br />
}<br />
<br />
function master_changed()<br />
<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; var req = new Request.JSON({<br />
&nbsp; &nbsp; &nbsp; &nbsp; url: 'getowner.php',<br />
&nbsp; &nbsp; &nbsp; &nbsp; method: 'post',<br />
&nbsp; &nbsp; &nbsp; &nbsp; data: 'id=' + encodeURIComponent($('master').get('value'))<br />
&nbsp; &nbsp; });<br />
&nbsp; &nbsp; req.addEvent('success', function(response) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; buildSelect('slave', response);<br />
&nbsp; &nbsp; });<br />
&nbsp; &nbsp; req.send();<br />
}<br />
window.addEvent('domready', domready);<br />
&lt;/script&gt;</pre>&lt;div id=&quot;deks&quot;&gt;desk<br />
&nbsp; &lt;form action=&quot;&quot; method=&quot;post&quot; name=&quot;F2&quot; id=&quot;F2&quot; &gt;<br />
&nbsp; &nbsp; &lt;p&gt;Make<br />
&nbsp; &nbsp; &nbsp; &lt;select name=&quot;make&quot; id=&quot;master&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;option selected=&quot;selected&quot; &gt;d1&lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;?php<br />
&nbsp;  include(&quot;init/db.php&quot;);<br />
&nbsp; &nbsp; &nbsp;  $sql=&quot;SELECT *<br />
FROM `customers`&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $result=mysql_query($sql);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while ($info=mysql_fetch_array($result)){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $id= $info['id'];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $name = $info['fname'].&quot; &quot;.$info['lname'];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo '&lt;option value=&quot;'.$id.'&quot;&gt;'.$name.'&lt;/option&gt;';<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ?&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;/select&gt;<br />
&nbsp; &nbsp; &lt;/p&gt;<br />
&nbsp; &nbsp; &lt;p&gt;Model<br />
&nbsp; &nbsp; &nbsp; &lt;select name=&quot;model&quot; id=&quot;slave&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;option&gt;SELECT&lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;/select&gt;<br />
&nbsp; &nbsp; &lt;/p&gt;<br />
&nbsp; &lt;/form&gt;<br />
&lt;/div&gt;<br />
<br />
<br />
<br />
<br />
&lt;/div&gt; &lt;!-- InstanceEndEditable --&gt;&lt;/div&gt;<br />
<br />
<br />
&lt;/div&gt;<br />
&lt;/body&gt;<br />
&lt;!-- InstanceEnd --&gt;&lt;/html&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>ruwanaru</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246335.html</guid>
		</item>
		<item>
			<title>Image scrolls down with text</title>
			<link>http://www.daniweb.com/forums/thread246327.html</link>
			<pubDate>Mon, 14 Dec 2009 17:09:25 GMT</pubDate>
			<description><![CDATA[I've seen on a lot of sites that when you scroll down a text, the background image stays the same; If I scroll down the image stays on the place and the piece of text that can't fit on the image height is shown on a white background; 
 
how can I make the image scroll down with the text?]]></description>
			<content:encoded><![CDATA[<div>I've seen on a lot of sites that when you scroll down a text, the background image stays the same; If I scroll down the image stays on the place and the piece of text that can't fit on the image height is shown on a white background;<br />
<br />
how can I make the image scroll down with the text?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum143.html">HTML and CSS</category>
			<dc:creator>Kruptein</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246327.html</guid>
		</item>
		<item>
			<title>Basic Form Validation Help</title>
			<link>http://www.daniweb.com/forums/thread246325.html</link>
			<pubDate>Mon, 14 Dec 2009 17:01:27 GMT</pubDate>
			<description><![CDATA[Please help me with my follwing code. 
this can only check if username textbox is empty. 
how do i also make it so that it checks if password textbox is empty and thereby give an error??? please help. 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>Please help me with my follwing code.<br />
this can only check if username textbox is empty.<br />
how do i also make it so that it checks if password textbox is empty and thereby give an error??? please help.<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;html&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
function validateFormOnSubmit(strng){<br />
if(strng.value==&quot;&quot;)<br />
{<br />
alert(&quot;Empty&quot;);<br />
return false;<br />
}<br />
else<br />
{<br />
return true;<br />
}<br />
}<br />
&lt;/script&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;form onsubmit=&quot;return validateFormOnSubmit(textBox1);&quot; method=&quot;post&quot;&gt;<br />
User Name &lt;input type=&quot;text&quot; name=&quot;textBox1&quot; id=&quot;textBox1&quot; /&gt; &lt;br&gt;<br />
Password &lt;input type=&quot;password&quot; name=&quot;txtPassword&quot; /&gt; &lt;br&gt;<br />
&lt;input type=&quot;submit&quot; value=&quot;Ok&quot; /&gt;<br />
&lt;input type=&quot;button&quot; value=&quot;Cancel&quot; /&gt;<br />
&lt;/form&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>rukshilag</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246325.html</guid>
		</item>
		<item>
			<title>Switch statement in PHP file with CSS classes?</title>
			<link>http://www.daniweb.com/forums/thread246320.html</link>
			<pubDate>Mon, 14 Dec 2009 16:45:31 GMT</pubDate>
			<description><![CDATA[This is an included file on one of my PHP sites on localhost: 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags" target="_blank">Help...]]></description>
			<content:encoded><![CDATA[<div>This is an included file on one of my PHP sites on localhost:<br />
 <pre style="margin:20px; line-height:13px">&lt;?<br />
//connect to mysql<br />
//change user and password to your mySQL name and password<br />
mysql_connect(&quot;localhost&quot;,&quot;root&quot;,&quot;PASSWORDDELETED&quot;); <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
//select which database you want to edit<br />
mysql_select_db(&quot;myradiostation1&quot;); <br />
<br />
//select the table<br />
$result = mysql_query(&quot;select * from presenters&quot;);<br />
<br />
//grab all the content<br />
while($r=mysql_fetch_array($result))<br />
{<br />
&nbsp;  //the format is $variable = $r[&quot;nameofmysqlcolumn&quot;];<br />
&nbsp;  //modify these to match your mysql table columns<br />
&nbsp;  $showtime=$r[&quot;showtime&quot;];<br />
&nbsp;  $dj=$r[&quot;dj&quot;];<br />
&nbsp;  $showinfo=$r[&quot;showinfo&quot;];<br />
&nbsp;  $presenterimage=$r[&quot;presenterimage&quot;];<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&nbsp; &lt;ol class=\&quot;schedList\&quot;&gt;<br />
&nbsp; &lt;li class=\&quot;\&quot;&gt;<br />
<br />
&nbsp; &nbsp; &lt;h4&gt;&lt;span&gt;$showtime&lt;/span&gt; $dj&lt;/h4&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &lt;p&gt;$showdesc&lt;/p&gt;<br />
&nbsp; <br />
&nbsp; &nbsp; &lt;a href=\&quot;http://www.example.com\&quot; class=\&quot;more\&quot;&gt;More about example&lt;/a&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;img src=\&quot;$presenterpic\&quot; alt=\&quot;Non - Stop Music\&quot; /&gt;<br />
&nbsp; <br />
&nbsp; &lt;/li&gt;&quot;;<br />
}<br />
?&gt;</pre><br />
What I'm trying to do is use a switch statement in this code, so that one column is like this:<br />
 <pre style="margin:20px; line-height:13px">&nbsp; &lt;li class=\&quot;\&quot;&gt;<br />
<br />
&nbsp; &nbsp; &lt;h4&gt;&lt;span&gt;$showtime&lt;/span&gt; $dj&lt;/h4&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &lt;p&gt;$showdesc&lt;/p&gt;<br />
&nbsp; <br />
&nbsp; &nbsp; &lt;a href=\&quot;http://www.example.com\&quot; class=\&quot;more\&quot;&gt;More about example&lt;/a&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;img src=\&quot;$presenterpic\&quot; alt=\&quot;Non - Stop Music\&quot; /&gt;<br />
&nbsp; <br />
&nbsp; &lt;/li&gt;&quot;;</pre><br />
and<br />
 <pre style="margin:20px; line-height:13px">&nbsp; &lt;li class=\&quot;test1\&quot;&gt;<br />
<br />
&nbsp; &nbsp; &lt;h4&gt;&lt;span&gt;$showtime&lt;/span&gt; $dj&lt;/h4&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; <br />
&nbsp; &nbsp; &lt;p&gt;$showdesc&lt;/p&gt;<br />
&nbsp; <br />
&nbsp; &nbsp; &lt;a href=\&quot;http://www.example.com\&quot; class=\&quot;more\&quot;&gt;More about example&lt;/a&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;img src=\&quot;$presenterpic\&quot; alt=\&quot;Non - Stop Music\&quot; /&gt;<br />
&nbsp; <br />
&nbsp; &lt;/li&gt;&quot;;</pre><br />
I've already got the li class declared in my CSS, I just need to try and switch it to the test1 class every other record, like this:<br />
1 - no class<br />
2 - test1 css<br />
3 - no class<br />
4 - test1 css<br />
<br />
If anyone knows how to do this I'd appreciate the help!<br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>whitestream6</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246320.html</guid>
		</item>
		<item>
			<title>Why imagefill always black?</title>
			<link>http://www.daniweb.com/forums/thread246318.html</link>
			<pubDate>Mon, 14 Dec 2009 16:23:02 GMT</pubDate>
			<description>Hello guys 
This is driving me mad. I would really appreciate if you told me any idea about why I see this square in red color just in my local xampp installation. If I run the code in the remote server (http://www.arreglaordenador.com/numberimage2.php) I see the square in black color instead of...</description>
			<content:encoded><![CDATA[<div>Hello guys<br />
This is driving me mad. I would really appreciate if you told me any idea about why I see this square in red color just in my local xampp installation. If I run the code in the remote server (<a rel="nofollow" class="t" href="http://www.arreglaordenador.com/numberimage2.php" target="_blank">http://www.arreglaordenador.com/numberimage2.php</a>) I see the square in black color instead of red. Do you have any ideas?<br />
 <pre style="margin:20px; line-height:13px">&lt;?php<br />
&nbsp;<br />
$im = imagecreatetruecolor(100, 100);<br />
&nbsp;<br />
// sets background to red<br />
$red = imagecolorallocate($im, 255, 0, 0);<br />
imagefill($im, 0, 0, $red);<br />
&nbsp;<br />
header('Content-type: image/png');<br />
imagepng($im);<br />
imagedestroy($im);<br />
?&gt;</pre>Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>thosecars82</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246318.html</guid>
		</item>
		<item>
			<title>How to pass an array from PHP to JS ?</title>
			<link>http://www.daniweb.com/forums/thread246316.html</link>
			<pubDate>Mon, 14 Dec 2009 16:05:53 GMT</pubDate>
			<description><![CDATA[I have found Javascript to be the most difficult language to find useful and CORRECT info on.  Afterr working for several hours looking at various sites, I'm still somewhat stumped. 
 
All I know at this point is that these is a difference in the array formatting between PHP and JS. The magic...]]></description>
			<content:encoded><![CDATA[<div>I have found Javascript to be the most difficult language to find useful and CORRECT info on.  Afterr working for several hours looking at various sites, I'm still somewhat stumped.<br />
<br />
All I know at this point is that these is a difference in the array formatting between PHP and JS. The magic bullet is supposed to be json.<br />
However, this code does not work as advertised.  <br />
 <pre style="margin:20px; line-height:13px">javascrript snippet:<br />
var pt = &lt;?PHP json_encode($prt); ?&gt;</pre><br />
The variable $prt is list of associative arrays, so to get a value in a particular row manually , $prt[0]['location'] should give me the value for location in the first row of output.<br />
All of this works just fine if i hard code this in html and php.<br />
However, I want to dynamically produce the rows as needed which requires that a loop employed. The application also requires that the user may add a row which also need to be accounted for when posting.<br />
After many experiments, I think the best solution is to make this a totally javascript entity .All I need to do is to be able to pass in the server side data. Calling JS from PHP does not work, although i have found many places where they show basically the same code , claiming that it works.<br />
<br />
I think json needs a bit of tweaking to make this happen, but i'm not sure how to proceed.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>JRM</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246316.html</guid>
		</item>
		<item>
			<title>Regd:File upload server permission issue</title>
			<link>http://www.daniweb.com/forums/thread246333.html</link>
			<pubDate>Mon, 14 Dec 2009 16:01:02 GMT</pubDate>
			<description><![CDATA[Hi 
 
 
I have a file upload in my web application.Its working fine in my local system but when i deployed the application in the server i am getting teh error message as ".../../ following path is denied".It because of the permission issue but for the server i have only ftp access so i couldnt...]]></description>
			<content:encoded><![CDATA[<div>Hi<br />
<br />
<br />
I have a file upload in my web application.Its working fine in my local system but when i deployed the application in the server i am getting teh error message as &quot;.../../ following path is denied&quot;.It because of the permission issue but for the server i have only ftp access so i couldnt able to change the permission. And I have informed the server side people alo to give access but they refused to give permission to the folder .Is there are any other option for this.Please suggest me in this.....:'(</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>SakthisKumar</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246333.html</guid>
		</item>
		<item>
			<title>New PHP User Needs Some Guidance</title>
			<link>http://www.daniweb.com/forums/thread246315.html</link>
			<pubDate>Mon, 14 Dec 2009 15:59:18 GMT</pubDate>
			<description>Hi Everyone, 
 
I would appreciate it if someone could have a look at this short mysqli script and tell my why I am getting this parse error: 
 
Parse error: syntax error, unexpected T_VARIABLE in /home/james230/public_html/xampp/htdocs/lesson1/login.php on line 10 
 
I had this set up as mysql and...</description>
			<content:encoded><![CDATA[<div>Hi Everyone,<br />
<br />
I would appreciate it if someone could have a look at this short mysqli script and tell my why I am getting this parse error:<br />
<br />
Parse error: syntax error, unexpected T_VARIABLE in /home/james230/public_html/xampp/htdocs/lesson1/login.php on line 10<br />
<br />
I had this set up as mysql and it works perfectly, but I have to have it work under mysqli for the course I am doing. I know that it sounds crazy but for some reason I have a lot of problems doing the mysqli change over and would really appreciate some help here.<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;?php<br />
<br />
session_start();<br />
<br />
include ('mysqli.php');<br />
echo &quot;&lt;pre&gt;&quot;;<br />
var_dump($_POST);<br />
echo &quot;&lt;/pre&gt;&quot;;<br />
if (isset ($_POST['submit'])) {<br />
$username = mysqli_real_escape_string($link,$select)$_POST['username']));<br />
$password = mysqli_real_escape_string($link,$select)$_POST['password']));<br />
if(!$link) {<br />
printf(&quot;Connect failed: %s\n&quot;, mysqli_connect_error());<br />
exit();<br />
}<br />
<br />
if (!empty ($username) &amp;&amp; !empty ($password)) {<br />
$link = mysqli_query (&quot;SELECT * FROM Customer<br />
WHERE username='$username' AND<br />
password='$password' LIMIT 1&quot;);<br />
<br />
<br />
<br />
if (mysqli_num_rows ($result) &gt; 0) {<br />
$_SESSION['loggedin'] = true;<br />
$_SESSION['username'] = $username;<br />
<br />
echo 'You are now logged in! &lt;br /&gt;<br />
Please proceed to the <br />
&lt;a href=&quot;http://www.professorofprofit.com/xampp/htdocs/lesson1/members.php&quot;&gt;<br />
Members Only Page&lt;/a&gt;';<br />
<br />
} else {<br />
echo 'Your username and/or password is incorrect.&lt;br /&gt; If you do not have one, please go &lt;a href= &quot;http://www.professorofprofit.com/xampp/htdocs/lesson1/register.php&quot;&gt;<br />
HERE&lt;/a&gt; and register to become a member. Thank you...!';<br />
}<br />
} else {<br />
echo 'You must enter a username and a password!';<br />
<br />
}<br />
} else {<br />
include ('two_forms.inc');<br />
}<br />
<br />
<br />
?&gt;<br />
<br />
I am going to include the connect script in case it is in this area that the problem is happening. <br />
<br />
&lt;?php<br />
<br />
ini_set(&quot;display_errors&quot;,&quot;on&quot;);<br />
error_reporting(E_ALL | E_STRICT);<br />
ini_set(&quot;include_path&quot;,&quot;./includes&quot;);<br />
<br />
$link = mysqli_connect($host,$user,$passwd, $dbname)<br />
or die(&quot;error connecting to database!&quot;.mysqli_error($cxn));<br />
<br />
$select = mysqli_select_db($link,$dbname) or die ('error selecting database!'.mysqli_error());<br />
<br />
?&gt;</pre><br />
I appreciate anyone taking the time to help me with this. I hope to return the favor sometime. Have great day everyone.<br />
<br />
fridge2305</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>fridge2305</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246315.html</guid>
		</item>
		<item>
			<title>relative height/width of div</title>
			<link>http://www.daniweb.com/forums/thread246313.html</link>
			<pubDate>Mon, 14 Dec 2009 15:54:12 GMT</pubDate>
			<description><![CDATA[Hi, I'm trying to make a simple site with some boxes. I wonder how to do these things: 
 
1. Both boxes should have the same height, no matter which one has more content. 
 
2. The right box should fill out the remaining space (except margin) and be on the right side of the left box. I tried to...]]></description>
			<content:encoded><![CDATA[<div>Hi, I'm trying to make a simple site with some boxes. I wonder how to do these things:<br />
<br />
1. Both boxes should have the same height, no matter which one has more content.<br />
<br />
2. The right box should fill out the remaining space (except margin) and be on the right side of the left box. I tried to make its width 100% but that put the box under the left one instead.<br />
<br />
Is it possible?<br />
<br />
<a rel="nofollow" class="t" href="http://www.intuit-symbiosis.org/lae/" target="_blank">http://www.intuit-symbiosis.org/lae/</a></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum143.html">HTML and CSS</category>
			<dc:creator>ribot</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246313.html</guid>
		</item>
		<item>
			<title>msqli help</title>
			<link>http://www.daniweb.com/forums/thread246309.html</link>
			<pubDate>Mon, 14 Dec 2009 15:24:15 GMT</pubDate>
			<description><![CDATA[im looking to convert this code using prepared statments if possible but am open to suggestions 
 
 function list_owner_notes(){ 
            $id = $this->id;	 
            $sql = "SELECT nid, title FROM notes JOIN hubs ON notes.hub_url=hubs.hub_url WHERE owner = '$id'"; 
            $result =...]]></description>
			<content:encoded><![CDATA[<div>im looking to convert this code using prepared statments if possible but am open to suggestions<br />
<br />
 <pre style="margin:20px; line-height:13px"> function list_owner_notes(){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $id = $this-&gt;id;&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $sql = &quot;SELECT nid, title FROM notes JOIN hubs ON notes.hub_url=hubs.hub_url WHERE owner = '$id'&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $result = mysql_query($sql) or die(mysql_error());&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $notes = array();<br />
<br />
/&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  for($i=0; $row = mysql_fetch_array($result, MYSQL_ASSOC); $i++){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $notes&#91;$i&#93;=$row;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return $notes;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }</pre><br />
here what i got but not sure if it will work<br />
<br />
 <pre style="margin:20px; line-height:13px">function list_owner_notes()(){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $id = $this-&gt;id;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$stmt = $dbs-&gt;stmt_init();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if($stmt-&gt;prepare(&quot;SELECT 'nid', 'title' FROM 'notes' JOIN 'hubs' ON 'notes.hub_url' = 'hubs.hub_url' WHERE 'owner' = ?&quot;))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $stmt-&gt;bind_param('i', $id);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $stmt-&gt;execute();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $stmt-&gt;bind_result($nid, $title);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $i = 0;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  while($stmt-&gt;fetch())<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $this-&gt;id = $id;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $this-&gt;nid = $nid;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $this-&gt;title = $title;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $notes&#91;$i&#93; = array(nid, title);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  return notes;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $stmt-&gt;close();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  } else die(mysql_error());</pre><br />
any help or suggestions would be greatly appreciated, basically try to sanitize data input before making a query</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum126.html">MySQL</category>
			<dc:creator>poolanex</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246309.html</guid>
		</item>
		<item>
			<title>Subversion/OpenID login</title>
			<link>http://www.daniweb.com/forums/thread246304.html</link>
			<pubDate>Mon, 14 Dec 2009 15:03:54 GMT</pubDate>
			<description><![CDATA[I'm really not sure if this is the place for this, but I guess I don't see any OpenID or SVN forums...LOL 
 
I'm having a heck of a time finding this stuff, but basically what I'm looking to do, is if I try to go to my SVN page, I want it to redirect to a login page where I can use openID to login....]]></description>
			<content:encoded><![CDATA[<div>I'm really not sure if this is the place for this, but I guess I don't see any OpenID or SVN forums...LOL<br />
<br />
I'm having a heck of a time finding this stuff, but basically what I'm looking to do, is if I try to go to my SVN page, I want it to redirect to a login page where I can use openID to login.<br />
<br />
There are two things that look like they are holding me up:<br />
1. I don't know how to force the page to go to another page initially.<br />
2. I don't know how to implement openID.<br />
<br />
I have a subversion server setup and all, I just don't know alot about web programming beyond some HTML I learned back in highschool.<br />
<br />
If anyone knows of any good links for HOW to implement openID, redirecting SVN pages, as well as maybe even setting up a webpage front end for my SVN that would be even cooler!!!<br />
<br />
Thank you for the help!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>onaclov2000</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246304.html</guid>
		</item>
		<item>
			<title>Fancy Upload and Databases</title>
			<link>http://www.daniweb.com/forums/thread246300.html</link>
			<pubDate>Mon, 14 Dec 2009 14:59:29 GMT</pubDate>
			<description><![CDATA[Hi there, 
 
I've found quite a nice flash / javascript / php based multiple image uploader called FancyUpload. 
 
http://digitarald.de/project/fancyupload/ 
 
I've got it working fine, however i need to be able to insert the data into a database 
 
Below is my database structure:]]></description>
			<content:encoded><![CDATA[<div>Hi there,<br />
<br />
I've found quite a nice flash / javascript / php based multiple image uploader called FancyUpload.<br />
<br />
<a rel="nofollow" class="t" href="http://digitarald.de/project/fancyupload/" target="_blank">http://digitarald.de/project/fancyupload/</a><br />
<br />
I've got it working fine, however i need to be able to insert the data into a database<br />
<br />
Below is my database structure:<br />
<br />
photo_ref<br />
event_ref<br />
photo_thumb<br />
heat<br />
<br />
Basically i want to be able to populate the database. because at the moment the script only put the images on the webspace.<br />
<br />
So for example if i upload 5 images the database should look like the following:<br />
<br />
photo_ref: 1, 2, 3, 4, 5 (auto increment)<br />
event_ref: 1, 1, 1, 1, 1<br />
photo_thumb: image_1.jpg, image_2.jpg, image_3.jpg, etc<br />
heat: test heat, etc<br />
<br />
I also want to be able to rename the original file name so that it matches what goes into the database, so image_1_test_heat.jpg. something along the lines of that.<br />
<br />
I've managed to do this with my own script but that involves having 5 seperate input files, not the one that fancyupload is using.<br />
<br />
If anyone can point me in the right direction i should be able to crack it myself! (Hopefully).<br />
<br />
Cheers, <br />
<br />
Dan<br />
<br />
below is my code for uploading the image:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;?php<br />
include(&quot;JSON.php&quot;);<br />
$result = array();<br />
&nbsp;<br />
if (isset($_FILES['photoupload']) )<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; $file = $_FILES['photoupload']['tmp_name'];<br />
&nbsp; &nbsp; &nbsp; &nbsp; $error = false;<br />
&nbsp; &nbsp; &nbsp; &nbsp; $size = false;<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (!is_uploaded_file($file) || ($_FILES['photoupload']['size'] &gt; 2 * 1024 * 1024) )<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $error = 'Please upload only files smaller than 2Mb!';<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (!$error &amp;&amp; !($size = @getimagesize($file) ) )<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $error = 'Please upload only images, no other files are supported.';<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (!$error &amp;&amp; !in_array($size[2], array(1, 2, 3, 7, 8) ) )<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $error = 'Please upload only images of type JPEG.';<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (!$error &amp;&amp; ($size[0] &lt; 25) || ($size[1] &lt; 25))<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $error = 'Please upload an image bigger than 25px.';<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; else {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; move_uploaded_file($_FILES['photoupload']['tmp_name'], &quot;uploadedfiles/&quot;.$_FILES['photoupload']['name']);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; $addr = gethostbyaddr($_SERVER['REMOTE_ADDR']);<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; $log = fopen('script.log', 'a');<br />
&nbsp; &nbsp; &nbsp; &nbsp; fputs($log, ($error ? 'FAILED' : 'SUCCESS') . ' - ' . preg_replace('/^[^.]+/', '***', $addr) . &quot;: {$_FILES['photoupload']['name']} - {$_FILES['photoupload']['size']} byte\n&quot; );<br />
&nbsp; &nbsp; &nbsp; &nbsp; fclose($log);<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; if ($error)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $result['result'] = 'failed';<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $result['error'] = $error;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $result['result'] = 'success';<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $result['size'] = &quot;Uploaded an image ({$size['mime']}) with&nbsp; {$size[0]}px/{$size[1]}px.&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp;<br />
}<br />
else<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; $result['result'] = 'error';<br />
&nbsp; &nbsp; &nbsp; &nbsp; $result['error'] = 'Missing file or internal error!';<br />
}<br />
&nbsp;<br />
if (!headers_sent() )<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; header('Content-type: application/json');<br />
}<br />
&nbsp;<br />
echo json_encode($result);<br />
&nbsp;<br />
?&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>dan_ord</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246300.html</guid>
		</item>
		<item>
			<title>I need a script that only displays weekdays</title>
			<link>http://www.daniweb.com/forums/thread246295.html</link>
			<pubDate>Mon, 14 Dec 2009 14:47:58 GMT</pubDate>
			<description><![CDATA[What I need is the SQL code to display the last business day - usually will be one day prior, but I want that if I run this code on Monday that, instead of Sunday's date, I get Friday's date. 
 
This is what I started with 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right;...]]></description>
			<content:encoded><![CDATA[<div>What I need is the SQL code to display the last business day - usually will be one day prior, but I want that if I run this code on Monday that, instead of Sunday's date, I get Friday's date.<br />
<br />
This is what I started with<br />
<br />
 <pre style="margin:20px; line-height:13px">- Automatically generate last business day<br />
declare @LastBusinessDay varchar(8)<br />
set @LastBusinessDay&nbsp; = CONVERT(varchar(8), DATEADD(WEEKDAY,-1,GETDATE()), 112)<br />
select @LastBusinessDay</pre><br />
I guess I thought that the WEEKDAY parameter in the DATEADD would only show dates that are from Monday - Friday.  How can I achieve this</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum127.html">MS SQL</category>
			<dc:creator>bajanpoet</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246295.html</guid>
		</item>
		<item>
			<title><![CDATA[Embedding & Stretching Flash Objects]]></title>
			<link>http://www.daniweb.com/forums/thread246292.html</link>
			<pubDate>Mon, 14 Dec 2009 14:12:54 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I've been searching around for quite some time now but haven't found what I've been looking for... I'm trying to stretch a flash object inside my browser but for some reason the more I stretch it, the bigger the boarders get while the actual movie on the inside stays the same size. If I run...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I've been searching around for quite some time now but haven't found what I've been looking for... I'm trying to stretch a flash object inside my browser but for some reason the more I stretch it, the bigger the boarders get while the actual movie on the inside stays the same size. If I run the swf externally, in windows, and I expand and contract the size then the actual movie automatically fits to the size of the window instead of the boarder just expanding.<br />
<br />
Is there some kind of command to make the flash item fit to params sent?<br />
<br />
Below is my code:<br />
<br />
 <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;OBJECT classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WIDTH=&quot;400&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; HEIGHT=&quot;200&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;PARAM NAME=movie VALUE=&quot;Images/Directions/map.swf&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;EMBED src=&quot;Images/Directions/map.swf&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  WIDTH=&quot;400%&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  HEIGHT=&quot;200%&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  TYPE=&quot;application/x-shockwave-flash&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  PLUGINSPAGE=&quot;http://www.macromedia.com/go/getflashplayer&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/EMBED&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/OBJECT&gt;</pre><br />
Thanks,<br />
-Ashton.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>AshtonHogan</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246292.html</guid>
		</item>
		<item>
			<title>Server Hack?</title>
			<link>http://www.daniweb.com/forums/thread246279.html</link>
			<pubDate>Mon, 14 Dec 2009 13:48:23 GMT</pubDate>
			<description>Hello All, 
 
I got an email like this: 
 
 
---Quote--- 
Details: Your site is hacked lock hear (mafiaradio.is-a-chef.net) Resolved: 
(213.175.205.68)and lock hear http://mafiaradio.is-a-chef.net:8000/ u will 
see your site is hacked ! clean your root and change your users password !! 
---End...</description>
			<content:encoded><![CDATA[<div>Hello All,<br />
<br />
I got an email like this:<br />
<br />
<div style="margin:20px; margin-top:5px; "> <div class="smallfont" style="margin-bottom:2px">Quote:</div> <table cellpadding="5" cellspacing="0" border="0" width="100%"> <tr> <td class="alt2"> <hr />  Details: Your site is hacked lock hear (mafiaradio.is-a-chef.net) Resolved:<br />
(213.175.205.68)and lock hear <a rel="nofollow" class="t" href="http://mafiaradio.is-a-chef.net:8000/" target="_blank">http://mafiaradio.is-a-chef.net:8000/</a> u will<br />
see your site is hacked ! clean your root and change your users password !!  <hr /> </td> </tr> </table> </div>I checked the url and it was indeed our site - I made some changes to our copy and the changes applied to the &quot;hack site&quot;.<br />
<br />
Is it possible he just used Curl to create this clone homepage?  What is the most likely option?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>liamfriel</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246279.html</guid>
		</item>
		<item>
			<title>Error 403 Forbidden</title>
			<link>http://www.daniweb.com/forums/thread246264.html</link>
			<pubDate>Mon, 14 Dec 2009 13:07:24 GMT</pubDate>
			<description><![CDATA[hi, fellow programmers  
 
im currently using phpdev and windows xp as a platform. i've been developing this website and now im trying to test it in local network. i have already installed the apache and already set the index.php in the folder www.  now my problem is i keep on getting this message...]]></description>
			<content:encoded><![CDATA[<div>hi, fellow programmers <br />
<br />
im currently using phpdev and windows xp as a platform. i've been developing this website and now im trying to test it in local network. i have already installed the apache and already set the index.php in the folder www.  now my problem is i keep on getting this message from my browser that says<br />
<br />
 &quot; Forbidden<br />
You don't have permission to access / on this server.&quot;<br />
<br />
also know as 403 forbidden.<br />
<br />
can anyone help me please. thanks.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>ampLife</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246264.html</guid>
		</item>
		<item>
			<title>multiple image uploding into sqlserver db sigle time like flickr or new orkut</title>
			<link>http://www.daniweb.com/forums/thread246260.html</link>
			<pubDate>Mon, 14 Dec 2009 12:56:42 GMT</pubDate>
			<description>hi 
i asp.net developer i need to upload the multiple image single time and retrieve the image in table format..  any give reference site and code..</description>
			<content:encoded><![CDATA[<div>hi<br />
i asp.net developer i need to upload the multiple image single time and retrieve the image in table format..  any give reference site and code..</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>psathish2</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246260.html</guid>
		</item>
		<item>
			<title>Live webcam chat</title>
			<link>http://www.daniweb.com/forums/thread246252.html</link>
			<pubDate>Mon, 14 Dec 2009 12:14:28 GMT</pubDate>
			<description>Hi, 
I am developing a web application in ASP.NET/ C#. 
How do I implement a live webcam chat in my application....? 
Please give some ideas.................. 
 
Thank You,</description>
			<content:encoded><![CDATA[<div>Hi,<br />
I am developing a web application in ASP.NET/ C#.<br />
How do I implement a live webcam chat in my application....?<br />
Please give some ideas..................<br />
<br />
Thank You,</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>bhaskerlee</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246252.html</guid>
		</item>
		<item>
			<title>tree loading help</title>
			<link>http://www.daniweb.com/forums/thread246243.html</link>
			<pubDate>Mon, 14 Dec 2009 11:27:33 GMT</pubDate>
			<description>http://www.mattkruse.com/javascript/mktree/ 
 
I have tree like that style. I want on node click, to show word loading below the node clicked  until new nodes are opened..anyone know how to do this?</description>
			<content:encoded><![CDATA[<div><a rel="nofollow" class="t" href="http://www.mattkruse.com/javascript/mktree/" target="_blank">http://www.mattkruse.com/javascript/mktree/</a><br />
<br />
I have tree like that style. I want on node click, to show word loading below the node clicked  until new nodes are opened..anyone know how to do this?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>hajjo</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246243.html</guid>
		</item>
		<item>
			<title>asp with access 2000</title>
			<link>http://www.daniweb.com/forums/thread246242.html</link>
			<pubDate>Mon, 14 Dec 2009 11:27:03 GMT</pubDate>
			<description>hey i want to know how can i get a large paragraph from access to an asp page because i am facing a problem that access have size text 255 how can i make it larger? thank you</description>
			<content:encoded><![CDATA[<div>hey i want to know how can i get a large paragraph from access to an asp page because i am facing a problem that access have size text 255 how can i make it larger? thank you</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>rudz</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246242.html</guid>
		</item>
		<item>
			<title>how to get path of the directory on a filestore</title>
			<link>http://www.daniweb.com/forums/thread246239.html</link>
			<pubDate>Mon, 14 Dec 2009 11:11:20 GMT</pubDate>
			<description>Hi everyone, 
I am trying to figure out the way to check if the file ,that exists on a filestore, is also present in the database. Ultimately i want to flag up the files that exist in the database but are not on the filestore and vice versa. 
 
I have already implemented the bit where it checks if...</description>
			<content:encoded><![CDATA[<div>Hi everyone,<br />
I am trying to figure out the way to check if the file ,that exists on a filestore, is also present in the database. Ultimately i want to flag up the files that exist in the database but are not on the filestore and vice versa.<br />
<br />
I have already implemented the bit where it checks if the documents, or more specifically the link to the documents, in database match with the one on filestore directory path. I accomplished it with PHP and MySQL.<br />
<br />
But , i am not sure how i can get the path of the document from filestore and check it with the links on the database. <br />
<br />
The reason i need to do that is: people/employees can add documents to both filestore and database but there is no check whether the document that exists on a filestore is also entered in the database. I hope you understand my problem and will be able to give me some sort of direction. PHP solution only please.<br />
<br />
regards</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>bigjoke</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246239.html</guid>
		</item>
		<item>
			<title>Payment Gate Way In PHP</title>
			<link>http://www.daniweb.com/forums/thread246228.html</link>
			<pubDate>Mon, 14 Dec 2009 10:13:19 GMT</pubDate>
			<description><![CDATA[Hi This Is Girish  
 
I want to integrate payment gateway(Paypal) in my form (php) please do the need full for me. i am new to payment gateway so this is my first project , can any body help me out..  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>Hi This Is Girish <br />
<br />
I want to integrate payment gateway(Paypal) in my form (php) please do the need full for me. i am new to payment gateway so this is my first project , can any body help me out.. <pre style="margin:20px; line-height:13px">HI<br />
<br />
GIrish HEre i want know how to start the payment gateway in php as this will be my first project in payment gat</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>girishbmgowda</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246228.html</guid>
		</item>
		<item>
			<title>pl/sql</title>
			<link>http://www.daniweb.com/forums/thread246223.html</link>
			<pubDate>Mon, 14 Dec 2009 09:46:02 GMT</pubDate>
			<description>from where can i download free e-book of pl/sql?? 
 
please reply asap... 
 
Regards, 
Jenifer</description>
			<content:encoded><![CDATA[<div>from where can i download free e-book of pl/sql??<br />
<br />
please reply asap...<br />
<br />
Regards,<br />
Jenifer</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum129.html">Oracle</category>
			<dc:creator>jeniferandrews</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246223.html</guid>
		</item>
		<item>
			<title>Editor for Ubuntu and WinXP</title>
			<link>http://www.daniweb.com/forums/thread246221.html</link>
			<pubDate>Mon, 14 Dec 2009 09:40:54 GMT</pubDate>
			<description>Hi, 
 
I need a php editor where i can see what variables, class names, function names are already in use and if it is possible (not necessary) debugger. 
 
WinXP: ? 
Ubuntu: ? 
 
What editor do you suggest me? 
 
Thanks in advance</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I need a php editor where i can see what variables, class names, function names are already in use and if it is possible (not necessary) debugger.<br />
<br />
WinXP: ?<br />
Ubuntu: ?<br />
<br />
What editor do you suggest me?<br />
<br />
Thanks in advance</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>veledrom</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246221.html</guid>
		</item>
		<item>
			<title><![CDATA[Word Wrap doesn't work in Opera latest ver. 10.10]]></title>
			<link>http://www.daniweb.com/forums/thread246214.html</link>
			<pubDate>Mon, 14 Dec 2009 08:50:05 GMT</pubDate>
			<description><![CDATA[I am currently testing this function in all browser using php. 
 
<style> 
#preview_desc{ 
    text-wrap: suppress; 
    word-break: break-all; 
    word-wrap: break-word; /* IE>=5.5 */ 
    white-space: -moz-pre-wrap; /* For Fx<=2 */    
    white-space: pre-wrap; /* Fx>3, Opera>8, Safari>3 */ 
  ...]]></description>
			<content:encoded><![CDATA[<div>I am currently testing this function in all browser using php.<br />
<br />
&lt;style&gt;<br />
#preview_desc{<br />
    text-wrap: suppress;<br />
    word-break: break-all;<br />
    word-wrap: break-word; /* IE&gt;=5.5 */<br />
    white-space: -moz-pre-wrap; /* For Fx&lt;=2 */   <br />
    white-space: pre-wrap; /* Fx&gt;3, Opera&gt;8, Safari&gt;3 */<br />
    white-space: -o-pre-wrap; /* Opera 7 */<br />
    white-space: pre-line;<br />
    width:158px; <br />
    padding-left:5px; <br />
    padding-right:5px; <br />
    line-height:12px; <br />
    font-family:'Arial', Helvetica, sans-serif; <br />
    font-size:11px; <br />
    text-align:justify;<br />
    background:#f30000;<br />
}<br />
&lt;/style&gt;<br />
<br />
&lt;div id=&quot;preview_desc&quot; <br />
class=&quot;adlookmsg_box&quot;&gt;<br />
Refeforotherapplicationandcontainasdhlsakfhnaiufalsdufgnaloskdufglkjblfasug<br />
&lt;/div&gt;<br />
<br />
However only in Opera browser that not process the wrapping or the unspace word. Please if any can help with this. Tks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum143.html">HTML and CSS</category>
			<dc:creator>yusfebri</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246214.html</guid>
		</item>
		<item>
			<title>My cursor is deleting rows! Help!</title>
			<link>http://www.daniweb.com/forums/thread246211.html</link>
			<pubDate>Mon, 14 Dec 2009 08:44:34 GMT</pubDate>
			<description>Hello, 
 
I need to make a cursor, which would call a stored procedure to do something for me... 
 
but the procedure needs dynamic parameters.  
first one, it has to retrieve existing ID number from a table and the second parameter will be new value updated... 
so, for every row, I need it to take...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I need to make a cursor, which would call a stored procedure to do something for me...<br />
<br />
but the procedure needs dynamic parameters. <br />
first one, it has to retrieve existing ID number from a table and the second parameter will be new value updated...<br />
so, for every row, I need it to take existing ID value and replace it with a newly generated ascending number:<br />
<br />
for example:<br />
a123 -&gt; 0001<br />
b123 -&gt; 0002<br />
c123 -&gt; 0003<br />
c234 -&gt; 0004<br />
<br />
and so on and on...<br />
This is what I did, but it is deleting rows! What am I doing wrong? thank you very much<br />
<br />
 <pre style="margin:20px; line-height:13px">DECLARE @IDENT char(16)<br />
DECLARE @counter int<br />
DECLARE @novo char(16)&nbsp; &nbsp; &nbsp; &nbsp; <br />
DECLARE c1 CURSOR <br />
FOR<br />
SELECT ID<br />
FROM table_name<br />
<br />
OPEN c1<br />
<br />
FETCH NEXT FROM c1<br />
INTO @IDENT<br />
SET @counter = 00001<br />
<br />
SET @novo = @counter + 1<br />
WHILE @@FETCH_STATUS = 0<br />
BEGIN<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
exec sp_someProcedure 'table_name', @IDENT, @novo<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; FETCH NEXT FROM c1<br />
&nbsp; &nbsp; &nbsp; &nbsp; INTO @IDENT<br />
<br />
END<br />
<br />
CLOSE c1<br />
DEALLOCATE c1</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum127.html">MS SQL</category>
			<dc:creator>maracaibolago</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246211.html</guid>
		</item>
		<item>
			<title>Error:data source name not found</title>
			<link>http://www.daniweb.com/forums/thread246204.html</link>
			<pubDate>Mon, 14 Dec 2009 07:31:23 GMT</pubDate>
			<description>Hi all, 
 
I have an jsp code for registration page... i have used ms access for storing the data.......but after running, ,,,, its giving an error.... 
data source name not found,,,no default driver is found........how to overcome with this problem.........pls do reply........</description>
			<content:encoded><![CDATA[<div>Hi all,<br />
<br />
I have an jsp code for registration page... i have used ms access for storing the data.......but after running, ,,,, its giving an error....<br />
data source name not found,,,no default driver is found........how to overcome with this problem.........pls do reply........<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Thanks in advance <br />
ishlux</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum24.html">JSP</category>
			<dc:creator>ishlux</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246204.html</guid>
		</item>
		<item>
			<title>PHP 5.3.* support!</title>
			<link>http://www.daniweb.com/forums/thread246201.html</link>
			<pubDate>Mon, 14 Dec 2009 07:17:28 GMT</pubDate>
			<description><![CDATA[Recently I have installed php 5.3 on a pc and just like many posts on this forum have been saying the latest version of php does not guarantee 100% backwards compatibility. Especially for some oop parameters where the symbol "&" needs to be used before the variable at specific points unlike php...]]></description>
			<content:encoded><![CDATA[<div>Recently I have installed php 5.3 on a pc and just like many posts on this forum have been saying the latest version of php does not guarantee 100% backwards compatibility. Especially for some oop parameters where the symbol &quot;&amp;&quot; needs to be used before the variable at specific points unlike php 5.2. Due to these changes php.net recommends for people to upgrade to 5.3 although I wouldn't recommend it myself if you have an existing scripts. Also if you want cms's like mediawiki to work under 5.3 then some modifications to the core of the script will be necessary. Just thought I would point this out as it explains a few of the problems posted in this forum and hopefully this can be made a sticky. Any comments on the issue are welcome...</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>cwarn23</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246201.html</guid>
		</item>
		<item>
			<title>ASPx page refresh based on database change</title>
			<link>http://www.daniweb.com/forums/thread246187.html</link>
			<pubDate>Mon, 14 Dec 2009 05:59:31 GMT</pubDate>
			<description><![CDATA[Hi, I'm new to this thread. I need someone to help me out in deciding the following:- 
 
I'm creating a asp.net web application that only displays a lot of data from Oracle 10g database tables. These data or the informations shown on the webpage will be changing very frequently and I need to...]]></description>
			<content:encoded><![CDATA[<div>Hi, I'm new to this thread. I need someone to help me out in deciding the following:-<br />
<br />
I'm creating a asp.net web application that only displays a lot of data from Oracle 10g database tables. These data or the informations shown on the webpage will be changing very frequently and I need to refresh only those data that have changed in the database and almost  at the same time. I'm planning to use json with asp.net ajax page methods for UI and Database Notification. But, somewhere I read that using Database Notification is not recommended for frequently changing data.<br />
<br />
Under the above scenario please let me know the following:-<br />
<br />
1. What logic/architecture should I follow? <br />
<br />
2. Is there any benefites of using WebService or WCF over ASP.NET AJAX PageMethod?<br />
<br />
Please suggest.<br />
<br />
Thanks in advance.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>roytonmoy</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246187.html</guid>
		</item>
		<item>
			<title>Complex Situation DB Structure</title>
			<link>http://www.daniweb.com/forums/thread246186.html</link>
			<pubDate>Mon, 14 Dec 2009 05:50:24 GMT</pubDate>
			<description>Hi Dear all 
Its my table structure... 
CREATE TABLE IF NOT EXISTS `limsrentpayment` ( 
  `PaymentMonth` varchar(15) NOT NULL, 
  `SiteID` varchar(15) NOT NULL, 
  `DurationS` varchar(25) NOT NULL, 
  `DurationE` varchar(25) NOT NULL, 
  `Amount` varchar(15) NOT NULL, 
  `pDate` date NOT NULL 
)...</description>
			<content:encoded><![CDATA[<div>Hi Dear all<br />
Its my table structure...<br />
 <pre style="margin:20px; line-height:13px">CREATE TABLE IF NOT EXISTS `limsrentpayment` (<br />
&nbsp; `PaymentMonth` varchar(15) NOT NULL,<br />
&nbsp; `SiteID` varchar(15) NOT NULL,<br />
&nbsp; `DurationS` varchar(25) NOT NULL,<br />
&nbsp; `DurationE` varchar(25) NOT NULL,<br />
&nbsp; `Amount` varchar(15) NOT NULL,<br />
&nbsp; `pDate` date NOT NULL<br />
) ENGINE=MyISAM DEFAULT CHARSET=latin1;</pre>and data stored in it<br />
 <pre style="margin:20px; line-height:13px">INSERT INTO `limsrentpayment` (`PaymentMonth`, `SiteID`, `DurationS`, `DurationE`, `Amount`, `pDate`) VALUES<br />
('Dec-09', 'C-LHR-7300', '1-Dec-09', '30-Nov-10', '252,000.00', '2009-11-23'),<br />
('Nov-09', 'C-ADP-5900', '8-Nov-09', '7-Nov-10', '152,769.00', '2009-11-12'),<br />
('Nov-09', 'C-BAX-5825', '9-Nov-09', '8-Nov-10', '105,840.00', '2009-11-12');</pre>another table is <br />
 <pre style="margin:20px; line-height:13px">CREATE TABLE IF NOT EXISTS `limscheaquesdispatched` (<br />
&nbsp; `SiteID` varchar(12) NOT NULL,<br />
&nbsp; `BaseAmount` varchar(25) NOT NULL,<br />
&nbsp; `cDate` date NOT NULL,<br />
&nbsp; `DurationSY` varchar(25) NOT NULL,<br />
&nbsp; `DurationEY` varchar(25) NOT NULL,<br />
&nbsp; `BatNo` varchar(10) NOT NULL<br />
) ENGINE=MyISAM DEFAULT CHARSET=latin1;</pre>and values are<br />
 <pre style="margin:20px; line-height:13px">INSERT INTO `limscheaquesdispatched` (`SiteID`, `BaseAmount`, `cDate`, `DurationSY`, `DurationEY`, `BatNo`) VALUES<br />
('C-LHR-7300', '208,596.00', '2009-12-07', '09', '10', 'BAT364'),<br />
('C-ADP-5900', '212,700.00', '2009-12-07', '09', '10', 'BAT364'),<br />
('C-BAX-5825', '158,322.00', '2009-12-07', '09', '10', 'BAT364');</pre><br />
Now For one year I can easily show<br />
Year, Due Date ,Date Sent To Finance, Date Returned From Finance, Date Resubmitted To Finance, Date Cheque Issued, Date Cheque Received by Owner, Payment Status <br />
<br />
But I have to show it for more years.<br />
Please check attached image.<br />
I am confused.....!!!<br />
For showing like this how I can store Data, i means structure of DB.</div>  <br /> <div style="padding:5px">    <fieldset class="fieldset"> <legend>Attached Images</legend> <table cellpadding="0" cellspacing="5" border="0"> <tr> <td><img class="inlineimg" src="http://www.daniweb.com/forums/images/attach/jpg.gif" alt="File Type: jpg" width="16" height="16" border="0" style="vertical-align:baseline" /></td> <td><a href="http://www.daniweb.com/forums/attachment.php?attachmentid=12934&amp;d=1260769121" target="_blank">image.jpg</a> (26.6 KB)</td> </tr> </table> </fieldset>   </div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>ayesha789</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246186.html</guid>
		</item>
		<item>
			<title>Transperant image</title>
			<link>http://www.daniweb.com/forums/thread246182.html</link>
			<pubDate>Mon, 14 Dec 2009 05:41:16 GMT</pubDate>
			<description>I am trying to use a transparent png image on a site.  
its work in firefox but  in IE white background is still showing. 
please suggest</description>
			<content:encoded><![CDATA[<div>I am trying to use a transparent png image on a site. <br />
its work in firefox but  in IE white background is still showing.<br />
please suggest</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum143.html">HTML and CSS</category>
			<dc:creator>prachipote</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246182.html</guid>
		</item>
		<item>
			<title>ajax multi dropdown</title>
			<link>http://www.daniweb.com/forums/thread246175.html</link>
			<pubDate>Mon, 14 Dec 2009 05:20:06 GMT</pubDate>
			<description>ok so i have been searching on the web for a really simple and clean coded way to have a ajax multi dropdown boxes. 
 
so what i am trying to do it is have one dropdown that has lets say countries, then the second dropdown will populate to have states, then the last will have cities. but the last...</description>
			<content:encoded><![CDATA[<div>ok so i have been searching on the web for a really simple and clean coded way to have a ajax multi dropdown boxes.<br />
<br />
so what i am trying to do it is have one dropdown that has lets say countries, then the second dropdown will populate to have states, then the last will have cities. but the last one will have some jquery added to it (which i can do) to show information on that city.<br />
<br />
i hope i am not crazy. it if you can point me to the right direction it would be very very great.<br />
<br />
thanks in advanced</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>itisnot_me</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246175.html</guid>
		</item>
		<item>
			<title>Help with this please...easy</title>
			<link>http://www.daniweb.com/forums/thread246171.html</link>
			<pubDate>Mon, 14 Dec 2009 04:58:47 GMT</pubDate>
			<description>I am writing a hash algorithm  simulator, I am running the keys through the hash but I am not being able to display the whole hash table after all keys are entered. I also I can not figure a way to check if there is any collision because I am not being able to search through the keys that already...</description>
			<content:encoded><![CDATA[<div>I am writing a hash algorithm  simulator, I am running the keys through the hash but I am not being able to display the whole hash table after all keys are entered. I also I can not figure a way to check if there is any collision because I am not being able to search through the keys that already enterd. Please if there is any help to show how to display table as keys are entered and check for collision I would greadtly appreciate.... here is code<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;html&gt;&lt;head&gt;&lt;title&gt;t&lt;/title&gt;&lt;/head&gt;<br />
&lt;body&gt;<br />
<br />
&lt;form method=&quot;POST&quot; action=&quot;&quot;&gt;<br />
&lt;?php<br />
<br />
if (count($_POST) == 0) { // initial display of script<br />
&nbsp; echo &lt;&lt;&lt; EOT<br />
<br />
&lt;br&gt;Hash Tablee Size&lt;br&gt;7:&lt;input type=&quot;radio&quot; name=&quot;tableSize&quot;&nbsp; value=&quot;7&quot; checked /&gt;<br />
&amp;nbsp; &amp;nbsp;11:&lt;input type=&quot;radio&quot; name=&quot;tableSize&quot; value=&quot;11&quot; /&gt;<br />
&amp;nbsp; &amp;nbsp;13:&lt;input type=&quot;radio&quot; name=&quot;tableSize&quot; value=&quot;13&quot; /&gt;<br />
&amp;nbsp; &amp;nbsp;17:&lt;input type=&quot;radio&quot; name=&quot;tableSize&quot; value=&quot;17&quot; /&gt;<br />
&lt;br&gt;<br />
<br />
&lt;br&gt;Bucket Size&lt;br&gt;1:&lt;input type=&quot;radio&quot; name=&quot;bucketSize&quot; value=&quot;1&quot; checked /&gt;<br />
&amp;nbsp; &amp;nbsp;2:&lt;input type=&quot;radio&quot; name=&quot;bucketSize&quot; value=&quot;2&quot; /&gt;<br />
&amp;nbsp; &amp;nbsp;3:&lt;input type=&quot;radio&quot; name=&quot;bucketSize&quot; value=&quot;3&quot; /&gt;<br />
&lt;br&gt;<br />
<br />
<br />
&lt;p&gt;Specify set of values (separate each value with a space):&lt;br /&gt;<br />
&nbsp;  &lt;input type=&quot;radio&quot; name=&quot;Values&quot; value=&quot;a123 a14 a15 a206 a13 a21 a34 a21 a45 a13&quot; size=&quot;60&quot; /&gt; Predifined Values (a123 a14 a15 a206 a13 a21 a34 a21 a45 a13)&lt;/p&gt;<br />
&nbsp; <br />
&lt;input type=&quot;hidden&quot; name=&quot;CurrentPos&quot; value=&quot;-1&quot; /&gt;<br />
<br />
<br />
<br />
&lt;input type=&quot;submit&quot; name=&quot;Next&quot; value=&quot;Start&quot; /&gt;<br />
<br />
EOT;<br />
&nbsp; }<br />
else { // process the form submission<br />
<br />
<br />
<br />
&nbsp; // split the values<br />
&nbsp; $values = explode('a',($_POST&#91;'Values'&#93;));<br />
&nbsp; $numValues = count($values); // simplification<br />
<br />
&nbsp; if (!isset($_POST&#91;'Next'&#93;)) $pos = 0;<br />
&nbsp; else $pos = max(0,min($numValues,$_POST&#91;'CurrentPos'&#93;+1));<br />
<br />
&nbsp; // form names in the output<br />
&nbsp; $posName = ($pos == 0) ? 'first' : (($pos == $numValues-1) ? 'last' : 'next');<br />
&nbsp; $nextButton = ($pos == $numValues-1) ?<br />
&nbsp; &nbsp;  '&lt;input type=&quot;submit&quot; name=&quot;StartOver&quot; value=&quot;Start Over&quot; /&gt;' :<br />
&nbsp; &nbsp;  '&lt;input type=&quot;submit&quot; name=&quot;Next&quot; value=&quot;Next&quot; /&gt;';<br />
<br />
&nbsp;$key=$values&#91;$pos&#93;%$_POST&#91;'tableSize'&#93;; //run the hash algorithm<br />
&nbsp; &nbsp; &nbsp; &nbsp;  echo &quot;&lt;br&gt;&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $tableFull=($pos / (($_POST&#91;'bucketSize'&#93;) * ($_POST&#91;'tableSize'&#93;))) * 100;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  $tableFull= round($tableFull, 2);<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;Percenteage Table Full &quot; . $tableFull . &quot;%&quot;;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; if($tableFull==100)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {echo &quot; Last Operation, Table is Full&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $_POST&#91;'posName'&#93;='last';<br />
&nbsp; &nbsp; &nbsp; &nbsp; exit;}<br />
<br />
&nbsp; echo &lt;&lt;&lt; EOT<br />
&lt;p&gt; $posName {$values&#91;$pos+1&#93;} % {$_POST&#91;'tableSize'&#93;} =&gt; $key.&lt;/p&gt;<br />
&lt;input type=&quot;hidden&quot; name=&quot;User&quot; value=&quot;{$_POST&#91;'User'&#93;}&quot; /&gt;<br />
&lt;input type=&quot;hidden&quot; name=&quot;Values&quot; value=&quot;{$_POST&#91;'Values'&#93;}&quot; /&gt;<br />
&lt;input type=&quot;hidden&quot; name=&quot;CurrentPos&quot; value=&quot;$pos&quot; /&gt;<br />
&lt;input type=&quot;hidden&quot; name=&quot;tableSize&quot; value=&quot;{$_POST&#91;'tableSize'&#93;}&quot; /&gt;<br />
&lt;input type=&quot;hidden&quot; name=&quot;bucketSize&quot; value=&quot;{$_POST&#91;'bucketSize'&#93;}&quot; /&gt;<br />
<br />
&lt;input type=&quot;hidden&quot; name=&quot;posName&quot; value=&quot;$posName&quot; /&gt;<br />
<br />
$nextButton<br />
<br />
EOT;<br />
&nbsp; }<br />
&nbsp; <br />
?&gt;<br />
&lt;/form&gt;<br />
&lt;/body&gt;&lt;/html&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>qemajl</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246171.html</guid>
		</item>
		<item>
			<title>How to enter text into a text field for another page?</title>
			<link>http://www.daniweb.com/forums/thread246168.html</link>
			<pubDate>Mon, 14 Dec 2009 04:54:58 GMT</pubDate>
			<description>Hi 
 
I have page A text, that I wish to have entered into page B text fields. 
The usual procedure to transfer data between pages are sessions. 
But for argument sake I am denied the access of sessions how else am I able to automatically enter the text and submit the page it self? 
 
Thanks,...</description>
			<content:encoded><![CDATA[<div>Hi<br />
<br />
I have page A text, that I wish to have entered into page B text fields.<br />
The usual procedure to transfer data between pages are sessions.<br />
But for argument sake I am denied the access of sessions how else am I able to automatically enter the text and submit the page it self?<br />
<br />
Thanks, Regards X<br />
<br />
PS: I think the answer is fopen but I would require more details on how to read the tag name, enter the text, submit it, etc.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>OmniX</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246168.html</guid>
		</item>
		<item>
			<title>crystal report load error.</title>
			<link>http://www.daniweb.com/forums/thread246159.html</link>
			<pubDate>Mon, 14 Dec 2009 03:30:37 GMT</pubDate>
			<description><![CDATA[I used below code to display some data using crystal report.i used separate dataSet() object and connected it to the crystal report setDataSourse. 
There are no compile errors,but after running it gives me the error 
*"Load report failed". * 
 
plz help.. 
 
The code. 
  <div class="codeblock">...]]></description>
			<content:encoded><![CDATA[<div>I used below code to display some data using crystal report.i used separate dataSet() object and connected it to the crystal report setDataSourse.<br />
There are no compile errors,but after running it gives me the error<br />
<span style="font-weight:bold">&quot;Load report failed&quot;. </span><br />
<br />
plz help..<br />
<br />
The code.<br />
 <pre style="margin:20px; line-height:13px">String ConnectionString = ConfigurationManager.ConnectionStrings[0].ConnectionString;<br />
&nbsp; &nbsp; &nbsp; &nbsp; SqlConnection con = new SqlConnection(ConnectionString);<br />
&nbsp; &nbsp; &nbsp; &nbsp; SqlCommand com = new SqlCommand();<br />
&nbsp; &nbsp; &nbsp; &nbsp; SqlDataAdapter da = new SqlDataAdapter();<br />
&nbsp; &nbsp; &nbsp; &nbsp; DataSet1 dataset = new DataSet1();<br />
&nbsp; &nbsp; &nbsp; &nbsp; com.Connection = con;<br />
&nbsp; &nbsp; &nbsp; &nbsp; com.CommandText = &quot;Select * from tbl_test_ForumList&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; da.SelectCommand = com;<br />
&nbsp; &nbsp; &nbsp; &nbsp; try<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con.Open();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; da.Fill(dataset, &quot;Query&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; finally<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; con.Close();<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; ReportDocument myrpt = new ReportDocument();<br />
&nbsp; &nbsp; &nbsp;  // CrystalDecisions.CrystalReports.Engine.ReportDocument myrpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();<br />
&nbsp; &nbsp; &nbsp; &nbsp; myrpt.Load(@&quot;D:\ssp_vir\Forum5\Interfaces\Common\ExamResults\Results.rpt&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; myrpt.Database.Tables[0].SetDataSource(dataset);<br />
&nbsp; &nbsp; &nbsp; &nbsp; CrystalReportViewer1.ReportSource = myrpt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; CrystalReportViewer1.DataBind();</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>draxous</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246159.html</guid>
		</item>
		<item>
			<title>MySQL Time Comparison</title>
			<link>http://www.daniweb.com/forums/thread246158.html</link>
			<pubDate>Mon, 14 Dec 2009 03:25:56 GMT</pubDate>
			<description><![CDATA[Right now, I have a PHP script which - ideally - selects "posts" from a table, based whether or not the the time in the post is greater than the current time. 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>Right now, I have a PHP script which - ideally - selects &quot;posts&quot; from a table, based whether or not the the time in the post is greater than the current time.<br />
<br />
 <pre style="margin:20px; line-height:13px">if(isset($_POST['id'])) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; $id=addslashes($_POST['id']);<br />
&nbsp; &nbsp; &nbsp; &nbsp; $time=date(&quot;h:i:s&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; $sql=mysql_query(&quot;SELECT * FROM public_wis WHERE mig_id='$id' AND time &gt;= '$time'&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; if(mysql_num_rows($sql)!=0) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while($rows=mysql_fetch_array($sql)) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; extract($rows);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;div class=entry&gt;&lt;div class=hx&gt;&lt;a href=\&quot;/users/$author\&quot;&gt;$author&lt;/a&gt;&lt;/div&gt;&lt;div class=b&gt;$b&lt;/div&gt;&lt;/div&gt;&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; else {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return false;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
}</pre><br />
Yet, every time it is requested, it merely returns &quot;false&quot; or nothing.<br />
<br />
Any thoughts? :O</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>Kystadio</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246158.html</guid>
		</item>
		<item>
			<title>Can someone please help me start a new website?</title>
			<link>http://www.daniweb.com/forums/thread246137.html</link>
			<pubDate>Mon, 14 Dec 2009 01:28:23 GMT</pubDate>
			<description><![CDATA[I already purchased the URL [snipped] 
I'm not too familiar with HTML & CSS, so I was wondering if anyone would be kind enough to help me start this website up. 
I already designed what I would like the homepage to possibly look like, but I do not know what to do from there 
I would be so happy if...]]></description>
			<content:encoded><![CDATA[<div>I already purchased the URL [snipped]<br />
I'm not too familiar with HTML &amp; CSS, so I was wondering if anyone would be kind enough to help me start this website up.<br />
I already designed what I would like the homepage to possibly look like, but I do not know what to do from there<br />
I would be so happy if someone could email me at [snipped]<br />
to start this website. <br />
Thank you so much!<br />
Anything to help me start this site.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum143.html">HTML and CSS</category>
			<dc:creator>LadyGaGa</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246137.html</guid>
		</item>
		<item>
			<title>RichTextBox</title>
			<link>http://www.daniweb.com/forums/thread246135.html</link>
			<pubDate>Mon, 14 Dec 2009 01:19:55 GMT</pubDate>
			<description>Help! I am looking for a richtextbox for asp.net. Our requirements are that we load the richtextbox and do find/replace on the contents of the text box and then allow the user to print it after we have completed the find/replace operations. The User does not and will not enter any data into the...</description>
			<content:encoded><![CDATA[<div>Help! I am looking for a richtextbox for asp.net. Our requirements are that we load the richtextbox and do find/replace on the contents of the text box and then allow the user to print it after we have completed the find/replace operations. The User does not and will not enter any data into the richtextbox - that is all controlled by our code. I am at a loss because we have trialed a number of richtextboxs but none give us the control over the contents that we need. ANY help would be greatly appreciated. Thank you.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>djr0379</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246135.html</guid>
		</item>
		<item>
			<title>javascrip+if statement</title>
			<link>http://www.daniweb.com/forums/thread246134.html</link>
			<pubDate>Mon, 14 Dec 2009 01:19:51 GMT</pubDate>
			<description>hello everyone 
 could u please solve this for me 
Write embedded JavaScript code in the required HTML tags that  
 
accepts three numbers from the user and pring out the maximum as the following result : 
 
First Number is : 3 
 
Second Number is : 4</description>
			<content:encoded><![CDATA[<div>hello everyone<br />
 could u please solve this for me<br />
Write embedded JavaScript code in the required HTML tags that <br />
<br />
accepts three numbers from the user and pring out the maximum as the following result :<br />
<br />
First Number is : 3<br />
<br />
Second Number is : 4<br />
<br />
Third Number is : 5<br />
<br />
The maximum number is : 5<br />
<br />
<br />
this is my code which is not run with me<br />
<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;<br />
my first program<br />
&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;SCRIPT LANGUAGE=&quot;java script&quot;&gt;<br />
<br />
{<br />
<br />
var firstNumber;<br />
var secondNumber;<br />
var thiredNumber;<br />
var max;<br />
3=firstNumber;<br />
4=secondNumber;<br />
5=thiredNumber;<br />
<br />
firstNumber=window.promp('please enter first number','');<br />
firstNumber=parseFloat(firstNumber);<br />
<br />
<br />
secondNumber=window.promp('please enter second number','');<br />
secondNumber=parseFloat (secondNumber);<br />
<br />
<br />
<br />
<br />
thiredNumber=window.promp('please enter thired number','');<br />
thiredNumber=parseFloat(thiredNumber);<br />
<br />
<br />
if (firstNumber&gt;secondNumber)<br />
{<br />
max=firstNumber;<br />
}<br />
else<br />
<br />
{<br />
max=secondNumber;<br />
}<br />
<br />
<br />
if (thiredNumber&gt;max)<br />
{<br />
max=thiredNumber;<br />
}<br />
document.write('The maximum number is'+max);<br />
<br />
<br />
}<br />
<br />
<br />
&lt;/SCRIPT&gt;<br />
<br />
<br />
&lt;/html&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>girl.java</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246134.html</guid>
		</item>
		<item>
			<title>PHP / Shopping Cart / Parse Error</title>
			<link>http://www.daniweb.com/forums/thread246126.html</link>
			<pubDate>Mon, 14 Dec 2009 00:31:24 GMT</pubDate>
			<description><![CDATA[Hi. I am new both in daniweb and as a web programmer (university student) and I'd really like some help, if possible, with a shopping cart I've been developing for a lesson/project of mine. The error I get is: Parse error: syntax error, unexpected '{' in...]]></description>
			<content:encoded><![CDATA[<div>Hi. I am new both in daniweb and as a web programmer (university student) and I'd really like some help, if possible, with a shopping cart I've been developing for a lesson/project of mine. The error I get is: Parse error: syntax error, unexpected '{' in C:\Apache_PHP_MySQL\xampp\htdocs\site\basket.php on line 135. I've checked my code again and again and i can't find any errors around the line mentioned. The code follows. I know it might be a bit chaotic but I am still trying to find my style :P. Any help would be appreciated. (the language that you might not understand is greek, though I don't think you will need it)<br />
 <pre style="margin:20px; line-height:13px">&lt;?php<br />
&nbsp; session_start();<br />
&nbsp; if($action==&quot;deleteall&quot;)<br />
&nbsp; {<br />
&nbsp; &nbsp; unset($_SESSION&#91;&quot;basket&quot;&#93;);<br />
&nbsp; }<br />
&nbsp; else&nbsp; <br />
&nbsp; {<br />
&nbsp; &nbsp; $basket=$_SESSION&#91;&quot;basket&quot;&#93;;<br />
&nbsp; &nbsp; $action=$_GET&#91;&quot;action&quot;&#93;;<br />
&nbsp; &nbsp; $total=0;<br />
&nbsp; &nbsp; switch ($action)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; case &quot;add&quot;:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ($basket)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $basket.=&quot;,&quot;.$_GET&#91;&quot;prodid&quot;&#93;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; } <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $basket=$_GET&#91;&quot;prodid&quot;&#93;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case &quot;delete&quot;:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if($basket)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $items=explode(&quot;,&quot;,$basket);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $newbasket=&quot;&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; foreach($items as $item)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ($_GET&#91;&quot;prodid&quot;&#93;!=$item) <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ($newbasket!=&quot;&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $newbasket.=&quot;,&quot;.$item;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $newbasket=$item;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $basket=$newbasket;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case &quot;update&quot;:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if($basket) <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $newbasket=&quot;&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; foreach($_POST as $key=&gt;$value)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(stristr($key,&quot;qty&quot;))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $id=str_replace(&quot;qty&quot;,&quot;&quot;,$key);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $items=($newbasket!=&quot;&quot;)?explode(&quot;,&quot;,$newbasket):explode(&quot;,&quot;,$basket);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $newbasket=&quot;&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; foreach ($items as $item)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ($id!=$item)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ($newbasket!=&quot;&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $newbasket.=&quot;,&quot;.$item;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $newbasket=$item;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for ($i=1;$i&lt;=$value;$i++)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ($newbasket!=&quot;&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $newbasket.=&quot;,&quot;.$id;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $newbasket=$id;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }//end of &#91;if($basket)&#93; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $basket=$newbasket;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />
&nbsp; &nbsp; }//end of &#91;switch&#93;<br />
&nbsp; &nbsp; $_SESSION&#91;&quot;basket&quot;&#93;=$basket;<br />
&nbsp; }//end of &#91;else&#93;<br />
?&gt;<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;DNZ e-PCshop&lt;/title&gt;<br />
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;<br />
&lt;style type=&quot;text/css&quot;&gt;<br />
&lt;!--<br />
body,td,th {<br />
&nbsp; &nbsp; &nbsp; &nbsp; font-family: Trebuchet MS, Arial, Helvetica, sans-serif;<br />
}<br />
--&gt;<br />
&lt;/style&gt;<br />
&lt;/head&gt;<br />
&lt;body background=&quot;/gfx/main.jpg&quot;&gt;<br />
&lt;?php<br />
&nbsp; $con=mysql_connect(&quot;localhost&quot;,&quot;root&quot;,&quot;&quot;);<br />
&nbsp; if(!$con)<br />
&nbsp; {<br />
&nbsp; &nbsp; die('Could not connect: '.mysql_error());<br />
&nbsp; }<br />
&nbsp; mysql_select_db(&quot;epcshop&quot;,$con);<br />
&nbsp; if($basket)<br />
&nbsp; { <br />
&nbsp; &nbsp; $items=explode(&quot;,&quot;,$basket);<br />
&nbsp; &nbsp; $contents=array();<br />
&nbsp; &nbsp; &nbsp; &nbsp; foreach($items as $item)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $contents&#91;$item&#93;=(isset($contents&#91;$item&#93;))?$contents&#91;$item&#93;+1:1;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
?&gt;<br />
&lt;form action=&quot;basket.php?action=update&quot; method=&quot;post&quot; id=&quot;cart&quot;&gt;<br />
&lt;table border=&quot;0&quot; align=&quot;center&quot; width=&quot;95%&quot; vspace=&quot;50&quot;&gt;<br />
&lt;caption align=&quot;center&quot;&gt;&lt;b&gt;ΚΑΛΑΘΙ ΑΓΟΡΩΝ&lt;/b&gt;&lt;/caption&gt;<br />
&nbsp; &lt;tr bgcolor=&quot;#FF9933&quot;&gt;<br />
&nbsp; &nbsp; &lt;td align=&quot;center&quot; width=&quot;20%&quot;&gt;&lt;b&gt;ΚΑΤΗΓΟΡΙΑ&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;td align=&quot;center&quot; width=&quot;57%&quot;&gt;&lt;b&gt;ΤΙΤΛΟΣ&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;td align=&quot;center&quot; width=&quot;5%&quot;&gt;&lt;b&gt;ΤΙΜΗ&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;td align=&quot;center&quot; width=&quot;8%&quot;&gt;&lt;b&gt;ΠΟΣΟΤΗΤΑ&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;td align=&quot;center&quot; width=&quot;10%&quot;&gt;&lt;b&gt;ΣΥΝΟΛΟ&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&lt;?php<br />
&nbsp; &nbsp; foreach ($contents as $id=&gt;$qty)<br />
&nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $result=mysql_query(&quot;SELECT * FROM products WHERE id_product='&quot;.$id.&quot;'&quot;,$con);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while($row=mysql_fetch_array($result))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $recat=mysql_query(&quot;SELECT * FROM categories WHERE id_category='&quot;.$row&#91;'category'&#93;.&quot;'&quot;,$con);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while($rowcat=mysql_fetch_array($recat))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
?&gt;<br />
&nbsp; &lt;tr bgcolor=&quot;#FFFF99&quot;&gt;<br />
&nbsp; &nbsp; &lt;td align=&quot;center&quot; width=&quot;20%&quot;&gt;&lt;?php echo $rowcat&#91;'category'&#93;; ?&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;td align=&quot;center&quot; width=&quot;57%&quot;&gt;&lt;?php echo &quot;(&quot;.$id.&quot;) &quot;.$row&#91;'name'&#93;; ?&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;td align=&quot;center&quot; width=&quot;5%&quot;&gt;&lt;?php echo $row&#91;'price'&#93;.&quot;&amp;euro;&quot;; ?&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;td align=&quot;center&quot; width=&quot;8%&quot;&gt;&lt;?php echo &quot;&lt;input type='text' name='qty&quot;.$id.&quot;' value='&quot;.$qty.&quot;' size='3' maxlength='3'&gt;&quot;; ?&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;td align=&quot;center&quot; width=&quot;10%&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;?php <br />
&nbsp; &nbsp; &nbsp; &nbsp; echo ($row&#91;'price'&#93;*$qty).&quot;&amp;euro;&lt;br&gt;&lt;a href='basket.php?action=delete&amp;id='&quot;.$id.&quot;&gt;Διαγραφή&lt;/a&gt;&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; $total+=$row&#91;'price'&#93;*$qty; <br />
&nbsp; &nbsp; &nbsp; &nbsp; ?&gt;<br />
&nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&lt;?php<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
?&gt;<br />
&nbsp; &lt;tr bgcolor=&quot;#999999&quot;&gt;<br />
&nbsp; &nbsp; &lt;td align=&quot;right&quot; colspan=&quot;4&quot;&gt;Αξία προϊόντων:&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;td align=&quot;center&quot; width=&quot;10%&quot;&gt;&lt;?php echo $total.&quot;&amp;euro;&lt;br&gt;&lt;a href='basket.php?action=deleteall'&gt;Διαγραφή όλων&lt;/a&gt;&quot;; ?&gt;&lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&nbsp; &lt;tr bgcolor=&quot;#999999&quot;&gt;<br />
&nbsp; &nbsp; &lt;td align=&quot;right&quot; colspan=&quot;5&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;button type=&quot;submit&quot;&gt;Ανανέωση&lt;/button&gt;&lt;br&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;b&gt;Σημείωση:&lt;/b&gt; Πατήστε το κουμπί &quot;Ανανέωση&quot; για να δείτε τις νέες τιμές αν έχετε αλλάξει την ποσότητα!!!<br />
&nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&nbsp; &lt;tr bgcolor=&quot;#999999&quot;&gt;<br />
&nbsp; &nbsp; &lt;td align=&quot;center&quot; colspan=&quot;5&quot;&gt;&lt;a href=&quot;order_form.php&quot;&gt;ΣΥΜΠΛΗΡΩΣΗ ΦΟΡΜΑΣ ΠΑΡΑΓΓΕΛΙΑΣ&lt;/a&gt;&lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/form&gt;<br />
&lt;?php<br />
&nbsp; }//end of &#91;if($basket)&#93;<br />
&nbsp; else<br />
&nbsp; {<br />
?&gt;<br />
&nbsp; &nbsp; &lt;table align=&quot;center&quot; width=&quot;95%&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;tr bgcolor=&quot;#999999&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;td align=&quot;center&quot;&gt;Δεν υπάρχουν προϊόντα στο καλάθι σας.&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &lt;/table&gt;<br />
&lt;?php<br />
&nbsp; }<br />
&nbsp; mysql_close($con);<br />
?&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>pkrdimos</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246126.html</guid>
		</item>
		<item>
			<title><![CDATA[mysql_fetch_array(): supplied argument is not a valid MySQL - can't figure it out...]]></title>
			<link>http://www.daniweb.com/forums/thread246121.html</link>
			<pubDate>Sun, 13 Dec 2009 23:15:54 GMT</pubDate>
			<description><![CDATA[I get these errors in a script of mine: 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags" target="_blank">Help with Code Tags</a>...]]></description>
			<content:encoded><![CDATA[<div>I get these errors in a script of mine:<br />
 <pre style="margin:20px; line-height:13px">Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\www\vhosts\myradiostation\test.php on line 13</pre><br />
and my original page (included in another page):<br />
 <pre style="margin:20px; line-height:13px">&nbsp; &nbsp; &nbsp; &nbsp; &lt;?php<br />
//connect to mysql<br />
//change user and password to your mySQL name and password<br />
mysql_connect(&quot;localhost&quot;,&quot;root&quot;,&quot;PASSWORDREMOVED&quot;); <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
//select which database you want to edit<br />
mysql_select_db(&quot;myradio&quot;); <br />
<br />
//select the table<br />
$result = mysql_query(&quot;select * from presenters;&quot;);<br />
<br />
//grab all the content<br />
while($r=mysql_fetch_array($result)) <br />
&nbsp;  //the format is $variable = $r[&quot;nameofmysqlcolumn&quot;];<br />
&nbsp;  //modify these to match your mysql table columns<br />
&nbsp;  $shows=$r[&quot;shows&quot;];<br />
&nbsp;  $onair=$r[&quot;onair];<br />
&nbsp;  $images=$r[&quot;image&quot;];<br />
&nbsp;  $showdesc=$r[&quot;showdesc&quot;];<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo &quot;&lt;div class=\&quot;divider\&quot;&gt;&lt;/div&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div class=\&quot;main\&quot; style=\&quot;width:552px;\&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;img src=\&quot;$images\&quot; width=115 height=60&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div class=\&quot;time\&quot;&gt;$onair&lt;/div&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div class=\&quot;show\&quot;&gt;&lt;h3&gt;&lt;b&gt;$shows&lt;/b&gt;&lt;/h3&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;$showdesc&lt;/p&gt;&lt;/div&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div class=\&quot;footer\&quot;&gt;&lt;/div&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; ?&gt;</pre><br />
How do I get the MySQL and PHP to work properly with this?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>whitestream6</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246121.html</guid>
		</item>
		<item>
			<title>How much is my web application worth?</title>
			<link>http://www.daniweb.com/forums/thread246108.html</link>
			<pubDate>Sun, 13 Dec 2009 21:48:16 GMT</pubDate>
			<description>what up Gurus,  
 
My name is Rick Pace and Im a recent IT grad who has been working on a sales lead management system using ASP.net and SQL server. This is a highly functional web app that ive been working on for longer then I care to admit.  
 
I had developed it for Rembrandt remodeling but they...</description>
			<content:encoded><![CDATA[<div>what up Gurus, <br />
<br />
My name is Rick Pace and Im a recent IT grad who has been working on a sales lead management system using ASP.net and SQL server. This is a highly functional web app that ive been working on for longer then I care to admit. <br />
<br />
I had developed it for Rembrandt remodeling but they are now out of buisiness and were only planning on paying me several hundred dollars for it anyway. Fortunately for me there are thousands of home remodeling companies out there that I could costomize this for.<br />
<br />
My question is:<br />
How much should I charge for something like this? Ive been working on it for weeks but I am also still learning so therfore I can't use my hours as a means to calculate price.<br />
<br />
Please take a look and give me something Ballpark if you dont mind.<br />
<a rel="nofollow" class="t" href="http://www.skylimittechnology.com/enterprise.aspx" target="_blank">www.skylimittechnology.com/enterprise.aspx</a><br />
<br />
feel free to mess with it all you want. ie.. submit leads, assign sales reps, create users,  filter results<br />
<br />
Thanks in advance,<br />
Rick Pace</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>ricksvoid</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246108.html</guid>
		</item>
		<item>
			<title>How do you write your own Template?</title>
			<link>http://www.daniweb.com/forums/thread246102.html</link>
			<pubDate>Sun, 13 Dec 2009 21:15:17 GMT</pubDate>
			<description>Hi guys, 
its me again. How do you write templates for your sites (without template engine)? Pure php or what? I want to hear how you do it</description>
			<content:encoded><![CDATA[<div>Hi guys,<br />
its me again. How do you write templates for your sites (without template engine)? Pure php or what? I want to hear how you do it</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>evstevemd</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246102.html</guid>
		</item>
		<item>
			<title>Ajax with PHP and JQuery only - possible?</title>
			<link>http://www.daniweb.com/forums/thread246100.html</link>
			<pubDate>Sun, 13 Dec 2009 21:13:14 GMT</pubDate>
			<description><![CDATA[I know you would say ask to JS/AJAX forum! Don't worry, it isn't about codes, it is curiosity. I wan't to know if I can do Ajaxing using JQuery and PHP without writting all Ajax functions myself :) 
Just that :-/]]></description>
			<content:encoded><![CDATA[<div>I know you would say ask to JS/AJAX forum! Don't worry, it isn't about codes, it is curiosity. I wan't to know if I can do Ajaxing using JQuery and PHP without writting all Ajax functions myself :)<br />
Just that :-/</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>evstevemd</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246100.html</guid>
		</item>
		<item>
			<title>Please tell what do you use when....</title>
			<link>http://www.daniweb.com/forums/thread246098.html</link>
			<pubDate>Sun, 13 Dec 2009 21:07:42 GMT</pubDate>
			<description><![CDATA[I'm just curious to see what are favorite PHPers in terms of the following: 
1. What is your favorite IDE (If you can tell why you love it, it will ice the cake)? 
2. What is your favorite JS/PHP libraries (I would love to hear why) 
3. What PHP framework do you use? 
4. Anything else related?]]></description>
			<content:encoded><![CDATA[<div>I'm just curious to see what are favorite PHPers in terms of the following:<br />
1. What is your favorite IDE (If you can tell why you love it, it will ice the cake)?<br />
2. What is your favorite JS/PHP libraries (I would love to hear why)<br />
3. What PHP framework do you use?<br />
4. Anything else related?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>evstevemd</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246098.html</guid>
		</item>
		<item>
			<title>special character and list of blocked word</title>
			<link>http://www.daniweb.com/forums/thread246092.html</link>
			<pubDate>Sun, 13 Dec 2009 20:15:29 GMT</pubDate>
			<description><![CDATA[Hi All, 
 
I would like to know what's the best way to write function(global) in asp.net c# Framework 2.0 to check for textbox in a form (i have about 80 textbox on one form and I have many forms and textarea 
and I have list of 90 ro 100 words and special chracter that I do not want user to enter....]]></description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
I would like to know what's the best way to write function(global) in asp.net c# Framework 2.0 to check for textbox in a form (i have about 80 textbox on one form and I have many forms and textarea<br />
and I have list of 90 ro 100 words and special chracter that I do not want user to enter. If they enter the item from the list of blocked word or character I want to give them error saying &quot;this character or word in not allowed, please correct it&quot;<br />
The site is getting many hits already so I want to make sure it's not going to slow down a lot. I want to give the message as soon as one of the word or special character listed is found and not want to continue checking further.<br />
<br />
e.g of block list word &quot;abc&quot;,&quot;bbc&quot;,&quot;bbd&quot;,&quot;cbc&quot;,&quot;xbc&quot;,&quot;~&quot;,&quot;^&quot;,&quot;'&quot;. the list can change in the future.<br />
<br />
I am new to asp.net and appreciate any help.<br />
<br />
Thanks<br />
newcoder</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>newcoder10</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246092.html</guid>
		</item>
		<item>
			<title>Timestamp problems in PHP MySQL</title>
			<link>http://www.daniweb.com/forums/thread246091.html</link>
			<pubDate>Sun, 13 Dec 2009 19:51:25 GMT</pubDate>
			<description><![CDATA[This is the code for my TV guide website (stored on localhost)'s articles in PHP: 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags"...]]></description>
			<content:encoded><![CDATA[<div>This is the code for my TV guide website (stored on localhost)'s articles in PHP:<br />
 <pre style="margin:20px; line-height:13px">&lt;?php<br />
//connect to mysql<br />
//change user and password to your mySQL name and password<br />
mysql_connect(&quot;localhost&quot;,&quot;root&quot;,&quot;PASSWORDREMOVED&quot;); <br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
//select which database you want to edit<br />
mysql_select_db(&quot;tvguide&quot;); <br />
<br />
//select the table<br />
$result = mysql_query(&quot;select * from epdata&quot;);<br />
<br />
//grab all the content<br />
while($r=mysql_fetch_array($result))<br />
{&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp;  //the format is $variable = $r[&quot;nameofmysqlcolumn&quot;];<br />
&nbsp;  //modify these to match your mysql table columns<br />
&nbsp;  $programme=$r[&quot;programme&quot;];<br />
&nbsp;  $channel=$r[&quot;channel&quot;];<br />
&nbsp;  $airdate=$r[&quot;airdate&quot;];<br />
&nbsp;  $episode=$r[&quot;episode&quot;];<br />
&nbsp;  $setreminder=$r[&quot;setreminder&quot;];<br />
echo &quot;&lt;tr&gt;&lt;td&gt;&lt;b&gt;$programme&lt;/b&gt;&lt;/td&gt;&lt;td&gt;showing on $channel&lt;/td&gt;&lt;td&gt;$airdate&lt;/td&gt;&lt;td&gt;$episode&lt;/td&gt;&lt;td&gt;$setreminder&lt;/td&gt;&lt;/tr&gt;&quot;;<br />
}<br />
?&gt;</pre><br />
The above works well, extracts data from SQL as I want it to do - but, the problem is trying to get data to display like this:<br />
<div style="margin:20px; margin-top:5px; "> <div class="smallfont" style="margin-bottom:2px">Quote:</div> <table cellpadding="5" cellspacing="0" border="0" width="100%"> <tr> <td class="alt2"> <hr />  House M.D. 	showing on Channel1	December 15th - 7:00pm	&quot;Episode&quot;	 Set Reminder  <hr /> </td> </tr> </table> </div>I can't get the timestamp to set the values as:<br />
(value for date and time programme airs)<br />
<div style="margin:20px; margin-top:5px; "> <div class="smallfont" style="margin-bottom:2px">Quote:</div> <table cellpadding="5" cellspacing="0" border="0" width="100%"> <tr> <td class="alt2"> <hr />  December 25th - 6:30pm  <hr /> </td> </tr> </table> </div>and then when it is that day or time, it just automatically shows it as:<br />
(value for time programme airs)<br />
<div style="margin:20px; margin-top:5px; "> <div class="smallfont" style="margin-bottom:2px">Quote:</div> <table cellpadding="5" cellspacing="0" border="0" width="100%"> <tr> <td class="alt2"> <hr />  7:00pm  <hr /> </td> </tr> </table> </div>and then, in SQL, automatically deleting the record after a certain time (e.g. in this case, the programme is an hour long, so it would have to delete the record by 8:00pm - well, UK time anyway!)<br />
<br />
I am using PhpMyAdmin to edit the data, for the record, so if anyone knows how to fix this I'd appreciate it - I have tried to Google for info on this but didn't find much.<br />
<br />
I'm doing this on localhost on an Apache server, so I don't have access to cron jobs or anything like that.<br />
<br />
I hope I have explained my situation well enough, and all advice is appreciated.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>whitestream6</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246091.html</guid>
		</item>
		<item>
			<title>how can we minus 15 pixel from fitting image in this code ?</title>
			<link>http://www.daniweb.com/forums/thread246054.html</link>
			<pubDate>Sun, 13 Dec 2009 16:20:35 GMT</pubDate>
			<description><![CDATA[hi 
how can we minus 15 pixel from bottom height in fitting for create thumbnails from original image in this code ? i mean how can tell php that capture from original image the ( all width ) and ( all height - 15 pixel from bottom ) 
 
 
  <div class="codeblock"> <div class="spaced"> <div...]]></description>
			<content:encoded><![CDATA[<div>hi<br />
how can we minus 15 pixel from bottom height in fitting for create thumbnails from original image in this code ? i mean how can tell php that capture from original image the ( all width ) and ( all height - 15 pixel from bottom )<br />
<br />
<br />
 <pre style="margin:20px; line-height:13px"># #create thumb<br />
# $thumb = gd_fit($image,$settings['thumbxy']);<br />
<br />
<br />
<br />
#&nbsp; function gd_fit(&amp;$image, $target) { <br />
#&nbsp; <br />
#&nbsp; &nbsp; &nbsp; &nbsp;  //takes the larger size of the width and height and applies the&nbsp; <br />
#&nbsp; &nbsp; &nbsp; &nbsp;  //formula accordingly...this is so this script will work&nbsp; <br />
#&nbsp; &nbsp; &nbsp; &nbsp;  //dynamically with any size image <br />
#&nbsp; <br />
#&nbsp; &nbsp; &nbsp; &nbsp;  $width = gd_width($image);<br />
#&nbsp; &nbsp; &nbsp; &nbsp;  $height = gd_height($image);<br />
#&nbsp; <br />
#&nbsp; &nbsp; &nbsp; &nbsp;  if ($width &gt; $height) { <br />
#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $percentage = ($target / $width); <br />
#&nbsp; &nbsp; &nbsp; &nbsp;  } else { <br />
#&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  $percentage = ($target / $height); <br />
#&nbsp; &nbsp; &nbsp; &nbsp;  } <br />
#&nbsp; <br />
#&nbsp; &nbsp; &nbsp; &nbsp;  //gets the new value and applies the percentage, then rounds the value <br />
#&nbsp; &nbsp; &nbsp; &nbsp;  $width = round($width * $percentage); <br />
#&nbsp; &nbsp; &nbsp; &nbsp;  $height = round($height * $percentage); <br />
#&nbsp; <br />
#&nbsp; &nbsp; &nbsp; &nbsp;  //returns the new sizes in html image tag format...this is so you <br />
#&nbsp; &nbsp; &nbsp; &nbsp;  //can plug this function inside an image tag&nbsp; <br />
#&nbsp; <br />
#&nbsp; &nbsp; &nbsp; &nbsp;  return gd_resize($image,$width,$height);<br />
#&nbsp; <br />
#&nbsp; &nbsp;  }</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>fuchsia555</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246054.html</guid>
		</item>
		<item>
			<title>Implementation of Binary Tree</title>
			<link>http://www.daniweb.com/forums/thread246052.html</link>
			<pubDate>Sun, 13 Dec 2009 16:19:44 GMT</pubDate>
			<description>Please help me guys........ 
 how can i implement a binary tree using a database in asp.net+C# . 
In the table there is only one id field.</description>
			<content:encoded><![CDATA[<div>Please help me guys........<br />
 how can i implement a binary tree using a database in asp.net+C# .<br />
In the table there is only one id field.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>mca.mdebnath</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246052.html</guid>
		</item>
		<item>
			<title>Image search from different website</title>
			<link>http://www.daniweb.com/forums/thread246049.html</link>
			<pubDate>Sun, 13 Dec 2009 15:46:57 GMT</pubDate>
			<description>How to search images from diferent websites and display without storing it. 
 
(Problem is how to search and display images like google image search with perticular word entered by user)</description>
			<content:encoded><![CDATA[<div>How to search images from diferent websites and display without storing it.<br />
<br />
(Problem is how to search and display images like google image search with perticular word entered by user)</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>vizz</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246049.html</guid>
		</item>
		<item>
			<title>install scripting in the domain</title>
			<link>http://www.daniweb.com/forums/thread246048.html</link>
			<pubDate>Sun, 13 Dec 2009 15:44:53 GMT</pubDate>
			<description>hi 
can any one tell step by step how to install php script in the domain 
 
thanks</description>
			<content:encoded><![CDATA[<div>hi<br />
can any one tell step by step how to install php script in the domain<br />
<br />
thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>jhansiads.com</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246048.html</guid>
		</item>
		<item>
			<title>pass multipaly values form javascript to asp.net</title>
			<link>http://www.daniweb.com/forums/thread246047.html</link>
			<pubDate>Sun, 13 Dec 2009 15:40:11 GMT</pubDate>
			<description><![CDATA[Hi 
I want pass multiple values javascript to asp.net(C#) server side... 
how i do it using array ?? 
don't  using hidden fields... 
 
thanks]]></description>
			<content:encoded><![CDATA[<div>Hi<br />
I want pass multiple values javascript to asp.net(C#) server side...<br />
how i do it using array ??<br />
don't  using hidden fields...<br />
<br />
thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>iamchamith</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246047.html</guid>
		</item>
		<item>
			<title>Help with PHP!!!</title>
			<link>http://www.daniweb.com/forums/thread246041.html</link>
			<pubDate>Sun, 13 Dec 2009 14:57:37 GMT</pubDate>
			<description>I was wondering for my school major web project. I have seen from some websites that they have created a floating window on a webpage.  
 
I was wondering if anyone had any suggestions on how I can go about doing it.</description>
			<content:encoded><![CDATA[<div>I was wondering for my school major web project. I have seen from some websites that they have created a floating window on a webpage. <br />
<br />
I was wondering if anyone had any suggestions on how I can go about doing it.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>Niccloud</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246041.html</guid>
		</item>
		<item>
			<title>fold/unfold ul list</title>
			<link>http://www.daniweb.com/forums/thread246039.html</link>
			<pubDate>Sun, 13 Dec 2009 14:27:59 GMT</pubDate>
			<description><![CDATA[hello, 
 
can anyone help med check what I am missing in this code: 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags"...]]></description>
			<content:encoded><![CDATA[<div>hello,<br />
<br />
can anyone help med check what I am missing in this code:<br />
<br />
 <pre style="margin:20px; line-height:13px">//here I want to make the lists unvisible when you enter the page.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
function borja(){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var vanster=document.getElementsByTagName(&quot;h2&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (i=0; i&lt;vanster.length; i++)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; vanster[i].nextSibling.nextSibling.className=&quot;osynlig&quot;; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }&nbsp; &nbsp; &nbsp; &nbsp; <br />
}<br />
<br />
function visa(){ <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var sibling=this.nextSibling.nextSibling; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sibling.className=&quot;synlig&quot;; }<br />
function dolj(){ <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var sibling=this.nextSibling.nextSibling; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sibling.className=&quot;osynlig&quot;; }<br />
function kolla(){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var list=document.getElementsByTagName(&quot;h2&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  for (i=0; i&lt;list.length; i++){ <br />
//this works, the list unfolds as I want it to&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  if(list[i].nextSibling.nextSibling.className==&quot;osynlig&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  {&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  list[i].onclick=visa;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }<br />
//here is doesnt work, the list should fold when I click the h2 again<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  else if(list[i].nextSibling.nextSibling.className==&quot;synlig&quot;){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  list[i].onclick=dolj;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<br />
function init(){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; borja();<br />
kolla();&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } <br />
window.onload=init;</pre><br />
I am totally stuck and would appreciate the help:confused:</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>newto</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246039.html</guid>
		</item>
		<item>
			<title>having problem w/ my dbase loading</title>
			<link>http://www.daniweb.com/forums/thread246036.html</link>
			<pubDate>Sun, 13 Dec 2009 14:21:07 GMT</pubDate>
			<description><![CDATA[*gud day to everyone..im just new in web development..i just want to ask whats the problem if this error occurs: 
* 
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /www/zymichost.com/e/p/u/epurchasing/htdocs/index1.php:7)...]]></description>
			<content:encoded><![CDATA[<div><span style="font-weight:bold">gud day to everyone..im just new in web development..i just want to ask whats the problem if this error occurs:<br />
</span><br />
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /www/zymichost.com/e/p/u/epurchasing/htdocs/index1.php:7) in /www/zymichost.com/e/p/u/epurchasing/htdocs/library/config.php on line 2<br />
<br />
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /www/zymichost.com/e/p/u/epurchasing/htdocs/index1.php:7) in /www/zymichost.com/e/p/u/epurchasing/htdocs/library/config.php on line 2<br />
Unknown column 'sc_order_email' in 'field list'<br />
<br />
<span style="font-weight:bold">..i just want to know whats this problem all about my dbase connection code is this:</span><br />
&lt;?php<br />
session_start();<br />
// database connection config<br />
$dbHost = 'epurchasing.zymichost.com';<br />
$dbUser = '65541_jamaika24';<br />
$dbPass = 'jamaika24';<br />
$dbName = 'epurchasing_zymichost_dbase24';<br />
<br />
// setting up the web root and server root for<br />
// this shopping cart application<br />
$thisFile = str_replace('\\', '/', __FILE__);<br />
$docRoot = $_SERVER['DOCUMENT_ROOT'];<br />
<br />
$webRoot  = str_replace(array($docRoot, 'library/config.php'), '', $thisFile);<br />
$srvRoot  = str_replace('library/config.php', '', $thisFile);<br />
<br />
define('WEB_ROOT', $webRoot);<br />
define('SRV_ROOT', $srvRoot);<br />
<br />
// these are the directories where we will store all<br />
// category and product images<br />
define('CATEGORY_IMAGE_DIR', 'images/category/');<br />
define('PRODUCT_IMAGE_DIR',  'images/product/');<br />
<br />
// some size limitation for the category<br />
// and product images<br />
<br />
// all category image width must not <br />
// exceed 75 pixels<br />
define('MAX_CATEGORY_IMAGE_WIDTH', 75);<br />
<br />
// do we need to limit the product image width?<br />
// setting this value to 'true' is recommended<br />
define('LIMIT_PRODUCT_WIDTH',     true);<br />
<br />
// maximum width for all product image<br />
define('MAX_PRODUCT_IMAGE_WIDTH', 300);<br />
<br />
// the width for product thumbnail<br />
define('THUMBNAIL_WIDTH',         75);<br />
<br />
if (!get_magic_quotes_gpc()) {<br />
	if (isset($_POST)) {<br />
		foreach ($_POST as $key =&gt; $value) {<br />
			$_POST[$key] =  trim(addslashes($value));<br />
		}<br />
	}<br />
	<br />
	if (isset($_GET)) {<br />
		foreach ($_GET as $key =&gt; $value) {<br />
			$_GET[$key] = trim(addslashes($value));<br />
		}<br />
	}	<br />
}<br />
<br />
// since all page will require a database access<br />
// and the common library is also used by all<br />
// it's logical to load these library here<br />
require_once 'database.php';<br />
require_once 'common.php';<br />
<br />
// get the shop configuration ( name, addres, etc ), all page need it<br />
$shopConfig = getShopConfig();<br />
<br />
?&gt;</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>ebookstores</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246036.html</guid>
		</item>
		<item>
			<title>login system using database</title>
			<link>http://www.daniweb.com/forums/thread246033.html</link>
			<pubDate>Sun, 13 Dec 2009 14:03:31 GMT</pubDate>
			<description><![CDATA[hi.. 
i'll ask some question regarding my system login part.. 
This is my databasae connection.. 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help...]]></description>
			<content:encoded><![CDATA[<div>hi..<br />
i'll ask some question regarding my system login part..<br />
This is my databasae connection..<br />
<br />
 <pre style="margin:20px; line-height:13px"> &lt;?<br />
&nbsp;  <br />
&nbsp; &nbsp; &nbsp; include(&quot;constants.php&quot;);<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp;  <br />
&nbsp;  <br />
&nbsp; &nbsp; &nbsp; class MySQLDB<br />
&nbsp;  <br />
&nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; var $connection; //The MySQL database connection<br />
&nbsp;  <br />
&nbsp; &nbsp; &nbsp; function MySQLDB(){<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; /* Make connection to database */<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; $this-&gt;connection = mysql_connect(DB_SERVER, DB_USER, DB_PASS) or die(mysql_error());<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; mysql_select_db(DB_NAME, $this-&gt;connection) or die(mysql_error());<br />
<br />
&nbsp; &nbsp; &nbsp; function confirmUserPass($username, $password){<br />
<br />
&nbsp; &nbsp; &nbsp; /* Add slashes if necessary (for query) */<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; if(!get_magic_quotes_gpc()) {<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; $username = addslashes($username);<br />
<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; /* Verify that user is in database */<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; $q = &quot;SELECT password FROM &quot;.userpass.&quot; WHERE username = '$username'&quot;;<br />
<br />
&nbsp; &nbsp; &nbsp; $result = mysql_query($q, $this-&gt;connection);<br />
<br />
&nbsp; &nbsp; &nbsp; if(!$result || (mysql_numrows($result) &lt; 1)){<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; return 1; //Indicates username failure<br />
&nbsp; &nbsp;  }<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp;  <br />
<br />
&nbsp; &nbsp; &nbsp; /* Validate that password is correct */<br />
<br />
&nbsp; &nbsp; &nbsp; if($password == $dbarray['password']){<br />
<br />
&nbsp; &nbsp; &nbsp; return 0; //Success! Username and password confirmed<br />
<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; else{<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; return 2; //Indicates password failure<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; $q = &quot;SELECT id FROM &quot;.userpass.&quot; WHERE username = '$username'&quot;;<br />
<br />
&nbsp; &nbsp; &nbsp; $result = mysql_query($q, $this-&gt;connection);<br />
&nbsp; <br />
&nbsp; &nbsp; &nbsp; if(!$result || (mysql_numrows($result) &lt; 1)){<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; return 1; //Indicates username failure<br />
<br />
&nbsp; &nbsp; &nbsp; }<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp;  <br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; ?&gt;</pre><br />
my system does not run well.the username as well as the password is saved on it's database.my database name is 'records' and it's table name is 'userpass'...i can't log..what do you think the problem with my code?<br />
all i want is insert username and password from the textbox in the login menu then validate from it's database. when i click the login button,it will proceed to my main page.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>takeshi</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246033.html</guid>
		</item>
		<item>
			<title>how to catch print error in javascript</title>
			<link>http://www.daniweb.com/forums/thread246023.html</link>
			<pubDate>Sun, 13 Dec 2009 12:52:24 GMT</pubDate>
			<description>I have a requirement in which I have to prin to directly to printer and show the error if its not printed. 
 
Till now I have been able to manage to send  directly to printer via vbscript. 
 
but If am not able to print script never throws the error . 
 
I have tried Windows.onbeforePrint and...</description>
			<content:encoded><![CDATA[<div>I have a requirement in which I have to prin to directly to printer and show the error if its not printed.<br />
<br />
Till now I have been able to manage to send  directly to printer via vbscript.<br />
<br />
but If am not able to print script never throws the error .<br />
<br />
I have tried Windows.onbeforePrint and Windows.onafterprint but both are fired even if there is some error in printing.<br />
<br />
Note :- I am directly sending to print with out showing the print dialog.<br />
<br />
<br />
<br />
Kindly help me this.<br />
<br />
<br />
<br />
I am sure there is way out or a parameter which tells the print was not successful.<br />
<br />
I will be using IE 6 and above for the application<br />
<br />
Thanks in advance</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>varun pathak</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246023.html</guid>
		</item>
		<item>
			<title>question about my sql</title>
			<link>http://www.daniweb.com/forums/thread246019.html</link>
			<pubDate>Sun, 13 Dec 2009 12:19:28 GMT</pubDate>
			<description><![CDATA[Hi, I'm new member I saw this site and it is really interesting , I have new project I worked on it with html and php it is a web site for songs I built the whole site and now start programming the database for singers and songs what I need to ask about is how to start work on data base and connect...]]></description>
			<content:encoded><![CDATA[<div>Hi, I'm new member I saw this site and it is really interesting , I have new project I worked on it with html and php it is a web site for songs I built the whole site and now start programming the database for singers and songs what I need to ask about is how to start work on data base and connect it with my SQL can you help me? thanksalot</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>jumanaakram</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246019.html</guid>
		</item>
		<item>
			<title>drop down list problem</title>
			<link>http://www.daniweb.com/forums/thread246011.html</link>
			<pubDate>Sun, 13 Dec 2009 10:53:09 GMT</pubDate>
			<description>i am having a peculiar prob with drop down list 
 
whenever i am trying to open my form,the drop down list is not getting populated for the first time...but the second time the drop down is getting populated 
 
hav a grtt day 
 
thanx in advance</description>
			<content:encoded><![CDATA[<div>i am having a peculiar prob with drop down list<br />
<br />
whenever i am trying to open my form,the drop down list is not getting populated for the first time...but the second time the drop down is getting populated<br />
<br />
hav a grtt day<br />
<br />
thanx in advance</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>RAMAN2233</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246011.html</guid>
		</item>
		<item>
			<title>How first compobox value control secon compobox</title>
			<link>http://www.daniweb.com/forums/thread246006.html</link>
			<pubDate>Sun, 13 Dec 2009 10:34:02 GMT</pubDate>
			<description><![CDATA[I have created a compobox and selected District from address table. I have to take the district name as a key and filter "towns" from  address table and  it should be displayed in the second compobox. Anyone help me what code I can use for second compobox? 
 
The code used for the first one is...]]></description>
			<content:encoded><![CDATA[<div>I have created a compobox and selected District from address table. I have to take the district name as a key and filter &quot;towns&quot; from  address table and  it should be displayed in the second compobox. Anyone help me what code I can use for second compobox?<br />
<br />
The code used for the first one is working :<br />
<br />
&lt;form name=&quot;select_category&quot; action=&quot;../select_category.php&quot; method=&quot;post&quot; &gt;<br />
&lt;select name=&quot;cate&quot; id=&quot;cate&quot; style=&quot;width:180px;&quot; &gt;<br />
&lt;option value=&quot;select&quot;&gt;Select District&lt;/option&gt;<br />
&lt;?<br />
$new=mysql_query(&quot;select * from address order by district asc&quot;);<br />
while ($new12=mysql_fetch_array($new))<br />
{<br />
?&gt;<br />
&lt;option value=&quot;&lt;?=$new12['district'];?&gt;&quot;&gt;&lt;?=$new12['district'];?&gt;&lt;/option&gt;<br />
&lt;? } ?&gt;<br />
&lt;/select&gt;<br />
&lt;/form&gt;<br />
<br />
Any one give me how to write the second one?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>azadms</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread246006.html</guid>
		</item>
		<item>
			<title>Flight/Hotel Search API</title>
			<link>http://www.daniweb.com/forums/thread245998.html</link>
			<pubDate>Sun, 13 Dec 2009 08:22:22 GMT</pubDate>
			<description>Hi to all, 
 
I am developing a traveling web site. In which i am using kayak.com 
API for searching flights and hotels. 
 
The problem with this API is that, In hotel search they are not providing any hotel images in the result XML 
 
I have to show images of the hotels too in my search result. 
...</description>
			<content:encoded><![CDATA[<div>Hi to all,<br />
<br />
I am developing a traveling web site. In which i am using kayak.com<br />
API for searching flights and hotels.<br />
<br />
The problem with this API is that, In hotel search they are not providing any hotel images in the result XML<br />
<br />
I have to show images of the hotels too in my search result.<br />
<br />
The same also with the flight search, in the flight search result they are not providing any images for the airlines.<br />
<br />
So can anyone please suggest any other free API which will full fill my requirement.<br />
<br />
If is there any help code available then please help me.<br />
<br />
Thanks<br />
Manish</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>manish_partey</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245998.html</guid>
		</item>
		<item>
			<title>Spry vs jQuery</title>
			<link>http://www.daniweb.com/forums/thread245997.html</link>
			<pubDate>Sun, 13 Dec 2009 08:19:37 GMT</pubDate>
			<description><![CDATA[I just watched the "Taming the Web" video from 01/12/09 on Adobe TV which discusses how to use jQuery as a framework for AJAX development using Dreamweaver CS4.  I am just beginning to learn about this stuff but it seemed to me that everything that the instructor did with jQuery was very similar to...]]></description>
			<content:encoded><![CDATA[<div>I just watched the &quot;Taming the Web&quot; video from 01/12/09 on Adobe TV which discusses how to use jQuery as a framework for AJAX development using Dreamweaver CS4.  I am just beginning to learn about this stuff but it seemed to me that everything that the instructor did with jQuery was very similar to other videos that I have seen discussing Spry.<br />
<br />
My question is: what are the advantages and disadvantages of each?<br />
<br />
Thanks!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>Breckenridge</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245997.html</guid>
		</item>
		<item>
			<title>Need help:  inserting sql into an html form list</title>
			<link>http://www.daniweb.com/forums/thread245977.html</link>
			<pubDate>Sun, 13 Dec 2009 05:47:12 GMT</pubDate>
			<description><![CDATA[Hey. 
 
I'm new to php and I have been looking everywhere for info on how to take information from my sql table field and put it into a html form list.]]></description>
			<content:encoded><![CDATA[<div>Hey.<br />
<br />
I'm new to php and I have been looking everywhere for info on how to take information from my sql table field and put it into a html form list.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>dhrider</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245977.html</guid>
		</item>
		<item>
			<title>Refer to other project folder in a single solution</title>
			<link>http://www.daniweb.com/forums/thread245976.html</link>
			<pubDate>Sun, 13 Dec 2009 05:46:11 GMT</pubDate>
			<description>Hi 
I have a solution file that consist of two different projects. 
In one of the projects i have a code to upload the file and save it. 
 
Currently the file is saved in same project directory that consist of code to upload the file. 
 
I want to upload the file in other project directory. 
 
Is...</description>
			<content:encoded><![CDATA[<div>Hi<br />
I have a solution file that consist of two different projects.<br />
In one of the projects i have a code to upload the file and save it.<br />
<br />
Currently the file is saved in same project directory that consist of code to upload the file.<br />
<br />
I want to upload the file in other project directory.<br />
<br />
Is it possible.<br />
<br />
I am developing the application in asp.net mvc.<br />
<br />
Please help</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>nccsbim071</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245976.html</guid>
		</item>
		<item>
			<title><![CDATA[run-time error '-2147217900 (80040e14)]]></title>
			<link>http://www.daniweb.com/forums/thread245962.html</link>
			<pubDate>Sun, 13 Dec 2009 03:20:25 GMT</pubDate>
			<description><![CDATA[Please see and find out what was the problem. It's seem OK on me but it doesn't work on vb code using SQL Server 2000 
"SELECT qry_close_month.Item_code, T_ITEM.item_name, " & _ 
            "Sum(IIf(qry_close_month.Bulan='January',qry_close_month.Stock,0)) AS Jan, " & _ 
           ...]]></description>
			<content:encoded><![CDATA[<div>Please see and find out what was the problem. It's seem OK on me but it doesn't work on vb code using SQL Server 2000<br />
 <pre style="margin:20px; line-height:13px">&quot;SELECT qry_close_month.Item_code, T_ITEM.item_name, &quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Sum(IIf(qry_close_month.Bulan='January',qry_close_month.Stock,0)) AS Jan, &quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Sum(IIf(qry_close_month.Bulan='February',qry_close_month.Stock,0)) AS Feb, &quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Sum(IIf(qry_close_month.Bulan='March',qry_close_month.Stock,0)) AS Mar, &quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Sum(IIf(qry_close_month.Bulan='April',qry_close_month.Stock,0)) AS Apr, &quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Sum(IIf(qry_close_month.Bulan='May',qry_close_month.Stock,0)) AS May, &quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Sum(IIf(qry_close_month.Bulan='June',qry_close_month.Stock,0)) AS Jun, &quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Sum(IIf(qry_close_month.Bulan='July,qry_close_month.Stock,0)) AS Jul, &quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Sum(IIf(qry_close_month.Bulan='August',qry_close_month.Stock,0)) AS Aug, &quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Sum(IIf(qry_close_month.Bulan='September',qry_close_month.Stock,0)) AS Sep, &quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Sum(IIf(qry_close_month.Bulan='October',qry_close_month.Stock,0)) AS Oct, &quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Sum(IIf(qry_close_month.Bulan='November',qry_close_month.Stock,0)) AS Nov, &quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;Sum(IIf(qry_close_month.Bulan='December',qry_close_month.Stock,0)) AS Dec, &quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;qry_close_month.Bulan, qry_close_month.Tahun &quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;FROM qry_close_month INNER JOIN T_ITEM ON qry_close_month.Item_code = T_ITEM.item_code &quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;GROUP BY qry_close_month.Item_code, T_ITEM.item_name, qry_close_month.Bulan, qry_close_month.Tahun &quot; &amp; _<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;WHERE TAHUN='&quot; &amp; year(date) &amp; &quot;'&quot;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum127.html">MS SQL</category>
			<dc:creator>tuyudi</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245962.html</guid>
		</item>
		<item>
			<title>Negative countdown</title>
			<link>http://www.daniweb.com/forums/thread245945.html</link>
			<pubDate>Sun, 13 Dec 2009 00:37:58 GMT</pubDate>
			<description><![CDATA[I have a javascript that displays a countdown in the browser. The problem is that if the element does not load immediately the countdown turns to negative. Here is the script: 
 
<script> 
var time = 10; //How long (in seconds) to countdown 
var page = '<?php echo $page ?>'; //The destination....]]></description>
			<content:encoded><![CDATA[<div>I have a javascript that displays a countdown in the browser. The problem is that if the element does not load immediately the countdown turns to negative. Here is the script:<br />
 <pre style="margin:20px; line-height:13px">&lt;script&gt;<br />
var time = 10; //How long (in seconds) to countdown<br />
var page = '&lt;?php echo $page ?&gt;'; //The destination.<br />
function countDown(){<br />
time --;<br />
get(&quot;message&quot;).innerHTML = time;<br />
if(time == 0){<br />
window.location = page;<br />
}<br />
}<br />
function get(id){<br />
if(document.getElementById) return document.getElementById(id);<br />
if(document.all) return document.all.id;<br />
if(document.layers) return document.layers.id;<br />
if(window.opera) return window.opera.id;<br />
}<br />
function init(){<br />
if(get('message')){<br />
setInterval(countDown, 1000);<br />
get(&quot;message&quot;).innerHTML = time;<br />
}<br />
else{<br />
setTimeout(init, 50);<br />
}<br />
}<br />
document.onload = init();<br />
&lt;/script&gt;</pre>Will someone please help? I just need a way to tell the countdown to stop at 0. Thanks.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>Tekkno</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245945.html</guid>
		</item>
		<item>
			<title>AJAX loading animation</title>
			<link>http://www.daniweb.com/forums/thread245943.html</link>
			<pubDate>Sun, 13 Dec 2009 00:23:52 GMT</pubDate>
			<description><![CDATA[I have the following AJAX script:  
 
function callAHAH(url, pageElement, errorMessage) { 
     document.getElementById(pageElement).innerHTML; 
     try { 
     req = new XMLHttpRequest(); /* e.g. Firefox */ 
     } catch(e) { 
       try { 
       req = new ActiveXObject("Msxml2.XMLHTTP");  /*...]]></description>
			<content:encoded><![CDATA[<div>I have the following AJAX script: <br />
 <pre style="margin:20px; line-height:13px">function callAHAH(url, pageElement, errorMessage) {<br />
&nbsp; &nbsp;  document.getElementById(pageElement).innerHTML;<br />
&nbsp; &nbsp;  try {<br />
&nbsp; &nbsp;  req = new XMLHttpRequest(); /* e.g. Firefox */<br />
&nbsp; &nbsp;  } catch(e) {<br />
&nbsp; &nbsp; &nbsp;  try {<br />
&nbsp; &nbsp; &nbsp;  req = new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);&nbsp; /* some versions IE */<br />
&nbsp; &nbsp; &nbsp;  } catch (e) {<br />
&nbsp; &nbsp; &nbsp; &nbsp;  try {<br />
&nbsp; &nbsp; &nbsp; &nbsp;  req = new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);&nbsp; /* some versions IE */<br />
&nbsp; &nbsp; &nbsp; &nbsp;  } catch (E) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; req = false;<br />
&nbsp; &nbsp; &nbsp; &nbsp;  } <br />
&nbsp; &nbsp; &nbsp;  } <br />
&nbsp; &nbsp;  }<br />
&nbsp; &nbsp;  req.onreadystatechange = function() {responseAHAH(pageElement, errorMessage);};<br />
&nbsp; &nbsp;  req.open(&quot;GET&quot;,url,true);<br />
&nbsp; &nbsp;  req.send(null);<br />
&nbsp; }</pre>I am trying to implement a loading animation but cannot get it to work. I imagine I will need to use a variable for line #2 but I am not very familiar with javascript. Currently I have an img in place with an id assigned to it. I just need help figuring out how to properly call it in the javascript. If there are any questions please let me know.<br />
<br />
One more thing I want to mention is that I current have the image set to display: none; so I imagine I will need .style.display = ''; in the script.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>Tekkno</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245943.html</guid>
		</item>
		<item>
			<title>Need help with CMS</title>
			<link>http://www.daniweb.com/forums/thread245942.html</link>
			<pubDate>Sun, 13 Dec 2009 00:21:51 GMT</pubDate>
			<description><![CDATA[Hi, I have been through many different CMS programs, but I dont really know which one will give me what I need. I have designed a site. I have a page which I would like to have as a "for sale" page, basically where I can go through a back office of sort by logging in through the site and then...]]></description>
			<content:encoded><![CDATA[<div>Hi, I have been through many different CMS programs, but I dont really know which one will give me what I need. I have designed a site. I have a page which I would like to have as a &quot;for sale&quot; page, basically where I can go through a back office of sort by logging in through the site and then having a title, short description, price and image upload template. When you click save it must upload to the website page for all to see. quick and simple. But I cant seem to find the right CMS for this. I need it to work on the page of my site that is on a host server. So just to be clear I have a site on a host server that I want to go into with a user name and password block through my site and then add text and prices and pics and then save to have it change the look of the page on my website. Does anyone have any idea of what I can do to make this happen. I am very new at this so please help with very explanatory step by step instructions or guide me to somewhere where I may find this.<br />
<br />
Thanx</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum143.html">HTML and CSS</category>
			<dc:creator>Just69</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245942.html</guid>
		</item>
		<item>
			<title>jquery and ajax</title>
			<link>http://www.daniweb.com/forums/thread245938.html</link>
			<pubDate>Sat, 12 Dec 2009 23:21:21 GMT</pubDate>
			<description><![CDATA[Hey Im going to make an ajaxlogin for my website but ive ran into a problem with the jquery submit() funktion.  
 
If i put my login form in the body of the index and use $('form').submit() it works perfect but. 
 
when I have the login form in another php page and include the page with ajax load()...]]></description>
			<content:encoded><![CDATA[<div>Hey Im going to make an ajaxlogin for my website but ive ran into a problem with the jquery submit() funktion. <br />
<br />
If i put my login form in the body of the index and use $('form').submit() it works perfect but.<br />
<br />
when I have the login form in another php page and include the page with ajax load() and then tries to use $('form').submit() it seams that jquery doesnt detect the form and cant execute the funktion.<br />
<br />
Anyone knows of this problem and have a good solution?? I know how I can get around this problem using regular javascript but am trying to stick with jquery so plz help.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>Philip435</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245938.html</guid>
		</item>
		<item>
			<title>force clear form data</title>
			<link>http://www.daniweb.com/forums/thread245934.html</link>
			<pubDate>Sat, 12 Dec 2009 23:05:37 GMT</pubDate>
			<description>ok so what i am trying to do it have the app that i am working more private as in make the browser clear the data with in the input forms so that it is not displayng info.  
 
for example if i was to type my name in a name box on a form then submit it. then go back to the same form and start typing...</description>
			<content:encoded><![CDATA[<div>ok so what i am trying to do it have the app that i am working more private as in make the browser clear the data with in the input forms so that it is not displayng info. <br />
<br />
for example if i was to type my name in a name box on a form then submit it. then go back to the same form and start typing my name again it would show it as an auto suggest thing. i am trying to remove that little feature with php.<br />
<br />
tell me that there is a simple way that doesn make me sound insane</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>itisnot_me</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245934.html</guid>
		</item>
		<item>
			<title>Need a development !</title>
			<link>http://www.daniweb.com/forums/thread245926.html</link>
			<pubDate>Sat, 12 Dec 2009 22:22:19 GMT</pubDate>
			<description>Hello  
My website is too slow , i have a 13000 members database and the site runs 150.000 products , my server is a fast deticated server . 
I think that the code from the script is not so good and need to Clean up 
Can someone Help me please??</description>
			<content:encoded><![CDATA[<div>Hello <br />
My website is too slow , i have a 13000 members database and the site runs 150.000 products , my server is a fast deticated server .<br />
I think that the code from the script is not so good and need to Clean up<br />
Can someone Help me please??</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum143.html">HTML and CSS</category>
			<dc:creator>sotilife</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245926.html</guid>
		</item>
		<item>
			<title>sql inner join / left join question</title>
			<link>http://www.daniweb.com/forums/thread245920.html</link>
			<pubDate>Sat, 12 Dec 2009 21:58:47 GMT</pubDate>
			<description><![CDATA[this is not a web design question, i'm actually using it in vb.net 
but they don't have a database forum in the software development section. 
 
what i am doing: 
i have two tables. customer and customer_phones 
 
my visual basic program has a search for customer option, 
which returns the...]]></description>
			<content:encoded><![CDATA[<div>this is not a web design question, i'm actually using it in vb.net<br />
but they don't have a database forum in the software development section.<br />
<br />
what i am doing:<br />
i have two tables. customer and customer_phones<br />
<br />
my visual basic program has a search for customer option,<br />
which returns the customers name &amp; telephone number into a listbox.<br />
<br />
 <pre style="margin:20px; line-height:13px">select customer.name, if(isnull(customer_phones.number, '', customer_phone_numbers.number) as Phone from customer left join customer_phone_numbers on customer_phones_numbers.Customer_ID = customer.ID WHERE customer.Name LIKE '%whatever%' OR customer_phone_numbers.Number LIKE '%whatever%'</pre><br />
inow, the customer phone numbers table can have as many phone numbers as you want attached to the customer by the customer id.<br />
so my code fills up the list box with the same customer for each phone number he has (hopefully you understand what i mean).<br />
when i only want 1 instance of the customer to appear no matter how many phone numbers he has.<br />
<br />
i have tried <br />
<br />
 <pre style="margin:20px; line-height:13px">group by customer_phones.Number</pre><br />
but if there is a relative ect. that has there own account with same phone number, one of them doesnt appear.<br />
<br />
 <pre style="margin:20px; line-height:13px">select distinct customer.ID, select distinct customer_phones.Customer_ID</pre><br />
doesn't seem to work either<br />
<br />
anyone have any suggestions / input?<br />
<br />
thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum126.html">MySQL</category>
			<dc:creator>jlego</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245920.html</guid>
		</item>
		<item>
			<title>javascript and datagrid footer</title>
			<link>http://www.daniweb.com/forums/thread245917.html</link>
			<pubDate>Sat, 12 Dec 2009 21:32:20 GMT</pubDate>
			<description><![CDATA[Hi 
I've got a datagrid where I'm calling javscript to calculate selected values, I'm trying to update a textbox in the footer, but can't.  I've tried 
 
document.getElementById("Textbox1").innerText = newtotal; 
 
but it can't find the object. 
 
Any help would be greatly appreciated. 
Lbob]]></description>
			<content:encoded><![CDATA[<div>Hi<br />
I've got a datagrid where I'm calling javscript to calculate selected values, I'm trying to update a textbox in the footer, but can't.  I've tried<br />
<br />
document.getElementById(&quot;Textbox1&quot;).innerText = newtotal;<br />
<br />
but it can't find the object.<br />
<br />
Any help would be greatly appreciated.<br />
Lbob</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>lbob</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245917.html</guid>
		</item>
		<item>
			<title>Help installing PECL Printer Extension</title>
			<link>http://www.daniweb.com/forums/thread245916.html</link>
			<pubDate>Sat, 12 Dec 2009 21:28:07 GMT</pubDate>
			<description><![CDATA[I am currently running IIS 7 on window vista business (64 bit) with PHP 5.3.1 installed and operating correctly.  I have also installed PEAR and that is running correctly.  What I want to do is use the Printer functions but can't seem to figure out how to get it to work.  I have tried downloading...]]></description>
			<content:encoded><![CDATA[<div>I am currently running IIS 7 on window vista business (64 bit) with PHP 5.3.1 installed and operating correctly.  I have also installed PEAR and that is running correctly.  What I want to do is use the Printer functions but can't seem to figure out how to get it to work.  I have tried downloading PECL extension but when I go to: <a rel="nofollow" class="t" href="http://pecl.php.net/" target="_blank">http://pecl.php.net/</a>  and click on download newest it says file not found.  So it is not exactly that I cannot get it to work, just cannot find and figure out how to install the extension.<br />
<br />
So I am wondering if this has been removed in more recent versions of PHP?  If I cannot use the PECL printer function, what else can I use?<br />
<br />
Any ideas would be greatly appreciated.<br />
<br />
Thanks in advance.<br />
<br />
Will</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>wblakenc</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245916.html</guid>
		</item>
		<item>
			<title>CakePHP</title>
			<link>http://www.daniweb.com/forums/thread245914.html</link>
			<pubDate>Sat, 12 Dec 2009 21:09:07 GMT</pubDate>
			<description><![CDATA[I recently got myself into the position where it would benefit me to restructure my site ... mostly just page layout and table structures. I've heard mixed opinions about CakePHP but was thinking that if I was going to redesign that I would  give it a shot. The site is well over 6000 pages with...]]></description>
			<content:encoded><![CDATA[<div>I recently got myself into the position where it would benefit me to restructure my site ... mostly just page layout and table structures. I've heard mixed opinions about CakePHP but was thinking that if I was going to redesign that I would  give it a shot. The site is well over 6000 pages with roughly 90% of it coded by hand. I understand that the majority of the site is going to have undergo an extreme makeover for me to rebuild on top of a framework. The site still be around years from now so what I want to know is do you think it's worth it to implement Cake before I get even deeper into the build years from now or at this stage should I just cut my losses, make my layout changes, and stick with what I have? Does anyone have any experience with Cake? What are your opinions on it? Does it get a thumbs up or a thumbs down?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>CFROG</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245914.html</guid>
		</item>
		<item>
			<title>Encrypting and Decrypting a text</title>
			<link>http://www.daniweb.com/forums/thread245913.html</link>
			<pubDate>Sat, 12 Dec 2009 21:08:19 GMT</pubDate>
			<description><![CDATA[Hi used the below coding for enrypting and decrypting a text. But with this i dont know how to save to a database, when i tried i am getting many errors. How to do this? 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>Hi used the below coding for enrypting and decrypting a text. But with this i dont know how to save to a database, when i tried i am getting many errors. How to do this?<br />
 <pre style="margin:20px; line-height:13px">Private Sub cmdEncrypt_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; ' Encrypt<br />
&nbsp; &nbsp; &nbsp; &nbsp; MyText = Encrypt(textbox1.text, &quot;aabc123a&quot;) ' Here aabc123a is the key and textbox1.text is the text which you want to encrypt<br />
&nbsp; &nbsp; End Sub<br />
<br />
Private Function Encrypt(ByVal strText As String, ByVal strEncrKey As String) As String<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim IV() As Byte = {&amp;H12, &amp;H34, &amp;H56, &amp;H78, &amp;H90, &amp;HAB, &amp;HCD, &amp;HEF}<br />
&nbsp; &nbsp; &nbsp; &nbsp; Try<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim bykey() As Byte = System.Text.Encoding.UTF8.GetBytes(strEncrKey)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim InputByteArray() As Byte = System.Text.Encoding.UTF8.GetBytes(strText)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim des As New DESCryptoServiceProvider<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim ms As New MemoryStream<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim cs As New CryptoStream(ms, des.CreateEncryptor(bykey, IV), CryptoStreamMode.Write)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cs.Write(InputByteArray, 0, InputByteArray.Length)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cs.FlushFinalBlock()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Return Convert.ToBase64String(ms.ToArray())<br />
&nbsp; &nbsp; &nbsp; &nbsp; Catch ex As Exception<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Return ex.Message<br />
&nbsp; &nbsp; &nbsp; &nbsp; End Try<br />
&nbsp; &nbsp; End Function<br />
<br />
Private Sub cmdDecrypt_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click<br />
&nbsp; &nbsp; &nbsp; &nbsp; MyText = Decrypt(TextBox2.Text, &quot;aabc123a&quot;)<br />
End Sub<br />
<br />
Private Function Decrypt(ByVal strText As String, ByVal sDecrKey As String) As String<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim IV() As Byte = {&amp;H12, &amp;H34, &amp;H56, &amp;H78, &amp;H90, &amp;HAB, &amp;HCD, &amp;HEF}<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim inputByteArray(strText.Length) As Byte<br />
&nbsp; &nbsp; &nbsp; &nbsp; Try<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim byKey() As Byte = System.Text.Encoding.UTF8.GetBytes(sDecrKey)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim des As New DESCryptoServiceProvider<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inputByteArray = Convert.FromBase64String(strText)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim ms As New MemoryStream<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim cs As New CryptoStream(ms, des.CreateDecryptor(byKey, IV), CryptoStreamMode.Write)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cs.Write(inputByteArray, 0, inputByteArray.Length)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cs.FlushFinalBlock()<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim encoding As System.Text.Encoding = System.Text.Encoding.UTF8<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Return encoding.GetString(ms.ToArray())<br />
&nbsp; &nbsp; &nbsp; &nbsp; Catch ex As Exception<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Return ex.Message<br />
&nbsp; &nbsp; &nbsp; &nbsp; End Try<br />
&nbsp; &nbsp; End Function<br />
<br />
Remember to add top of import: Imports System.Security.Cryptography</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>bharanidharanit</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245913.html</guid>
		</item>
		<item>
			<title>wont update</title>
			<link>http://www.daniweb.com/forums/thread245892.html</link>
			<pubDate>Sat, 12 Dec 2009 19:28:55 GMT</pubDate>
			<description><![CDATA[For some reason this is killing me, I am trying to update the field available to '-1' and don to '0' when the user submits the correct string into the input box, the thing I cant work out is why available wont update but don will the code is below along with the other way of putting the statement...]]></description>
			<content:encoded><![CDATA[<div>For some reason this is killing me, I am trying to update the field available to '-1' and don to '0' when the user submits the correct string into the input box, the thing I cant work out is why available wont update but don will the code is below along with the other way of putting the statement which did update it but constantly so as soon as the page refreshed it would be set at '-1' whether the user input anything or not! <br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;?php function puzz($comm0,$comm1,$comm2) {<br />
include('mysqlconnect.php');<br />
&nbsp;$query = &quot;SELECT * FROM plyr_room&quot;;<br />
&nbsp; &nbsp; &nbsp; $result = mysql_query($query) or die(mysql_error());<br />
&nbsp; &nbsp; &nbsp; $row = mysql_fetch_array($result);<br />
&nbsp; &nbsp; &nbsp; $dbplyr_id = $row&#91;'player_id'&#93;;<br />
&nbsp; &nbsp; &nbsp; $dbroom_no = $row&#91;'roomno'&#93;;<br />
<br />
$query = 'SELECT * FROM puzzles, roomitem WHERE puzzles.item = roomitem.item AND re_room = &quot; ' . $dbroom_no . ' &quot; AND available = &quot;0&quot;';<br />
&nbsp; &nbsp; $result = mysql_query($query) or die(mysql_error());<br />
&nbsp; &nbsp; &nbsp; &nbsp; $row = mysql_fetch_array($result);<br />
&nbsp; &nbsp; &nbsp; &nbsp; $dbre_room = $row&#91;'re_room'&#93;; //required room number<br />
&nbsp; &nbsp; &nbsp; &nbsp; $dbexit_no = $row&#91;'exit_no'&#93;; //exit direction<br />
&nbsp; &nbsp; &nbsp; &nbsp; $dbdon = $row&#91;'don'&#93;; // task completed<br />
&nbsp; &nbsp; &nbsp; &nbsp; $dbword1 = $row&#91;'word1'&#93;; // 1st entered word<br />
&nbsp; &nbsp; &nbsp; &nbsp; $dbword2 = $row&#91;'word2'&#93;; // second entered word<br />
&nbsp; &nbsp; &nbsp; &nbsp; $dbroomno1 = $row&#91;'roomno'&#93;; // current room number<br />
&nbsp; &nbsp; &nbsp; &nbsp; $dbitem = $row&#91;'item'&#93;;&nbsp; // required item<br />
&nbsp; &nbsp; &nbsp; &nbsp; $db_ava = $row&#91;'available'&#93;; // if item is available<br />
$query = 'SELECT item,needed FROM roomitem WHERE item = &quot; ' . $dbitem . ' &quot;';<br />
&nbsp; &nbsp; $result = mysql_query($query) or die(mysql_error());<br />
&nbsp; &nbsp; &nbsp; &nbsp; $row = mysql_fetch_array($result);<br />
&nbsp; &nbsp; &nbsp; &nbsp; $item = $row&#91;'item'&#93;; // item in inventory<br />
&nbsp; &nbsp; &nbsp; &nbsp; $needed = $row&#91;'needed'&#93;; // needed in task<br />
<br />
echo &quot;&lt;br /&gt; $query &lt;br /&gt; $dbitem &lt;br /&gt;&quot;;<br />
<br />
<br />
if (($comm0 = $dbword1) &amp;&amp; ($comm1 = $dbword2)) {<br />
&nbsp;$con = mysql_connect(&quot;localhost&quot;,&quot;root&quot;,&quot;*****&quot;);<br />
&nbsp; &nbsp; &nbsp; if (!$con)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; die('Could not connect: ' . mysql_error());<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; mysql_select_db(&quot;game&quot;);<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; mysql_query('UPDATE roomitem SET available = &quot;-1&quot; WHERE item =&quot; ' . $db_item . ' &quot; ')<br />
&nbsp; &nbsp; &nbsp; mysql_query('UPDATE puzzles SET don = &quot;0&quot; WHERE re_room =&quot; ' . $dbroom_no . ' &quot;');}<br />
else{echo &quot;You can not do that!&quot;;}}<br />
?&gt;</pre><br />
the other statement I tried<br />
<br />
 <pre style="margin:20px; line-height:13px">mysql_query('UPDATE roomitem SET available = &quot;-1&quot; WHERE roomno =&quot; ' . $dbre_room . ' &quot; AND needed = &quot;1&quot;');</pre><br />
any help would be amazing.<br />
<br />
Daryll</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>daryll1</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245892.html</guid>
		</item>
		<item>
			<title>Need to add HTML attributes and values to this code.</title>
			<link>http://www.daniweb.com/forums/thread245889.html</link>
			<pubDate>Sat, 12 Dec 2009 18:57:51 GMT</pubDate>
			<description><![CDATA[Hello, 
I'm a neophyte to Javascript, but I need it to dynamically add lines to a form. 
I was able to cobble together this inelegant looking code below. 
It adds the row when called, but there are more attributes needed for this to be correct for the application. 
1) need to center the input in...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
I'm a neophyte to Javascript, but I need it to dynamically add lines to a form.<br />
I was able to cobble together this inelegant looking code below.<br />
It adds the row when called, but there are more attributes needed for this to be correct for the application.<br />
1) need to center the input in the TD<br />
2)the input tags need type, size, maxsize, and value attributes added .<br />
I have not been able to figure out the correct way to do this.<br />
<br />
Also, is there a way for the value attribute to work with a PHP echo, or is there a Javascript method to display associative array values?<br />
<br />
<br />
<br />
 <pre style="margin:20px; line-height:13px">function addPart(id)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var tbody = document.getElementById<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (id).getElementsByTagName(&quot;TBODY&quot;)[0];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var row = document.createElement(&quot;tr&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var td1 = document.createElement(&quot;td&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var td2 = document.createElement(&quot;td&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var td3 = document.createElement(&quot;td&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var td4 = document.createElement(&quot;td&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var td5 = document.createElement(&quot;td&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var td6 = document.createElement(&quot;td&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; td1.appendChild(document.createElement(&quot;input&quot;))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; td2.appendChild(document.createElement(&quot;input&quot;))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; td3.appendChild(document.createElement(&quot;input&quot;))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; td4.appendChild(document.createElement(&quot;input&quot;))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; td5.appendChild(document.createElement(&quot;input&quot;))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; td6.appendChild(document.createElement(&quot;input&quot;))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; row.appendChild(td1);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; row.appendChild(td2);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; row.appendChild(td3);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; row.appendChild(td4);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; row.appendChild(td5);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; row.appendChild(td6);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tbody.appendChild(row);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; }</pre><br />
BTW is there an good online tutorial and/or reference for javascript or book(s) that you could recommend?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>JRM</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245889.html</guid>
		</item>
		<item>
			<title>Updating by an increment</title>
			<link>http://www.daniweb.com/forums/thread245887.html</link>
			<pubDate>Sat, 12 Dec 2009 18:55:18 GMT</pubDate>
			<description><![CDATA[Hi, I was wondering if it was possible to update the value of a mySQL cell by a method similar to using += in php code.  For example, I'd like to do: 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>Hi, I was wondering if it was possible to update the value of a mySQL cell by a method similar to using += in php code.  For example, I'd like to do:<br />
<br />
 <pre style="margin:20px; line-height:13px">$sql = &quot;UPDATE inventory WHERE userID = '$_SESSION[userID]' SET money+='$ssmoney'&quot;;</pre><br />
I know I can instead run another query to get the db values, then add the db values to new values, and then run an update query, but I was hoping there was a simpler, more-efficient way.  Thanks.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum126.html">MySQL</category>
			<dc:creator>Kadjii</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245887.html</guid>
		</item>
		<item>
			<title><![CDATA[ascx Controls Aren't Working on Page]]></title>
			<link>http://www.daniweb.com/forums/thread245868.html</link>
			<pubDate>Sat, 12 Dec 2009 16:26:44 GMT</pubDate>
			<description><![CDATA[I've got my website, Bang Bang T-shirts (http://www.bangbangt-shirts.com/), on a Windows Server 2003 dedicated machine. In the last few weeks, it's crashed a few times and I think it does this when it performs an auto update and tries to restart. When they support staff from the hosting company...]]></description>
			<content:encoded><![CDATA[<div>I've got my website, <a rel="nofollow" class="t" href="http://www.bangbangt-shirts.com/" target="_blank">Bang Bang T-shirts</a>, on a Windows Server 2003 dedicated machine. In the last few weeks, it's crashed a few times and I think it does this when it performs an auto update and tries to restart. When they support staff from the hosting company manually reboot it it seems to startup ok. I had this crashing problem yesterday and again overnight. <br />
<br />
The server is currently up and running as is the website. However, I use some asp.net controls (radcontrols by Telerik) which don't seem to be working now (the menu which is displayed in front of everything is one of these controls). Also, my blog (<a rel="nofollow" class="t" href="http://www.bangbangt-shirts.com/BlogControl.aspx" target="_blank">http://www.bangbangt-shirts.com/BlogControl.aspx</a>) isn't displaying any posts and this is also an external control. It also uses an Access DB if that matters. <br />
<br />
I've not made any changes to the code for months so must be something relating to the server setup.<br />
<br />
Also, due to recent problems my web host moved the server to another DC but said the only change this would create is the physical location of the server.<br />
<br />
Parts of the website which talk to my SQL Server 2005 Express DB seems to be working ok and it's just the controls which don't seem to be running. <br />
<br />
Does anyone have any ideas on why this might be happening on what I can to find out more?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>aspnetguy</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245868.html</guid>
		</item>
		<item>
			<title>Database search to display correct results</title>
			<link>http://www.daniweb.com/forums/thread245862.html</link>
			<pubDate>Sat, 12 Dec 2009 16:06:16 GMT</pubDate>
			<description><![CDATA[Hey guys, 
I'm a php newbie that's trying to learn php on the job, and my deadline is quickly approaching. I'm attempting to learn php through a book, which is working just fine. The only problem is it's somewhat of a slow process. 
 
Anyway, I'm trying to search using a physicians name from a...]]></description>
			<content:encoded><![CDATA[<div>Hey guys,<br />
I'm a php newbie that's trying to learn php on the job, and my deadline is quickly approaching. I'm attempting to learn php through a book, which is working just fine. The only problem is it's somewhat of a slow process.<br />
<br />
Anyway, I'm trying to search using a physicians name from a database of names and return only the values that are relevant to that search. Results displayed will be all fields for that record.<br />
<br />
The table is organized as follows:<br />
Physician - Specialty - Street - City - State - Zip - Phone<br />
<br />
I've managed to have it display the entire database (which is 883 doctors long), but I'm having difficulty making it display only relevant information. I'm not getting any errors, but I can't seem to figure out what I'm doing wrong. I'm only trying to display physicians and city to see if I can make it work. Once I get the right code in I was going to expand it to include all 7 fields.<br />
<br />
Also, if somebody wants to say I'm posting too much code, then I'll shrink it down to more relevant information. I don't want to annoy anybody here lol. Also, I've double checked my database connections, they are all working properly.<br />
<br />
If anybody can assist me or point me into the right direction on how I can narrow my search results to display only relevant information I would greatly appreciate it. Thanks in advance.<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;?php <br />
session_start(); <br />
// Check for login<br />
// Call DB Connection<br />
include('includes/db_conn.php');<br />
// Search Form Processor<br />
$Physician&nbsp; &nbsp; &nbsp; &nbsp;  = $_POST['physician'];<br />
$sql = &quot;&quot;;<br />
// SQL SELECT <br />
if(isset($_POST['searchPhysician'])){<br />
&nbsp; &nbsp; &nbsp; &nbsp; $sql = &quot;SELECT * FROM doctors WHERE Physician LIKE '{$physician}%'&quot;;<br />
}//end if<br />
if(isset($_GET['query']) &lt;&gt; &quot;&quot;){<br />
&nbsp; &nbsp; &nbsp; &nbsp; $query = $_GET['query'];<br />
&nbsp; &nbsp; &nbsp; &nbsp; $sql = &quot;SELECT Physician, Specialty, Street, City, State, Zip, Phone FROM doctors WHERE Physician = '{$query}'&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; $result = mysql_query($sql);<br />
}//end if<br />
?&gt;<br />
&lt;body&gt;<br />
&lt;h1 class=&quot;redLL&quot;&gt;Major Topic Search&lt;/h1&gt;&lt;br&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- TITLE SEARCH --&gt;<br />
&nbsp; &nbsp; &lt;form name=&quot;searchphysician&quot; method=&quot;post&quot; action=&quot;&lt;?php $PHP_SELF; ?&gt;&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;table width=&quot;100%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;1&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td width=&quot;23%&quot; class=&quot;description&quot;&gt;&lt;p&gt;Search by Name&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td width=&quot;63%&quot;&gt;&lt;input name=&quot;physician&quot; type=&quot;text&quot; id=&quot;physician&quot; size=&quot;20&quot;&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td width=&quot;14%&quot;&gt;&lt;input type=&quot;submit&quot; name=&quot;searchPhysician&quot; id=&quot;search&quot; value=&quot;Search&quot;&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/table&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/form&gt;&lt;br&nbsp; /&gt;<br />
&nbsp; &nbsp; &lt;table border=&quot;0&quot; class=&quot;table&quot; width=&quot;85%&quot; cellspacing=&quot;2&quot; cellpadding=&quot;2&quot;&gt;<br />
&nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=&quot;description&quot; width=&quot;20%&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Physician<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=&quot;description&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; City<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &lt;/tr&gt;<br />
&lt;?php <br />
if($sql !== &quot;&quot;){&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $result = mysql_query($sql);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(mysql_num_rows($result) &gt; 0){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while($row = mysql_fetch_assoc($result)){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print &quot;&lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;&quot;.$row['Physician'].&quot;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;&quot;.$row['City'].&quot;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }//end wh&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }else{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print &quot;&lt;tr&gt;&lt;td class=\&quot;description\&quot;&gt;There are no results to display&lt;/td&gt;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }//end if<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
}//end if<br />
?&gt;<br />
&lt;/table&gt;<br />
&lt;/div&gt;<br />
&lt;br&gt;&lt;br&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <br />
&lt;/body&gt;<br />
&lt;/html&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>stoni23</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245862.html</guid>
		</item>
		<item>
			<title>asp.net+C# | A weird problem with a variable</title>
			<link>http://www.daniweb.com/forums/thread245855.html</link>
			<pubDate>Sat, 12 Dec 2009 15:45:27 GMT</pubDate>
			<description><![CDATA[Regards, 
 
I have a weird problem with a variable in asp.net + C#. 
 
Those lines work: 
 
DataTable customerDT = service.GetCustomerDT(1); 
dataRow["CustomerName"] = customerDT.Rows[0]["FullName"];   
 
But those lines do not found anything even though the value of the variable is "1" too:]]></description>
			<content:encoded><![CDATA[<div>Regards,<br />
<br />
I have a weird problem with a variable in asp.net + C#.<br />
<br />
Those lines work:<br />
<br />
 <pre style="margin:20px; line-height:13px">DataTable customerDT = service.GetCustomerDT(1);<br />
dataRow&#91;&quot;CustomerName&quot;&#93; = customerDT.Rows&#91;0&#93;&#91;&quot;FullName&quot;&#93;;</pre><br />
But those lines do not found anything even though the value of the variable is &quot;1&quot; too:<br />
<br />
 <pre style="margin:20px; line-height:13px">int customerID = int.Parse(gridViewRowVar.Cells[0].Text.ToString());<br />
DataTable customerDT = service.GetCustomerDT(customerID);<br />
dataRow[&quot;CustomerName&quot;] = customerDT.Rows[0][&quot;FullName&quot;];</pre><br />
The big surprise, as I said before, is that:<br />
I know that the value of the varible is also 1, and to check it I'v tried:<br />
<br />
 <pre style="margin:20px; line-height:13px">Response.Redirect(customerID.Equals(1).ToString());</pre>It does return True!<br />
<br />
But somehow the previous lines don't work.<br />
<br />
Thanks to my experience I think it's essential &quot;clean&quot; the varible before using it,<br />
but I don't know how to do this. In asp I think I have used something like: &quot;Clng&quot;.<br />
<br />
Did u understand me?<br />
Could u help me plz?<br />
Thanks!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum18.html">ASP.NET</category>
			<dc:creator>Corpes</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245855.html</guid>
		</item>
		<item>
			<title>Code Snippet Blackjack</title>
			<link>http://www.daniweb.com/code/snippet245853.html</link>
			<pubDate>Sat, 12 Dec 2009 15:38:53 GMT</pubDate>
			<description><![CDATA[You can place the game "Blackjack" by adding the following script to your website. All the information is included within the script, please do not remove the warranty or information. If you don't want such a big lap of code on your website, you can also place the following, as this is a link to...]]></description>
			<content:encoded><![CDATA[<div>You can place the game &quot;Blackjack&quot; by adding the following script to your website. All the information is included within the script, please do not remove the warranty or information. If you don't want such a big lap of code on your website, you can also place the following, as this is a link to exactly the same script:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;script src=&quot;http://www.symbolwebdesign.nl/webapps/blackjack.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</pre><br />
Have fun and good luck at playing Blackjack!<br />
<br />
<span style="font-weight:bold">~G</span></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>Graphix</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245853.html</guid>
		</item>
		<item>
			<title>Passing variables help</title>
			<link>http://www.daniweb.com/forums/thread245851.html</link>
			<pubDate>Sat, 12 Dec 2009 15:30:11 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I am kind of new to php, and have run into a problem. Whenever I try to pass on values from one page to another, using hyperlink, the variables in the session don't carry on. Any ideas as to why? Variables get passed when I use header(location:) code in php. 
 
Can anyone recommend ways that...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I am kind of new to php, and have run into a problem. Whenever I try to pass on values from one page to another, using hyperlink, the variables in the session don't carry on. Any ideas as to why? Variables get passed when I use header(location:) code in php.<br />
<br />
Can anyone recommend ways that I can pass sensitive information with moderate security from one page to another? <br />
<br />
Thank you<br />
<br />
P.S.<br />
<br />
I included the session_start()  on the link page.<br />
<br />
<br />
Link page<br />
 <pre style="margin:20px; line-height:13px">&lt;?php <br />
session_start();<br />
?&gt;<br />
&nbsp;<br />
&lt;html&gt;<br />
&lt;body&gt;<br />
&lt;?php echo &quot;User:&quot;. $_SESSION['user']; ?&gt;<br />
<br />
&lt;a href=&quot;Untitled-1.php&quot;&gt;HOME&lt;/a&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</pre><br />
Home page<br />
 <pre style="margin:20px; line-height:13px">&lt;?php <br />
session_start();<br />
if(isset($_SESSION['user']))<br />
{}<br />
else<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; $_SESSION['user'] = &quot;Anonymous&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; //header(&quot;location:Untitled-1.php&quot;);<br />
}<br />
?&gt;<br />
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;<br />
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;<br />
&lt;title&gt;Untitled Document&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
x()<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;?php<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; session_destroy(); <br />
&nbsp; &nbsp; &nbsp; &nbsp; ?&gt;<br />
<br />
}<br />
&lt;/script&gt;<br />
&lt;body&gt;<br />
<br />
&lt;?php<br />
echo &quot;User:&quot;. $_SESSION['user'];<br />
if ($_SESSION['user'] == &quot;Anonymous&quot;)<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo <br />
&nbsp; &nbsp; &nbsp; &nbsp; '&lt;form id=&quot;form1&quot; name=&quot;form1&quot; method=&quot;post&quot; action=&quot;check.php&quot;&gt;<br />
&nbsp; &lt;input name=&quot;myusername&quot; type=&quot;text&quot; id=&quot;myusername&quot; value=&quot;&quot; size=&quot;45&quot; /&gt;<br />
&nbsp; &lt;input name=&quot;mypassword&quot; type=&quot;password&quot; id=&quot;mypassword&quot; value=&quot;&quot; size=&quot;45&quot; /&gt;<br />
&nbsp; &lt;input type=&quot;submit&quot; name=&quot;button&quot; id=&quot;button&quot; value=&quot;Submit&quot; /&gt;<br />
&nbsp; &lt;/form&gt;';<br />
}<br />
else<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; echo <br />
&nbsp; &nbsp; &nbsp; &nbsp; '&lt;form id=&quot;form2&quot; name=&quot;form2&quot; method=&quot;post&quot; action=&quot;&quot;&gt;<br />
&nbsp; &lt;input type=&quot;submit&quot; name=&quot;button&quot; id=&quot;button&quot; value=&quot;Logout&quot; onclick=&quot;x()&quot; /&gt;<br />
&nbsp; &lt;/form&gt;';<br />
}<br />
<br />
<br />
?&gt;<br />
&lt;a href=&quot;linnk1.php&quot;&gt;link &lt;/a&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>Tommy_101</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245851.html</guid>
		</item>
		<item>
			<title>FORUM</title>
			<link>http://www.daniweb.com/forums/thread245847.html</link>
			<pubDate>Sat, 12 Dec 2009 15:06:13 GMT</pubDate>
			<description><![CDATA[Hic.I need to create a dicussion forum page,but i don't know how create it.help me.Thankyou]]></description>
			<content:encoded><![CDATA[<div>Hic.I need to create a dicussion forum page,but i don't know how create it.help me.Thankyou</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>haiconsoba</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245847.html</guid>
		</item>
		<item>
			<title>JQuery script, browser compatibality problem</title>
			<link>http://www.daniweb.com/forums/thread245844.html</link>
			<pubDate>Sat, 12 Dec 2009 14:48:16 GMT</pubDate>
			<description><![CDATA[Hi, The following JQuery works fine in all browsers excluding ie-8. It works fine even in ie-7. Not tested in ie version gater than 8. It works fine in Firefox, Chrome and ie-7. Can any body figure out what is the problem and how to solve. 
 
  <div class="codeblock"> <div class="spaced"> <div...]]></description>
			<content:encoded><![CDATA[<div>Hi, The following JQuery works fine in all browsers excluding ie-8. It works fine even in ie-7. Not tested in ie version gater than 8. It works fine in Firefox, Chrome and ie-7. Can any body figure out what is the problem and how to solve.<br />
<br />
 <pre style="margin:20px; line-height:13px"><br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
$(document).ready(function() {&nbsp; &nbsp; &nbsp; &nbsp; <br />
$(&quot;#services_table tr.service_row&quot;).hide();&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<br />
$(&quot;#services_table tr.service_header&quot;).click(function(){<br />
&nbsp; &nbsp; &nbsp; &nbsp; var trr = $(this).nextAll('tr');<br />
&nbsp; &nbsp; &nbsp; &nbsp; for (i = 0; i &lt; trr.length; i++) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var classs = $(trr[i]).attr('class');<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (classs == 'service_row')<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if($(trr[i]).is(':hidden'))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(trr[i]).fadeIn('slow');<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(trr[i]).fadeOut('slow');<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else {&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (classs == 'service_header')<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(this).find(&quot;.arrow&quot;).toggleClass(&quot;up&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return;&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
}<br />
);&nbsp; &nbsp; &nbsp; &nbsp; <br />
});</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>dasatti</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245844.html</guid>
		</item>
		<item>
			<title>I need help with creating a rss feed</title>
			<link>http://www.daniweb.com/forums/thread245895.html</link>
			<pubDate>Sat, 12 Dec 2009 14:42:12 GMT</pubDate>
			<description><![CDATA[hiiiiii everyone. 
I am btech final year student.And I'm creating a website and I need to create a rss feed to my website to update news to the subscribers.So, 
can anyone give me idea of creating dat. 
Thanks in advance.]]></description>
			<content:encoded><![CDATA[<div>hiiiiii everyone.<br />
I am btech final year student.And I'm creating a website and I need to create a rss feed to my website to update news to the subscribers.So,<br />
can anyone give me idea of creating dat.<br />
Thanks in advance.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum151.html">RSS, Web Services and SOAP</category>
			<dc:creator>srinandini</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245895.html</guid>
		</item>
		<item>
			<title>help with online quiz system with registration features</title>
			<link>http://www.daniweb.com/forums/thread245831.html</link>
			<pubDate>Sat, 12 Dec 2009 13:20:37 GMT</pubDate>
			<description><![CDATA[Hi, all 
I would like to creat  site with online quiz with registration features. But i couldn't find PHP script with both registration script and online quiz system. So that my need is Someone who wants to take a quiz before must register then he/she can take a quiz. 
if possible pls help me ...]]></description>
			<content:encoded><![CDATA[<div>Hi, all<br />
I would like to creat  site with online quiz with registration features. But i couldn't find PHP script with both registration script and online quiz system. So that my need is Someone who wants to take a quiz before must register then he/she can take a quiz.<br />
if possible pls help me <br />
Thanks beforehands</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum17.html">PHP</category>
			<dc:creator>azegurb</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245831.html</guid>
		</item>
		<item>
			<title>checkbox help</title>
			<link>http://www.daniweb.com/forums/thread245828.html</link>
			<pubDate>Sat, 12 Dec 2009 12:42:09 GMT</pubDate>
			<description><![CDATA[What i need is Toggle the each div with the  relevant check box 
 
ex:- when i checked "*div1chk*" i want to toggle "*div1*" 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680"...]]></description>
			<content:encoded><![CDATA[<div>What i need is Toggle the each div with the  relevant check box<br />
<br />
ex:- when i checked &quot;<span style="font-weight:bold">div1chk</span>&quot; i want to toggle &quot;<span style="font-weight:bold">div1</span>&quot;<br />
<br />
 <pre style="margin:20px; line-height:13px"><br />
&lt;input type=&quot;checkbox&quot; id=&quot;div1chk&quot; /&gt;<br />
&lt;input type=&quot;checkbox&quot; id=&quot;div2chk&quot; /&gt;<br />
&lt;input type=&quot;checkbox&quot; id=&quot;div3chk&quot; /&gt;<br />
<br />
<br />
&lt;div id=&quot;div1&quot;&gt;<br />
div1 showed<br />
&lt;/div&gt;<br />
&lt;div id=&quot;div2&quot;&gt;<br />
&nbsp;div2&nbsp; showed<br />
&lt;/div&gt;<br />
&lt;div id=&quot;div3&quot;&gt;<br />
div3&nbsp; showed<br />
&lt;/div&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum117.html">JavaScript / DHTML / AJAX</category>
			<dc:creator>ruwanaru</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread245828.html</guid>
		</item>
	</channel>
</rss>
