<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>PHP Forum RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest threads from the 'PHP' forum at Programmer's Heaven, excluding replies.</description>
    <language>en</language>
    <copyright>Copyright 2009 Programmers Heaven</copyright>
    <pubDate>Fri, 03 Jul 2009 20:21:41 -0700</pubDate>
    <lastBuildDate>Fri, 03 Jul 2009 20:21:41 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>need help about tool for converting php source code to flow graph</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/393182/393182/need-help-about-tool-for-converting-php-source-code-to-flow-graph/</link>
      <description>hello guys.. :)&lt;br /&gt;
is there anyone can help me where can i download a free tool to convert php source code to flow graph?&lt;br /&gt;
i'm doing my final task in my college.. hehe..&lt;br /&gt;
if there is any information, please email me at mika@echina.com&lt;br /&gt;
thank you... :D&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/393182/393182/need-help-about-tool-for-converting-php-source-code-to-flow-graph/</guid>
      <pubDate>Thu, 02 Jul 2009 05:41:26 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>cannot connect mqsql database</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/393163/393163/cannot-connect-mqsql-database/</link>
      <description>hi I'm new to PHP. I use WAMP server and tried to connect MYSQL database &lt;br /&gt;
&lt;br /&gt;
I create form which contain 4 text feilds&lt;br /&gt;
&lt;br /&gt;
source:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;form method="post" action="update.php"&amp;gt;&lt;br /&gt;
			Phone Number:&lt;br /&gt;
			&amp;lt;input type="text" name="txt_phone" size="10"&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
			Reload:&lt;br /&gt;
			&amp;lt;input type="text" name="txt_reload"&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
			Vendor:&lt;br /&gt;
			&amp;lt;input type="text" name="txt_vendor"&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
			&amp;lt;input type="submit" value="submit"&amp;gt;&lt;br /&gt;
		&amp;lt;/form&amp;gt;&lt;br /&gt;
&lt;br /&gt;
**************************************************
*****************&lt;br /&gt;
mysql database:test&lt;br /&gt;
table: reload_menu&lt;br /&gt;
fields:id,phonenumber,vendor;&lt;br /&gt;
id is set to ubsigned and autoincrement &lt;br /&gt;
user:abc&lt;br /&gt;
pass:123&lt;br /&gt;
**************************************************
*****************&lt;br /&gt;
here is source code for update.php&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
	$Pnumber =$_POST['txt_phone'];&lt;br /&gt;
	$Reload	=$POST['txt_reload'];&lt;br /&gt;
	$Vendor	=$POST['txt_vendor'];&lt;br /&gt;
	&lt;br /&gt;
&lt;br /&gt;
$con = mysql_connect("localhost","abc","123");&lt;br /&gt;
if (!$con)&lt;br /&gt;
  {&lt;br /&gt;
  die('Could not connect: ' . mysql_error());&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
mysql_select_db("test", $con);&lt;br /&gt;
&lt;br /&gt;
$sql="INSERT INTO reload_menu (id, phonenumber, reload, vendor)&lt;br /&gt;
VALUES&lt;br /&gt;
('NULL','$_POST[txt_phone]','$_POST[txt_reload]','
$_POST[txt_vendor]')";&lt;br /&gt;
&lt;br /&gt;
if (!mysql_query($sql,$con))&lt;br /&gt;
  {&lt;br /&gt;
  die('Error: ' . mysql_error());&lt;br /&gt;
  }&lt;br /&gt;
echo "1 record added";&lt;br /&gt;
&lt;br /&gt;
mysql_close($con)&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
********************&lt;br /&gt;
&lt;br /&gt;
when I'm trying to insert record to table using form following error appears.&lt;br /&gt;
&lt;br /&gt;
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'maxtalker'@'localhost' (using password: NO) in C:\wamp\www\one\update.php on line 8&lt;br /&gt;
Could not connect: Access denied for user 'maxtalker'@'localhost' (using password: YES)&lt;br /&gt;
***************************&lt;br /&gt;
&lt;br /&gt;
Can anyone tell me whats the wrong with my code?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/393163/393163/cannot-connect-mqsql-database/</guid>
      <pubDate>Wed, 01 Jul 2009 23:33:27 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>display records in textbox based on combo box</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/393120/393120/display-records-in-textbox-based-on-combo-box/</link>
      <description>hi guys , i have this problem dealing with php its very simple but can anyone help me with this cause im only starting to learn this language and I don’t know where to start, its all about getting data from database using combo box , for example is when I select item in combo box it will display the price of the item into textbox and other details of the item from the database. I hope I make my self clear. Any example may do. Thank you in advance n_n&lt;br /&gt;
&lt;br /&gt;
my first script&lt;br /&gt;
&lt;br /&gt;
$db_host = 'localhost';&lt;br /&gt;
$db_user = '';&lt;br /&gt;
$db_pass = '';&lt;br /&gt;
$db_db = 'Inventory';&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$db_link = mysql_connect($db_host, $db_user, $db_pass) or die('MySQL Connection Error:'.mysql_error());&lt;br /&gt;
	mysql_select_db($db_db) or die('MySQL Error: Cannot select table');&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$sql = "SELECT item, id, unit_price, sellprice, quantity  FROM product ORDER by id";&lt;br /&gt;
$result = mysql_query($sql);&lt;br /&gt;
&lt;br /&gt;
???&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/393120/393120/display-records-in-textbox-based-on-combo-box/</guid>
      <pubDate>Wed, 01 Jul 2009 10:37:28 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>A good PHP IDE</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/393117/393117/a-good-php-ide/</link>
      <description>I'M currently trying to learn PHP and I'M using Dreamweaver's code view to do it. It's better than noting, but does anyone have any suggestions on some more elaborate IDEs for PHP. I'M used to using Microsoft's Visual Studio for C++ and C# when I was trying to learn them.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/393117/393117/a-good-php-ide/</guid>
      <pubDate>Wed, 01 Jul 2009 09:12:20 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>PHP Programming with PEAR: XML, Data, Dates, Web Services, and Web API</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/393035/393035/php-programming-with-pear-xml-data-dates-web-services-and-web-api/</link>
      <description>&lt;img src="http://i689.photobucket.com/albums/vv258/bandmaster_lemon/5147LxRX1L_SL500_AA240_.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;
Product Description&lt;br /&gt;
PEAR is the PHP Extension and Application Repository, and is a framework and distribution system for reusable, high-quality PHP components, available in the form of “packages”.This book explains many powerful PEAR packages for maximizing your PHP development productivity for accessing and displaying data, handling dates, working with XML and Web Services, and accessing Web APIs.&lt;br /&gt;
In this book, you will learn how to use a number of the most powerful PEAR packages available to boost your PHP development productivity. By focusing on these packages for key development activities, this book is an in-depth guide to getting the most from these powerful coding resources.&lt;br /&gt;
&lt;br /&gt;
Accessing databases with MDB2&lt;br /&gt;
Displaying data in a range of formats (HTML, Excel spreadsheet, PDF)&lt;br /&gt;
Creating and parsing XML documents&lt;br /&gt;
Serializing PHP objects into XML, and unserializing XML documents to PHP objects&lt;br /&gt;
Consuming and offering web services&lt;br /&gt;
Accessing Web APIs including Google, Yahoo, Amazon, and Technorati&lt;br /&gt;
&lt;br /&gt;
Chapter 1 shows you how to access databases with the MDB2 package. You will learn:&lt;br /&gt;
Connecting to the database, and instantiate objects&lt;br /&gt;
Executing queries and fetching data&lt;br /&gt;
MDB2 SQL abstraction; sequences, replace queries, sub-select support, prepared statements Using MDB2 modules&lt;br /&gt;
Extending MDB2 to provide custom fetch and result classes, iterators, and modules&lt;br /&gt;
&lt;br /&gt;
Chapter 2 explains how to use PEAR packages to display data . It teaches you:&lt;br /&gt;
Creating powerful tables of data easily with the HTML_Table package&lt;br /&gt;
Advanced table formatting with HTML_Table_Matrix&lt;br /&gt;
Creating Excel spreadsheets dynamically with Spreadsheet_Excel_Writer&lt;br /&gt;
Adding formatting to these spreadsheets including colors, patterns, formulae and number formatting&lt;br /&gt;
Creating flexible, sortable grids of data with Structures_DataGrid&lt;br /&gt;
Adding columns to the grid, control paging, select data sources, and renderers&lt;br /&gt;
Using File_PDF to create PDF documents on the fly&lt;br /&gt;
&lt;br /&gt;
Chapter 3 covers the usage of PEAR packages to work with XML and stresses on:&lt;br /&gt;
Creating XML documents with XML_Util, XML_Fastcreate&lt;br /&gt;
Transforming PHP objects to XML format with XML_Serializer&lt;br /&gt;
Creating Mozilla applications with XML_XUL&lt;br /&gt;
Parsing XML with XML_Parser&lt;br /&gt;
Processing XML documents to PHP objects with XML_Unserializer&lt;br /&gt;
Parsing RSS with XML_RSS&lt;br /&gt;
&lt;br /&gt;
Chapter 4 is an extensive tutorial on working with web services and Web API’s using PEAR packages. We cover the following topics:&lt;br /&gt;
Consuming web services&lt;br /&gt;
Consuming XML-RPC-based web services&lt;br /&gt;
Accessing the Google API&lt;br /&gt;
Searching blog entries with Services_Technorati&lt;br /&gt;
Accessing the Amazon web service&lt;br /&gt;
Accessing the Yahoo API&lt;br /&gt;
Offering XML-RPC-based web services&lt;br /&gt;
Offering SOAP-based web services&lt;br /&gt;
Offering REST-based services using XML_Serializer&lt;br /&gt;
&lt;br /&gt;
Chapter 5 covers PEAR’s date and time functions using the PEAR::Calendar and PEAR::Date packages such as:&lt;br /&gt;
Creating, manipulating, and comparing Date objects&lt;br /&gt;
Data_Span arithmetic&lt;br /&gt;
Handling timezones with Date_Timezone&lt;br /&gt;
Keeping track of public holidays with Date_Holiday&lt;br /&gt;
Using the Calendar class to display an HTML calendar&lt;br /&gt;
&lt;br /&gt;
This book is for PHP developers who want to maximize their productivity through the use of proven, high-quality, reusable PEAR components. Some experience of working with PEAR classes will prove helpful, and developers who’ve used PEAR before can find something new to delight them.&lt;br /&gt;
&lt;br /&gt;
About the Author&lt;br /&gt;
Stoyan Stefanov is a web developer from Montreal, Canada, Zend Certified Engineer, book author and contributor to the international PHP community.&lt;br /&gt;
&lt;br /&gt;
Carsten Lucke studied computer-science at the University of Applied Sciences in Brandenburg, Germany. He is currently working as a software engineer for the software design and management AG (sd&amp;amp;m AG) in Munich, Germany. In his spare-time he writes articles for various magazines and contributes to the open-source community (especially PHP). He is the developer of a handful of PEAR/PECL packages, founder of the 3rdPEARty pear channel-server project and the tool-garage.de open-source and freeware project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Link :&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
&lt;a href="http://uploading.com/files/TYYY3ZEV/PHP.Programming.with.PEAR.rar.html"&gt;http://uploading.com/files/TYYY3ZEV/PHP.Programming.with.PEAR.rar.html&lt;/a&gt;
&lt;a href="http://hotfile.com/dl/7366888/147b4ab/PHP.Programming.with.PEAR.rar.html"&gt;http://hotfile.com/dl/7366888/147b4ab/PHP.Programming.wit
h.PEAR.rar.html&lt;/a&gt;
&lt;a href="http://rapidshare.com/files/247238549/PHP.Programming.with.PEAR.rar"&gt;http://rapidshare.com/files/247238549/PHP.Programming.with.PEAR
.rar&lt;/a&gt;
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Password default : &lt;pre class="sourcecode"&gt;www.bookitplus.net&lt;/pre&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/393035/393035/php-programming-with-pear-xml-data-dates-web-services-and-web-api/</guid>
      <pubDate>Mon, 29 Jun 2009 22:26:40 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>MyTube - Youtube video script</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/393030/393030/mytube---youtube-video-script/</link>
      <description>I downloaded MyTube script from&lt;br /&gt;
&lt;pre class="sourcecode"&gt;http://m1net.online.fr&lt;/pre&gt;  &lt;br /&gt;
&lt;br /&gt;
and installed it on my site&lt;br /&gt;
&lt;pre class="sourcecode"&gt;http://www.tubememory.com&lt;/pre&gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That script can search and download youtube videos.&lt;br /&gt;
&lt;br /&gt;
Now I have a problem, when I enter a search query with more than one word (eg: Red Rose) it gives an error, see &amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;http://www.tubememory.com/base.php?search=Red%20Rose&lt;/pre&gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But if I enter single query (single word) &amp;gt;&amp;gt; "Rose" &amp;gt;&amp;gt;&lt;br /&gt;
&lt;pre class="sourcecode"&gt;http://www.tubememory.com/base.php?search=Rose&lt;/pre&gt;  &lt;br /&gt;
&lt;br /&gt;
it woking fine.&lt;br /&gt;
&lt;br /&gt;
Why is that ? can anyone help me to fix this problem, you can download that simple script from &lt;pre class="sourcecode"&gt;http://tubememory.com/mytube.com&lt;/pre&gt; or check the attachment of this post.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/393030/393030/mytube---youtube-video-script/</guid>
      <pubDate>Mon, 29 Jun 2009 19:14:35 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>MyTube - Youtube video script</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/393029/393029/mytube---youtube-video-script/</link>
      <description>I downloaded MyTube script from&lt;br /&gt;
&lt;pre class="sourcecode"&gt;http://m1net.online.fr&lt;/pre&gt;  &lt;br /&gt;
&lt;br /&gt;
and installed it on my site&lt;br /&gt;
&lt;pre class="sourcecode"&gt;http://www.tubememory.com&lt;/pre&gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
That script can search and download youtube videos.&lt;br /&gt;
&lt;br /&gt;
Now I have a problem, when I enter a search query with more than one word (eg: Red Rose) it gives an error, see &amp;gt;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;http://www.tubememory.com/base.php?search=Red%20Rose&lt;/pre&gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But if I enter single query (single word) &amp;gt;&amp;gt; "Rose" &amp;gt;&amp;gt;&lt;br /&gt;
&lt;pre class="sourcecode"&gt;http://www.tubememory.com/base.php?search=Rose&lt;/pre&gt;  &lt;br /&gt;
&lt;br /&gt;
it woking fine.&lt;br /&gt;
&lt;br /&gt;
Why is that ? can anyone help me to fix this problem, you can download that simple script from &lt;pre class="sourcecode"&gt;http://tubememory.com/mytube.com&lt;/pre&gt; or check the attachment of this post.&lt;br /&gt;
&lt;br&gt;&lt;br&gt;&lt;strong&gt;Attachment:&lt;/strong&gt; &lt;a href="http://www.programmersheaven.com/mb/DownloadAttachment.aspx?AttachmentID=715"&gt;mytube.zip&lt;/a&gt; (64043 bytes | downloaded 8 times)</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/393029/393029/mytube---youtube-video-script/</guid>
      <pubDate>Mon, 29 Jun 2009 19:12:40 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>how to make php receive file</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/393019/393019/how-to-make-php-receive-file/</link>
      <description>&amp;lt;td width="136"&amp;gt;&amp;lt;input name="submit" type=submit class='bluebutton' value="Search"&amp;gt;&lt;br /&gt;
              &amp;lt;input name="reset2" type="reset" class='bluebutton' value="Reset" /&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;/tr&amp;gt;&lt;br /&gt;
          &amp;lt;tr&amp;gt;&lt;br /&gt;
            &amp;lt;td height="24" bgcolor="#CCCCFF"&amp;gt;&amp;lt;input type=radio name="check_field" value="_All_" checked&amp;gt;&lt;br /&gt;
              Any Field&amp;lt;/td&amp;gt;&lt;br /&gt;
            &amp;lt;td width="80"bgcolor="#CCCCFF"&amp;gt; &lt;br /&gt;
                  &amp;lt;meta http-equiv="Content-Type" content="text/html; charset=windows-874"&amp;gt;&lt;br /&gt;
                  &lt;br /&gt;
                    &amp;lt;div align="left"&amp;gt;&lt;br /&gt;
                      &amp;lt;input type=radio name="check_field" value="TITLE"&amp;gt;&lt;br /&gt;
                      Title&amp;amp;nbsp; &amp;lt;/div&amp;gt;&lt;br /&gt;
            &amp;lt;td width="98" bgcolor="#CCCCFF"&amp;gt;&lt;br /&gt;
              &amp;lt;div align="left"&amp;gt;&lt;br /&gt;
                &amp;lt;input type="radio" name="check_field" value="AUTHOR" /&amp;gt;&lt;br /&gt;
                Author&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
            &amp;lt;td width="136" bgcolor="#CCCCFF"&amp;gt;&amp;lt;input type=radio name="check_field" value="YEAR"&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;Year&amp;lt;/td&amp;gt;&lt;br /&gt;
            &lt;br /&gt;
            &lt;br /&gt;
          &amp;lt;/tr&amp;gt;&lt;br /&gt;
        &amp;lt;/table&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
      &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;/table&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
    &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/393019/393019/how-to-make-php-receive-file/</guid>
      <pubDate>Mon, 29 Jun 2009 10:06:53 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>Get Your Blackberry Curve 8900 $170,Nokia N98—–$200,Blackberry Storm</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/393014/393014/get-your-blackberry-curve-8900-170nokia-n98200blackberry-storm/</link>
      <description>RAPORTIX LIMITED is a leading supplier of high-end products to customers, we deal primarily in genuine and brand new electronics, all items are sourced directly from the manufacturers and carry the manufacturer’s warranty. We ship 100% of our orders the same business day.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Well we offer international standard warranty with full acceptance for replacement or full refund of money back.&lt;br /&gt;
&lt;br /&gt;
All goods are shipped from our company: &lt;br /&gt;
&lt;br /&gt;
Company Name : RAPORTIX LIMITED&lt;br /&gt;
Registered No. 04178043&lt;br /&gt;
Contact Name : Weidener Tanztage&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We give maximum guarantee for safe delivery of items bought from us.&lt;br /&gt;
&lt;br /&gt;
As soon as final conclusions are done from your side kindly get in touch with as soon as possible so as to complete the transaction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We specialize in a wide range of products such as laptops, mobile phones, plasma &amp;amp; lcd tv, mp3 &amp;amp; mp4 players, video games console, digital cameras, dvd players (Etc) at cheap &amp;amp; affordable prices.&lt;br /&gt;
&lt;br /&gt;
SQ2TECH LIMITED strive to offer high-quality products at competitive prices. All of our products are brand new, never used, never rebuilt.&lt;br /&gt;
&lt;br /&gt;
Contact us for further informations about extended warranty from manufacturer.&lt;br /&gt;
&lt;br /&gt;
We pride ourselves in the quality of products we offer, our prices, and most importantly to our customer service.&lt;br /&gt;
&lt;br /&gt;
For more informations regarding product and purchasing process send your enquiry to&lt;br /&gt;
&lt;br /&gt;
w.tanztage@msn.com&lt;br /&gt;
w.tanztage@msn.com&lt;br /&gt;
&lt;br /&gt;
Note : First 50 People To Order 2Unit Get Free Item , Shipping/Discount&lt;br /&gt;
&lt;br /&gt;
CHECK OUT FOR OUR EXTRA CHEAPER PRODUCT LIST:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
T-Mobile Sidekick:&lt;br /&gt;
T-Mobile Sidekick LX 2008–$135&lt;br /&gt;
T-Mobile Sidekick LX 2009–$140&lt;br /&gt;
T-Mobile Sidekick LX — $105&lt;br /&gt;
T-Mobile Shadow — $120&lt;br /&gt;
T-Mobile G1 — $130&lt;br /&gt;
T-Mobile Sidekick 3 — $100&lt;br /&gt;
Juicy Couture Sidekick 2 — $80&lt;br /&gt;
&lt;br /&gt;
Apple iPhone:&lt;br /&gt;
Apple iPhone 3GS 32GB- $210&lt;br /&gt;
Apple iPhone 3GS 16GB- $200&lt;br /&gt;
Apple iPhone 4GB — $100&lt;br /&gt;
Apple iPhone 8GB — $120&lt;br /&gt;
Apple iPhone 16GB — $130&lt;br /&gt;
Apple iPhone 3G 8GB — $140&lt;br /&gt;
Apple iPhone 3G 16GB — $150&lt;br /&gt;
&lt;br /&gt;
BlackBerry:&lt;br /&gt;
Blackberry Curve 8900 — $170&lt;br /&gt;
Blackberry Storm 9500 — $140&lt;br /&gt;
Blackberry Storm 9530 — $155&lt;br /&gt;
Blackberry Pearl Flip 8220 — $105&lt;br /&gt;
Blackberry Bold 9000 — $135&lt;br /&gt;
Blackberry Curve 8320 — $125&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
w.tanztage@msn.com&lt;br /&gt;
w.tanztage@msn.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HTC:&lt;br /&gt;
HTC Touch Pro — $155&lt;br /&gt;
HTC Touch Diamond 2 — $200&lt;br /&gt;
HTC Touch Diamond — $140&lt;br /&gt;
HTC Touch Cruise — $140&lt;br /&gt;
HTC Touch Pro2 $200&lt;br /&gt;
HTC Touch Dual — $130&lt;br /&gt;
HTC Dream — $195&lt;br /&gt;
HTC Touch Cruise 09 — $215&lt;br /&gt;
HTC MAX 4G — $200&lt;br /&gt;
HTC Touch HD — $165&lt;br /&gt;
HTC Touch 3G — $155&lt;br /&gt;
HTC Touch Viva — $145&lt;br /&gt;
HTC S740 — $155&lt;br /&gt;
&lt;br /&gt;
Eten:&lt;br /&gt;
Acer Tempo DX900 ----$190&lt;br /&gt;
Eten glofiish X610 — $135&lt;br /&gt;
Eten glofiish V900 — $235&lt;br /&gt;
Eten glofiish X900 — $185&lt;br /&gt;
Eten glofiish DX900 — $165&lt;br /&gt;
Eten glofiish M810 — $155&lt;br /&gt;
Eten glofiish X650 — $145&lt;br /&gt;
Eten glofiish M800 — $160&lt;br /&gt;
&lt;br /&gt;
Nokia:&lt;br /&gt;
Nokia N98—–$200&lt;br /&gt;
Nokia N85——$190&lt;br /&gt;
Nokia N96 16GB– $175&lt;br /&gt;
Nokia E90 — $155&lt;br /&gt;
Nokia N97 — $195&lt;br /&gt;
Nokia N79 — $175&lt;br /&gt;
Nokia E72 — $190&lt;br /&gt;
Nokia E71 — $180&lt;br /&gt;
Nokia E75 - $185&lt;br /&gt;
Nokia 8800 Sapphire Arte — $205&lt;br /&gt;
Nokia N93i — $125&lt;br /&gt;
Nokia 8600 Luna — $145&lt;br /&gt;
Nokia 5530 XpressMusic --$190&lt;br /&gt;
Nokia 5800 XPress Music—-$185&lt;br /&gt;
&lt;br /&gt;
w.tanztage@msn.com&lt;br /&gt;
w.tanztage@msn.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sony Ericsson:&lt;br /&gt;
Sony Ericsson Idou—–$190&lt;br /&gt;
Sony Ericsson C510 — $185&lt;br /&gt;
Sony Ericsson P1 — $125&lt;br /&gt;
Sony Ericsson C905 — $145&lt;br /&gt;
Sony Ericsson W960 — $130&lt;br /&gt;
Sony Ericsson G900 — $150&lt;br /&gt;
Sony Ericsson XPERIA X1 — $175&lt;br /&gt;
Sony Ericsson C902 — $130&lt;br /&gt;
Sony Ericsson W902 — $145&lt;br /&gt;
&lt;br /&gt;
Samsung:&lt;br /&gt;
Samsung I8000 Omnia II —— $220&lt;br /&gt;
Samsung B7320 OmniaPRO —— $200&lt;br /&gt;
Samsung B7300 Omnia LITE——$190&lt;br /&gt;
Samsung i8910 Omnia HD ——-$170&lt;br /&gt;
Samsung i900 Omnia 16GB — $165&lt;br /&gt;
Samsung Omnia 8GB ——-$160&lt;br /&gt;
Samsung S8000 Jet ————&lt;br /&gt;
Samsung T929 Memoir — $195&lt;br /&gt;
Samsung T919 Behold — $185&lt;br /&gt;
Samsung Giorgio Armani P520 — $135&lt;br /&gt;
Samsung U900 Soul — $160&lt;br /&gt;
Samsung G800 — $155&lt;br /&gt;
Samsung F490 — $145&lt;br /&gt;
&lt;br /&gt;
LG Phones&lt;br /&gt;
LG GW550—— $205&lt;br /&gt;
LG Incite——$200&lt;br /&gt;
LG GD910—–$195&lt;br /&gt;
LG KS500—-$190&lt;br /&gt;
LG KF900 Prada—–$195&lt;br /&gt;
LG KC780—-$200&lt;br /&gt;
LG KP500 Cookie—–$215&lt;br /&gt;
LG KC910 Renoir——$210&lt;br /&gt;
LG KB770——$200&lt;br /&gt;
LG CB630 Invision——$200&lt;br /&gt;
LG KS360——-$190&lt;br /&gt;
&lt;br /&gt;
Video Games Console:&lt;br /&gt;
Playstation:&lt;br /&gt;
Sony PSP Slim Giga Bundle — $105&lt;br /&gt;
Sony PlayStation 3 80GB Motorstorm Pack — $155&lt;br /&gt;
Sony Playstation 3 60GB — $140&lt;br /&gt;
Sony PlayStation 3 40GB — $125&lt;br /&gt;
&lt;br /&gt;
APPLE LAPTOPS&lt;br /&gt;
Apple Macbook Air……………………….$600&lt;br /&gt;
Apple MacBook (MA700LL/A) Mac Notebook…$500usd&lt;br /&gt;
Apple MacBook Pro (MA611LL/A) Notebook…$500usd&lt;br /&gt;
Apple MacBook (MA254LL/A) Mac Notebook…$450usd&lt;br /&gt;
Apple iBook G3 (M7698LL/A) Mac Notebook..$400usd&lt;br /&gt;
Apple MacBook Pro (MA609LL/A) Notebook…$550usd&lt;br /&gt;
Apple MacBook Pro (MA600LLA) Notebook…$500usd&lt;br /&gt;
Apple MacBook Pro (MA610LL/A) Notebook…$450usd&lt;br /&gt;
Apple Macbook Pro (885909119400) Notebook..$445usd&lt;br /&gt;
&lt;br /&gt;
Please review our returns policy for more details below:&lt;br /&gt;
&lt;br /&gt;
Before you return your items, you must contact us and receive a Return Merchandise Authorization Number (RMA). Any returns sent without an RMA number will not be accepted by RAPORTIX LIMITED We assume all responsibility for the package until it &lt;br /&gt;
arrives at our office.&lt;br /&gt;
&lt;br /&gt;
Please include the following information when returning an item:&lt;br /&gt;
1) Your RMA number on your invoice (Do not write on the items box).&lt;br /&gt;
2) A copy of your original invoice with the RMA number (inside the shipping box).&lt;br /&gt;
3) A note stating the problem if you would like the return for replacement or exchange.&lt;br /&gt;
&lt;br /&gt;
We ship 100% of our orders the same business day from our warehouse, typically the product will arrive within 2days via either Fedex/Ups Courier Sevices.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Well we offer international standard warranty with full acceptance for replacement or full refund of money back.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We give maximum guarantee for safe delivery of items bought from us.&lt;br /&gt;
&lt;br /&gt;
As soon as final conclusions are done from your side kindly contact us as soon as possible so as to lead you on hot to transact with us.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanking you in anticipation and looking forward to doing long term business with you.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Online Chat Msn ID : w.tanztage@msn.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Yours Sincerely&lt;br /&gt;
&lt;br /&gt;
Contact Name : Weidener Tanztage&lt;br /&gt;
Company Name : RAPORTIX LIMITED&lt;br /&gt;
Email Us At  : w.tanztage@msn.com&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/393014/393014/get-your-blackberry-curve-8900-170nokia-n98200blackberry-storm/</guid>
      <pubDate>Mon, 29 Jun 2009 09:40:31 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>???? ???? +????? + ????? ????= ??????? ???????? ? ???????? ??????</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/392939/392939/--+-+-------/</link>
      <description>&lt;br /&gt;
خريد هاست +دومين + طراحي سایت= تبليغات اينترنتي و پشتيباني رايگان&lt;br /&gt;
سايت خدمات اينترنتي صالح = قيمت پايين = کيفيت بالا = سرعت بالا&lt;br /&gt;
&lt;br /&gt;
&lt;a href="Http://salleh.info"&gt;Http://salleh.info&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
طراحي ثبت و ميزباني وب سايت شخصي اداري و .. شما&lt;br /&gt;
راه اندازي انواع پروژه هاي اينترنتي - تبليغات اينترنتي&lt;br /&gt;
لطفاَ مطالعه فرماييد: &lt;a href="Http://salleh.info/design.php"&gt;Http://salleh.info/design.php&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
ارائه انواع گواهينامه هاي اينترنتي SSL CERTIFICATE&lt;br /&gt;
&lt;a href="Http://salleh.info/ssl.php"&gt;Http://salleh.info/ssl.php&lt;/a&gt;&lt;br /&gt;
COMODO SSL - GEOTRUST SSL - RAPID SSL - THAWTE SSL&lt;br /&gt;
&lt;br /&gt;
ارائه انواع تحقيق و مقاله هاي اينترنتي بشکل &lt;br /&gt;
pdf, word, ...&lt;br /&gt;
امکان خريد غير حضوري و از طريق سايت و يا حضوري از طريق دفتر فني مهندسي انام&lt;br /&gt;
&lt;br /&gt;
خريد اينترنتي و تبليغات روي گوگل&lt;br /&gt;
خريد سرويس ايميل به نام شما&lt;br /&gt;
&lt;br /&gt;
تمام کارهاي اينترنتي خود را به ما بسپاريد براي مشاوره رايگان تماس بگيريد&lt;br /&gt;
قبل از خريد&lt;br /&gt;
رشت - بيستون - خ طالقاني - کوچه انام - دفتر فني مهندسي انـــــــــــــــام&lt;br /&gt;
09113346220&lt;br /&gt;
09359853170&lt;br /&gt;
01315513939&lt;br /&gt;
&lt;br /&gt;
بعضی از سایتهای طراحی و ثبت و سرویس داده شده توسط ما:&lt;br /&gt;
&lt;a href="http://salleh.info"&gt;http://salleh.info&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://technofom.com"&gt;http://technofom.com&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://toopesabz.com/t"&gt;http://toopesabz.com/t&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://toopesabz.com/f"&gt;http://toopesabz.com/f&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://toopesabz.com/s"&gt;http://toopesabz.com/s&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
جدول تقريبي طراحي سايت بصورت دمو (پيشفرض) و يا حرفه اي (کامل)0&lt;br /&gt;
طراحي دو صفحه اي و پيشفرض بصورت دمو يک سايت (در حد تماس و معرفي و تبليغات اينترنتي رايگان) فقط 100.000 تومان&lt;br /&gt;
طراحي 6 صفحه اي و نرمال بصورت پي اچ پي ولي بدون ورود کاربر (در حد تماس و معرفي و بنر و بازديدها و خبرنامه و منوها و ارسال فرم دلخواه و ارئه سرويس و طراحي لوگو و بنر تبليغاتي و معرفي محصول و شرکت و تبليغات اينترنتي رايگان و ..) فقط 390.000 تومان&lt;br /&gt;
طراحي سايت حرفه اي بشکل کامل و دلخواه شما با استفاده از ارايه چند قالب طراحي شده توسط ما و ديناميک و 12 صفحه + کليه موارد نياز يک سايت و موارد اضافي کليه بسته ها) فقط 650.000 تومان&lt;br /&gt;
پروژه سايت هاي دولتي و خصوصي براي ارايه سرويس به کاربرانشان مانند مدارس به دانش آموزان و يا شرکتها به کارکنان و .. در سايتي بدلخواه اسم و ... خودشان فقط 990.000 تومان&lt;br /&gt;
&lt;br /&gt;
کليه موارد شامل بسته تبليغات رايگان اينترنتي و بنرهاي گرافيکي و ... ميباشد&lt;br /&gt;
با تشکر&lt;br /&gt;
خدمات اينترنتي و دفتر فني مهندسي انام&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
طراحي سايت حرفه اي براي شرکتهايي که نياز به دريافت گواهينامه ايزو دارند...  توجه توجه&lt;br /&gt;
تماس بگيريد&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
بنرها:&lt;br /&gt;
&lt;img src="http://salleh.info/images/banner.gif" /&gt;http://salleh.info/images/banner.gif&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
English verision: Important: If you dont need to read it, please remove it, we dont send again, its first and end letter...&lt;br /&gt;
&lt;br /&gt;
Dear man&lt;br /&gt;
&lt;br /&gt;
its an advertise mail for you from SALLEH.iNFO internet hosting solution services&lt;br /&gt;
&lt;br /&gt;
We have many services for you, around:&lt;br /&gt;
web host solution&lt;br /&gt;
domain register services&lt;br /&gt;
web design&lt;br /&gt;
article...&lt;br /&gt;
buy from internet&lt;br /&gt;
google ads&lt;br /&gt;
and more internet advertise&lt;br /&gt;
&lt;br /&gt;
our place address:&lt;br /&gt;
Iran, Guilan, Rasht, Bisetoon (Taleghani ave), Anaam st&lt;br /&gt;
Technical and Engineering Office of Anaam, site: &lt;a href="http://Salleh.info"&gt;http://Salleh.info&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
just salleh.info&lt;br /&gt;
&lt;br /&gt;
have a nice time&lt;br /&gt;
Salleh&lt;br /&gt;
&lt;img src="http://salleh.info/images/banner2.gif" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/392939/392939/--+-+-------/</guid>
      <pubDate>Sat, 27 Jun 2009 09:38:50 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>Understanding php programming</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/392904/392904/understanding-php-programming/</link>
      <description>I'M reading a book on PHP 5 programming. I just finished a chapter 3 that ended with a rather simple game but code that was less that simple. Now, I may be able to figure out how it works by reading the books explanation and studying the code line by line very VERY slowly. But how do people get to where they and just read and write this stuff. Is my confusion normal? Like I said, I might could read this out a slowly figure out what's going on, but I couldn't turn around tomorrow and write another program like that without a LOT of help. There  were four or five functions and some of them were intertwined. Is it just me? Am I not meant to be a programmer?&lt;br /&gt;
Also, I think I might stand a better change if I were taught how to write programs before I actually start writing the programs. As in planing it out. How many variables do I need, what should I make into functions and how many functions will I need. That type of thing. I've never read a programming book that taught the potential programmer to think like that. Some might have mentioned it, but they still just gave me the code and a less than satisfactory explanation at the end of the program code. Thanks for any and all reply's.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/392904/392904/understanding-php-programming/</guid>
      <pubDate>Fri, 26 Jun 2009 07:57:26 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>Array - multidimensional problem</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/392871/392871/array---multidimensional-problem/</link>
      <description>Hi i am having a problem with a code for the past few days that i cant seem to find a solution.&lt;br /&gt;
I am trying to modify an ajax carousel &lt;br /&gt;
to load my data from my database. The original array that holds the data is like this:&lt;br /&gt;
$jcarousel_items = array(&lt;br /&gt;
    array(&lt;br /&gt;
        'id' =&amp;gt; '160',&lt;br /&gt;
        'page_small_img' =&amp;gt; 'prod_small_160_1225468269_smallbusinessserver.jpg
',&lt;br /&gt;
    ),&lt;br /&gt;
&lt;br /&gt;
    array(&lt;br /&gt;
        'id' =&amp;gt; '161',&lt;br /&gt;
        'page_small_img' =&amp;gt; 'prod_small_161_1225468368_smallbusinessserver.jpg
',&lt;br /&gt;
    ),&lt;br /&gt;
    array(&lt;br /&gt;
        'id' =&amp;gt; '162',&lt;br /&gt;
        'page_small_img' =&amp;gt; 'prod_small_160_1225468269_smallbusinessserver.jpg
',&lt;br /&gt;
    ),&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Lokananth&lt;br /&gt;
&lt;br /&gt;
Live chat&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.mioot.com"&gt;http://www.mioot.com&lt;/a&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/392871/392871/array---multidimensional-problem/</guid>
      <pubDate>Thu, 25 Jun 2009 21:27:55 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>How i can be sure that hosting support drupal cms?</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/392816/392816/how-i-can-be-sure-that-hosting-support-drupal-cms/</link>
      <description>I searching for multi-location hosting and founded just few companies which can offer that. &lt;br /&gt;
   Cheapest of them is Host1Plus hosting, but how can I be sure that their support Drupal? Just asking on live-support?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/392816/392816/how-i-can-be-sure-that-hosting-support-drupal-cms/</guid>
      <pubDate>Wed, 24 Jun 2009 21:40:59 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>Anyone use gbcf-v3 script? help</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/392795/392795/anyone-use-gbcf-v3-script-help/</link>
      <description>Has anyone used or currently use gbcf-v3 Contact Form??&lt;br /&gt;
&lt;br /&gt;
I'm currently stuck and I need someone who is willing to help me through my problem&lt;br /&gt;
&lt;br /&gt;
any help is more than welcome&lt;br /&gt;
&lt;br /&gt;
here is my contact PHP&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;&amp;lt;form method="POST" action="send.php"&amp;gt;
Fields marked (*) are required

&amp;lt;p&amp;gt;Email From:* &amp;lt;br&amp;gt;
&amp;lt;input type="text" name="EmailFrom"&amp;gt;
&amp;lt;p&amp;gt;Full Name:* &amp;lt;br&amp;gt;
&amp;lt;input type="text" name="Name"&amp;gt;
&amp;lt;p&amp;gt;Comments:* &amp;lt;br&amp;gt;
&amp;lt;input type="text" name="Comments"&amp;gt;
&amp;lt;p&amp;gt;&amp;lt;input type="submit" name="submit" value="Submit"&amp;gt;
&amp;lt;/form&amp;gt;
&amp;lt;p&amp;gt;&lt;/pre&gt;&lt;br /&gt;
and I'm currently stuck with these 2 steps:&lt;br /&gt;
&lt;br /&gt;
9. Add the link to the style sheet and the focus JavaScript file - for form field&lt;br /&gt;
      focus effects for Internet Explorer - to the head of your contact form page &lt;br /&gt;
      (see Figure 1), then add the PHP "include" to the body content area of that &lt;br /&gt;
      same page (see Figure 2). Go live and worry not.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--Figure 1 (written as xhtml)--&amp;gt;&lt;br /&gt;
  &amp;lt;link rel="stylesheet" type="text/css" href="gbcf-v3/files/themes/default.css" media="screen" /&amp;gt;&lt;br /&gt;
 &amp;lt;!--[if IE]&amp;gt;&lt;br /&gt;
  &amp;lt;script type="text/javascript" src="gbcf-v3/files/focus.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
 &amp;lt;![endif]--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 1 Note: You may choose to add the form styles to your own style sheet or &lt;br /&gt;
do something else such as use existing styles. It's your call. Use the default &lt;br /&gt;
style sheet to see what classes you have available to you. The style sheet name &lt;br /&gt;
in the example is default.css. Change as needed if using a theme.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--Figure 2--&amp;gt;&lt;br /&gt;
  &amp;lt;?php include_once("gbcf-v3/form.php"); ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Figure 2 Note: In all cases above, adjust the path to the files to meet your needs &lt;br /&gt;
such as if your contact page is in a folder: ../gbcf-v3/form.php.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
any/all help please?!!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/392795/392795/anyone-use-gbcf-v3-script-help/</guid>
      <pubDate>Wed, 24 Jun 2009 11:14:03 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>SQL disconnected</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/392793/392793/sql-disconnected/</link>
      <description>let see my php code.Here, there are 3 files.&lt;br /&gt;
1.&lt;br /&gt;
&amp;lt;form id="form1" name="form1" method="post" action="thankstudent.php"&amp;gt;&lt;br /&gt;
&amp;lt;table width="435" border="1" align="center" cellpadding="2" cellspacing="1" bordercolor="#000000"&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td width="111" bgcolor="#00FFFF"&amp;gt;Title&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td width="329"&amp;gt;&amp;lt;label&amp;gt;&lt;br /&gt;
&amp;lt;input name="title" type="text" id="title" size="80" /&amp;gt;&lt;br /&gt;
&amp;lt;/label&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td colspan="2" align="center" bgcolor="#00FFFF"&amp;gt;&amp;lt;div align="left"&amp;gt;Description&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td height="48" colspan="2" align="center"&amp;gt;&amp;lt;label&amp;gt;&lt;br /&gt;
&amp;lt;textarea name="description" id="description" cols="905" rows="5"&amp;gt;&amp;lt;/textarea&amp;gt;&lt;br /&gt;
&amp;lt;/label&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor="#00FFFF"&amp;gt;&amp;lt;div align="left"&amp;gt;&amp;lt;span class="style8"&amp;gt;Year&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;SELECT NAME="year" size="1"&amp;gt;&lt;br /&gt;
&amp;lt;option&amp;gt;2009&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option&amp;gt;2010&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option&amp;gt;2011&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option&amp;gt;2012&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option&amp;gt;2013&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option&amp;gt;2014&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option&amp;gt;2015&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option&amp;gt;2016&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option&amp;gt;2017&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option&amp;gt;2018&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option&amp;gt;2019&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;option&amp;gt;2020&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;/SELECT&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor="#00FFFF"&amp;gt;&amp;lt;div align="left"&amp;gt;Name&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;p&amp;gt;1.&lt;br /&gt;
&amp;lt;input name="std_name" type="text" id="st_dname" size="50" /&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;2.&lt;br /&gt;
&amp;lt;input name="std_name" type="text" id="std_name" size="50" /&amp;gt; &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;3.&lt;br /&gt;
&amp;lt;input name="std_name" type="text" id="std_name" size="50" /&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;4.&lt;br /&gt;
&amp;lt;input name="std_name" type="text" id="std_name" size="50" /&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;5.&lt;br /&gt;
&amp;lt;input name="std_name" type="text" id="std_name" size="50" /&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor="#00FFFF"&amp;gt;&amp;lt;div align="left"&amp;gt;Total Pages&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&amp;lt;label&amp;gt;&lt;br /&gt;
&amp;lt;input type="text" name="textfield5" id="textfield5"&amp;gt;&lt;br /&gt;
&amp;lt;/label&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td colspan="2" align="center"&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div align="left"&amp;gt;&lt;br /&gt;
&amp;lt;input type="submit" name="button4" id="button4" value="submit" /&amp;gt; &lt;br /&gt;
&amp;lt;input type="reset" name="button3" id="button3" value="cancel" /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2.receive file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
include('connect_login.php');&lt;br /&gt;
$title = $_POST['title'];&lt;br /&gt;
$description = $_POST['description'];&lt;br /&gt;
$std_name = $_POST['std_name'];&lt;br /&gt;
$total_pages = $_POST['total_pages'];&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$sql = "INSERT INTO `text`.`developer` (`id` ,`title` ,`description` ,`year` ,`std_name` ,`total pages` )VALUES ('', '$title', '$description', '', '$std_name', '$total_pages');";&lt;br /&gt;
&lt;br /&gt;
mysql_query($sql);&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. database connected file&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$db_host="localhost";&lt;br /&gt;
$db_database="text";&lt;br /&gt;
$db_username="root";&lt;br /&gt;
$db_password="4710180";&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$connection = mysql_connect($db_host, $db_username, $db_password);&lt;br /&gt;
if (!$connection){&lt;br /&gt;
die ("Could not connect to the database: &amp;lt;br /&amp;gt;". mysql_error());&lt;br /&gt;
}&lt;br /&gt;
// Select the database&lt;br /&gt;
$db_select=mysql_select_db($db_database);&lt;br /&gt;
if (!$db_select)&lt;br /&gt;
{&lt;br /&gt;
   die ("Could not select the database: &amp;lt;br /&amp;gt;". mysql_error());&lt;br /&gt;
}&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
i use appserv .yet i can not connect to database  please tell me how to edit the code correctly?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
thanks  indeed&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/392793/392793/sql-disconnected/</guid>
      <pubDate>Wed, 24 Jun 2009 10:48:59 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>Array - multidimensional problem</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/392760/392760/array---multidimensional-problem/</link>
      <description>Hi i am having a problem with a code for the past few days that i cant seem to find a solution.&lt;br /&gt;
I am trying to modify an ajax carousel (http://sorgalla.com/jcarousel/)&lt;br /&gt;
to load my data from my database. The original array that holds the data is like this:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
$jcarousel_items = array(
    array(
        'id' =&amp;gt; '160',
        'page_small_img' =&amp;gt; 'prod_small_160_1225468269_smallbusinessserver.jpg
',
    ),

    array(
        'id' =&amp;gt; '161',
        'page_small_img' =&amp;gt; 'prod_small_161_1225468368_smallbusinessserver.jpg
',
    ),
    array(
        'id' =&amp;gt; '162',
        'page_small_img' =&amp;gt; 'prod_small_160_1225468269_smallbusinessserver.jpg
',
    ),
);
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
My $jcarousel_items array when i do a print_r shows this: &lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
Array
(
    [0] =&amp;gt; Array
        (
            [id] =&amp;gt; 160
            [page_small_img] =&amp;gt; prod_small_160_1225468269_smallbusinessserver.jpg
        )

    [1] =&amp;gt; Array
        (
            [id] =&amp;gt; 161
            [page_small_img] =&amp;gt; prod_small_161_1225468368_smallbusinessserver.jpg
        )

    [2] =&amp;gt; Array
        (
            [id] =&amp;gt; 162
            [page_small_img] =&amp;gt; prod_small_162_1225468572_smallbusinessserver.jpg
        )

)
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
How can i make my data to be held in the $jcarousel_items like the original code ?&lt;br /&gt;
&lt;br /&gt;
This is how i get the data from my mysql.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
$sql = "select p.id, p.title, p.page_small_img from products p, categories p2c where p.id = p2c.products_id and p2c.categories_id = '383' LIMIT $limit OFFSET $offset";
$result = mysql_query($sql) or die();

while ($getres= mysql_fetch_assoc($result)){
		$jcarousel_items[] = $getres;
}
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Any help would be appreciated.&lt;br /&gt;
-Thanks&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/392760/392760/array---multidimensional-problem/</guid>
      <pubDate>Wed, 24 Jun 2009 01:59:22 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>Serial/SPI Communications using PHP</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/392739/392739/serialspi-communications-using-php/</link>
      <description>hi,&lt;br /&gt;
I am planning to use PHP-GTK for creating a GUI for interacting with a embedded sensor device, does php provide functions for SERIAL/SPI communications.Will it possible to do that....if yes plz help.&lt;br /&gt;
&lt;br /&gt;
I will be really thankful for the help.&lt;br /&gt;
&lt;br /&gt;
cheers,     &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/392739/392739/serialspi-communications-using-php/</guid>
      <pubDate>Tue, 23 Jun 2009 09:40:04 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>function parameters</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/392738/392738/function-parameters/</link>
      <description>In the code below, I understand the $place variable and how it's working. What I can't understand is how I'M getting the output "he played 1, 2, etc... How is that function and the $stanza variable returning a single digit number? Thanks&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;
&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&amp;gt;
&amp;lt;title&amp;gt;Param Old Man&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;

&amp;lt;body&amp;gt;

&amp;lt;h1&amp;gt;Param Old Man&amp;lt;/h1&amp;gt;
&amp;lt;h3&amp;gt;Demonstrates use of function parameters&amp;lt;/h3&amp;gt;
&amp;lt;?php

print verse(1);
print chorus();
print verse(2);
print chorus();
print verse(3);
print chorus();
print verse(4);
print chorus();

function verse($stanza)
{
	switch($stanza)
	{
		case 1:
			$place = "thumb";
			break;
		case 2:
			$place = "shoe";
			break;
		case 3:
			$place = "knee";
			break;
		case 4:
			$place = "door";
			break;
		default:
			$place = "I don't know where";
	} //end switch

	$output = &amp;lt;&amp;lt;&amp;lt;HERE
	This old man, he played $stanza&amp;lt;br&amp;gt;
	He played knick-knack on my $place&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;
HERE;
	return $output;
} //end veruse

function chorus()
{
	$output = &amp;lt;&amp;lt;&amp;lt;HERE
	...with a knick-knack&amp;lt;br&amp;gt;
	paddy-wack&amp;lt;br&amp;gt;
	give a dog a bone&amp;lt;br&amp;gt;
	this old man came rolling home&amp;lt;br&amp;gt;
	&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;
HERE;
	return $output;
}// end chorus

?&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/392738/392738/function-parameters/</guid>
      <pubDate>Tue, 23 Jun 2009 09:01:14 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>unseen output image</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/392680/392680/unseen-output-image/</link>
      <description>by this code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;style type="text/css"&amp;gt;&lt;br /&gt;
   @import url(style1.css);&lt;br /&gt;
  &amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;?php error_reporting(E_ERROR); ?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;script type="text/javascript"&amp;gt;&lt;br /&gt;
function validate_required(field,alerttxt)&lt;br /&gt;
{&lt;br /&gt;
with (field)&lt;br /&gt;
{&lt;br /&gt;
if (value==null||value=="")&lt;br /&gt;
  {alert(alerttxt);return false}&lt;br /&gt;
else {return true}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function validate_form(thisform)&lt;br /&gt;
{&lt;br /&gt;
with (thisform)&lt;br /&gt;
{&lt;br /&gt;
if (validate_required(entry,"â»Ã´¾ÔÁ¾ì¢éÍ¤ÇÒÁ´éÇÂ¤ÃÑº
")==false)&lt;br /&gt;
  {entry.focus();return false}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
session_start();&lt;br /&gt;
header("Cache-control: private");&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=tis-620" /&amp;gt;&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
function show_it(layername) {&lt;br /&gt;
document.getElementById(layername).style.display = 'inline';&lt;br /&gt;
}&lt;br /&gt;
function hide_it(layername) {&lt;br /&gt;
document.getElementById(layername).style.display = 'none';&lt;br /&gt;
}&lt;br /&gt;
function popUp(URL) {&lt;br /&gt;
day = new Date();&lt;br /&gt;
id = day.getTime();&lt;br /&gt;
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,men
ubar=0,resizable=0,width=150,height=350,left = 580,top = 262');");&lt;br /&gt;
}&lt;br /&gt;
function addSmiley(code)&lt;br /&gt;
{&lt;br /&gt;
var comments = document.getElementById("chat")&lt;br /&gt;
var cache = comments.value;&lt;br /&gt;
this.code = code;&lt;br /&gt;
comments.value = cache + "" + code + " ";&lt;br /&gt;
comments.focus();&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body onLoad="&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;div class="formarea"&amp;gt;&lt;br /&gt;
&amp;lt;font face="MS Sans Serif" size="3" color="#800000"&amp;gt;Emotion : &amp;lt;/font&amp;gt; &lt;br /&gt;
&amp;lt;img src="smileys/confused.gif" onClick="addSmiley('&amp;lt;img src=smileys/confused.gif&amp;gt;');" /&amp;gt; &lt;br /&gt;
&amp;lt;img src="smileys/dead.gif" onClick="addSmiley('&amp;lt;img src=smileys/dead.gif&amp;gt;');" /&amp;gt;&lt;br /&gt;
 &amp;lt;img src="smileys/depressed.gif" onClick="addSmiley('&amp;lt;img src=smileys/depressed.gif&amp;gt;');" /&amp;gt; &lt;br /&gt;
&amp;lt;img src="smileys/evil.gif" onClick="addSmiley('&amp;lt;img src=smileys/evil.gif&amp;gt;');" /&amp;gt;&lt;br /&gt;
 &amp;lt;img src="smileys/frown.gif" onClick="addSmiley('&amp;lt;img src=smileys/frown.gif&amp;gt;');" /&amp;gt;&lt;br /&gt;
 &amp;lt;img src="smileys/lol.gif" onClick="addSmiley('&amp;lt;img src=smileys/lol.gif&amp;gt;');" /&amp;gt;&lt;br /&gt;
 &amp;lt;img src="smileys/mad.gif" onClick="addSmiley('&amp;lt;img src=smileys/mad.gif&amp;gt;');" /&amp;gt; &lt;br /&gt;
&amp;lt;img src="smileys/smile.gif" onClick="addSmiley('&amp;lt;img src=smileys/smile.gif&amp;gt;');" /&amp;gt; &lt;br /&gt;
&amp;lt;img src="smileys/tired.gif" onClick="addSmiley('&amp;lt;img src=smileys/tired.gif&amp;gt;');" /&amp;gt;&lt;br /&gt;
 &amp;lt;img src="smileys/wink.gif" onClick="addSmiley('&amp;lt;img src=smileys/wink.gif&amp;gt;');" /&amp;gt;&lt;br /&gt;
 &amp;lt;img src="smileys/wtf.gif" onClick="addSmiley('&amp;lt;img src=smileys/wtf.gif&amp;gt;');" /&amp;gt; &amp;lt;/div&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;form action="" onSubmit="return validate_form(this)" method="post"&amp;gt;&lt;br /&gt;
&amp;lt;input type="text" name="entry" id="chat" size="100" class="" style="font-family: Microsoft Sans Serif; font-size: 10pt; color: #000080; border: 1px dotted #800000; background-color: #CCFFCC" /&amp;gt;&lt;br /&gt;
&amp;lt;input type="submit" name="submit" value="message" style="font-family: Microsoft Sans Serif; font-size: 10pt; color: #800000; border: 1px dashed #008000; background-color: #CCFF99"&amp;gt;&lt;br /&gt;
  &amp;lt;input type="hidden" name="sub"&amp;gt;&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
if (isset($_POST['sub'])) {	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$entry = $_POST['entry'];&lt;br /&gt;
$newline = "\n";&lt;br /&gt;
$user = $_SESSION['name'];&lt;br /&gt;
$font = "&amp;lt;font color=".$_SESSION['color']."&amp;gt;";&lt;br /&gt;
$endfont = "&amp;lt;/font&amp;gt;";&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$fp = fopen("./chatscript.txt","a");&lt;br /&gt;
&lt;br /&gt;
if(!$fp) {&lt;br /&gt;
    echo 'Error: Cannot open user file, you may need to sign up (again).';&lt;br /&gt;
    exit;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
fwrite($fp, $font.$user.":  ".$entry.$endfont."&amp;lt;br&amp;gt;".$newline);&lt;br /&gt;
&lt;br /&gt;
fclose($fp);&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
according to&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;img src="smileys/confused.gif" onClick="addSmiley('&amp;lt;img src=smileys/confused.gif&amp;gt;');" /&amp;gt; &lt;br /&gt;
&amp;lt;img src="smileys/dead.gif" onClick="addSmiley('&amp;lt;img src=smileys/dead.gif&amp;gt;');" /&amp;gt;&lt;br /&gt;
 &amp;lt;img src="smileys/depressed.gif" onClick="addSmiley('&amp;lt;img src=smileys/depressed.gif&amp;gt;');" /&amp;gt; &lt;br /&gt;
&amp;lt;img src="smileys/evil.gif" onClick="addSmiley('&amp;lt;img src=smileys/evil.gif&amp;gt;');" /&amp;gt;&lt;br /&gt;
 &amp;lt;img src="smileys/frown.gif" onClick="addSmiley('&amp;lt;img src=smileys/frown.gif&amp;gt;');" /&amp;gt;&lt;br /&gt;
 &amp;lt;img src="smileys/lol.gif" onClick="addSmiley('&amp;lt;img src=smileys/lol.gif&amp;gt;');" /&amp;gt;&lt;br /&gt;
 &amp;lt;img src="smileys/mad.gif" onClick="addSmiley('&amp;lt;img src=smileys/mad.gif&amp;gt;');" /&amp;gt; &lt;br /&gt;
&amp;lt;img src="smileys/smile.gif" onClick="addSmiley('&amp;lt;img src=smileys/smile.gif&amp;gt;');" /&amp;gt; &lt;br /&gt;
&amp;lt;img src="smileys/tired.gif" onClick="addSmiley('&amp;lt;img src=smileys/tired.gif&amp;gt;');" /&amp;gt;&lt;br /&gt;
 &amp;lt;img src="smileys/wink.gif" onClick="addSmiley('&amp;lt;img src=smileys/wink.gif&amp;gt;');" /&amp;gt;&lt;br /&gt;
 &amp;lt;img src="smileys/wtf.gif" onClick="addSmiley('&amp;lt;img src=smileys/wtf.gif&amp;gt;');" /&amp;gt; &amp;lt;/div&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
i want output as the picture otherwise error occur is img src="smileys/wtf.gif&lt;br /&gt;
&lt;br /&gt;
how to correct it&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/392680/392680/unseen-output-image/</guid>
      <pubDate>Mon, 22 Jun 2009 10:49:06 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>print &lt;&lt;&lt;WORD</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/392669/392669/print-word/</link>
      <description>What is this thing all about and what happens if I don't use it?&lt;br /&gt;
&lt;br /&gt;
print &amp;lt;&amp;lt;&amp;lt;HERE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HERE;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/392669/392669/print-word/</guid>
      <pubDate>Mon, 22 Jun 2009 07:56:02 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>Free PHP eBooks download for you</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/392624/392624/free-php-ebooks-download-for-you/</link>
      <description>Here you can free download Free PHP eBooks&lt;br /&gt;
&lt;a href="http://ebookhouse.org/category/programming/php/"&gt;http://ebookhouse.org/category/programming/php/&lt;/a&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/392624/392624/free-php-ebooks-download-for-you/</guid>
      <pubDate>Sun, 21 Jun 2009 19:19:36 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>where to add confirm password tag</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/392614/392614/where-to-add-confirm-password-tag/</link>
      <description>this is form tag&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
                                    &amp;lt;form id="form1" name="form1" method="post" action="afterlog.php"&amp;gt;&lt;br /&gt;
        &amp;lt;table width="399" border="1" align="center" cellpadding="2" cellspacing="1" bordercolor="#000000"&amp;gt;&lt;br /&gt;
          &amp;lt;tr&amp;gt;&lt;br /&gt;
              &amp;lt;td width="127" bgcolor="#fbcbf7"&amp;gt;Username&amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td width="194"&amp;gt;&amp;lt;label&amp;gt;&lt;br /&gt;
              &amp;lt;input name="username" type="text" id="username" size="10" /&amp;gt;&lt;br /&gt;
            &amp;lt;/label&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&lt;br /&gt;
            &amp;lt;td bgcolor="#fbcbf7"&amp;gt; Password&amp;lt;/td&amp;gt;&lt;br /&gt;
            &amp;lt;td&amp;gt;&amp;lt;input password="password1" type="password" id="password1" size="10" /&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&lt;br /&gt;
            &amp;lt;td bgcolor="#fbcbf7"&amp;gt; Confirm Password&amp;lt;/td&amp;gt;&lt;br /&gt;
            &amp;lt;td&amp;gt;&amp;lt;input password="password2" type="password" id="password2" size="10" /&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&lt;br /&gt;
            &amp;lt;td bgcolor="#fbcbf7"&amp;gt; E-mail&amp;lt;/td&amp;gt;&lt;br /&gt;
            &amp;lt;td&amp;gt;&amp;lt;input name="Email" type="text" id="Email" size="30" /&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;/tr&amp;gt;&lt;br /&gt;
          &amp;lt;tr&amp;gt;&lt;br /&gt;
            &amp;lt;td colspan="2" align="center"&amp;gt;&amp;lt;input type="submit" name="button4" id="button4" value="submit" /&amp;gt;            &lt;br /&gt;
                      &lt;br /&gt;
&lt;br /&gt;
                &amp;lt;input type="reset" name="button3" id="button3" value="cancel" /&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
          &amp;lt;/tr&amp;gt;&lt;br /&gt;
    &amp;lt;/table&amp;gt;&lt;br /&gt;
        &amp;lt;/form&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and  &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
this is error  code&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
include('connect_login.php');&lt;br /&gt;
if($_POST['button4']){&lt;br /&gt;
$username = $_POST['username'];&lt;br /&gt;
$password1 = $_POST['password1'];&lt;br /&gt;
$password2 = $_POST['password2'];&lt;br /&gt;
$Email = $_POST['Email'];&lt;br /&gt;
}&lt;br /&gt;
$sql = "INSERT INTO `text`.`see` (`id` ,`username` ,`password` ,`E-mail` )VALUES ('', '$username', '$password1', '$Email');"; &lt;br /&gt;
mysql_query($sql);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
my question  is  how to add  password in database by what code?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/392614/392614/where-to-add-confirm-password-tag/</guid>
      <pubDate>Sun, 21 Jun 2009 07:47:42 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>Disreguard this post</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/392599/392599/disreguard-this-post/</link>
      <description>I'M getting this output in the browser window, it's showing the code instead of the end result.&lt;br /&gt;
&lt;br /&gt;
chkSoda: $chkSoda&lt;br /&gt;
chkShake: $chkShake&lt;br /&gt;
chkKetchup: $chkKetchup&lt;br /&gt;
HERE; $total = 0; if(!empty($chkFries)) { print ("You chose&lt;br /&gt;
\n"); $total = $total + $chkFries; } //end if if(!empty($chkSoda)) { print ("You chose soda&lt;br /&gt;
\n") $total = $total + $chkSoda; } //end if if(!empty($chkShake)) { print("You chose Shake&lt;br /&gt;
\n") $total = $total + $chkShake; } //end if if(!empty($chkKetchup)) { print("You chose Ketchup&lt;br /&gt;
\n") $total = $total + $chkKetchup; } //end if print "The total cost is \$$total \n"; ?&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Here is my program&lt;br /&gt;
And if I change &amp;lt;? to &amp;lt;?php then the browser just shows a blank page when the php program is called. Please help.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;
&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&amp;gt;
&amp;lt;title&amp;gt;Checkbox Demo&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;

&amp;lt;body&amp;gt;

&amp;lt;h3&amp;gt;Demonstrates reading checkboxes&amp;lt;/h3&amp;gt;

&amp;lt;?

print &amp;lt;&amp;lt;&amp;lt;HERE

chkFries: $chkFries &amp;lt;br&amp;gt;
chkSoda: $chkSoda &amp;lt;br&amp;gt;
chkShake: $chkShake &amp;lt;br&amp;gt;
chkKetchup: $chkKetchup &amp;lt;br&amp;gt;
&amp;lt;hr&amp;gt;

HERE;

$total = 0;

if(!empty($chkFries))
{
	print ("You chose &amp;lt;br&amp;gt; \n");
	$total = $total + $chkFries;
} //end if

if(!empty($chkSoda))
{
	print ("You chose soda &amp;lt;br&amp;gt; \n")
	$total = $total + $chkSoda;
} //end if

if(!empty($chkShake))
{
	print("You chose Shake &amp;lt;br&amp;gt; \n")
	$total = $total + $chkShake;
} //end if

if(!empty($chkKetchup))
{
	print("You chose Ketchup &amp;lt;br&amp;gt; \n")
	$total = $total + $chkKetchup;
} //end if

print "The total cost is \$$total \n";
?&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/392599/392599/disreguard-this-post/</guid>
      <pubDate>Sat, 20 Jun 2009 19:14:46 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>unable to saved value into global variable</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/392597/392597/unable-to-saved-value-into-global-variable/</link>
      <description>hi, im new to php and was trying to do a sort on an array without using the predefined ones, everything else seems to be working except for this part..&lt;br /&gt;
was hoping you guys could help me out. thanks in advance..&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;&amp;lt;?php
$array1 = array(4,8,2,7,1);
$smallest;

//find smallest value in array
function findSmallest($array){
   $size = count($array);
   $GLOBALS['smallest'] = $array[0];
   for($i = 0; $i &amp;lt; $size; $i++) {
      if($GLOBALS['smallest'] &amp;gt; $array[$i+1]){
         $GLOBALS['smallest'] = $array[$i+1];            
      }
      //echo $GLOBALS['smallest'] . "&amp;lt;br&amp;gt;";
   }   
   return $GLOBALS['smallest'];                
}
findSmall($array1);
echo '&amp;lt;pre&amp;gt;';
      var_dump($GLOBALS['smallest']);//returns null
echo '&amp;lt;/pre&amp;gt;';
?&amp;gt;&lt;/pre&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/392597/392597/unable-to-saved-value-into-global-variable/</guid>
      <pubDate>Sat, 20 Jun 2009 18:44:42 -0700</pubDate>
      <category>PHP</category>
    </item>
    <item>
      <title>Google adwords website</title>
      <link>http://www.programmersheaven.com/mb/phpstuff/392297/392297/google-adwords-website/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
need basic idea as to how to create a php website which tells us which ads are profitable in google words. One the website name is given, the website has to get the ad name, cpc, search volume, last seen, first seen and other details from google and give..&lt;br /&gt;
&lt;br /&gt;
kinda crawl and give..&lt;br /&gt;
&lt;br /&gt;
is this possible?&lt;br /&gt;
&lt;br /&gt;
regards!&lt;br /&gt;
&lt;a href="http://www.inowweb.com"&gt;Sha&lt;/a&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/phpstuff/392297/392297/google-adwords-website/</guid>
      <pubDate>Sat, 13 Jun 2009 10:56:54 -0700</pubDate>
      <category>PHP</category>
    </item>
  </channel>
</rss>