<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2004185145920706361</id><updated>2011-11-27T16:23:11.128-08:00</updated><title type='text'>Try this code</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nowfreephpcode.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2004185145920706361/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://nowfreephpcode.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>sabina</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2004185145920706361.post-2985179535871993093</id><published>2009-02-03T17:09:00.001-08:00</published><updated>2009-02-03T17:09:53.051-08:00</updated><title type='text'>PHP Main Development Sites</title><content type='html'>PHP: Hypertext Preprocessor Home Page&lt;br /&gt;PHP is a server-side HTML embedded scripting language. It provides web developers with a full suite of tools for building dynamic websites: native APIs to Apache and other web servers; easy access to MySQL, Sybase, Oracle, and other databases; IMAP; LDAP; HTTP headers and cookies. This site is the official home of PHP4.&lt;br /&gt;Zend &lt;br /&gt;A bottom-up rewrite of the PHP scripting engine. It features a modular architecture, vastly improved performance, and greater scalability.&lt;br /&gt;International PHP Magazine &lt;br /&gt;Web-based magazine for Web professionals focused on PHP based development. News, online articles, book reviews, forum.&lt;br /&gt;Quality Assurance Team &lt;br /&gt;Voulonteer coders dedicated to providing coders with quality assurance.&lt;br /&gt;Codewalkers &lt;br /&gt;A community site dedicated to PHP and SQL. Includes user submitted code, tutorials and forums.&lt;br /&gt;PHP Freaks&lt;br /&gt;A community designed to assist developers with PHP and MySQL related information. Includes tips, tutorials, forums, articles, code examples and manuals.&lt;br /&gt;PHP Everywhere&lt;br /&gt;Articles on PHP on Windows and Linux. Also compares PHP to ASP, Cold Fusion and Perl.&lt;br /&gt;PHP News by CodingTheWeb.com &lt;br /&gt;PHP development news, tutorials, technical articles and HOWTOs. This is the definitive news source for PHP. Updated hourly.&lt;br /&gt;PHPMac.com&lt;br /&gt;A site dedicated to PHP programmers that use the Mac OS. In particular Apple's new OS X unix system.&lt;br /&gt;Devshed - Searching with PHP and ht://Dig &lt;br /&gt;Adds search capabilities to site using the popular open source tools PHP3 and ht://Dig.&lt;br /&gt;Wrox Resource Center&lt;br /&gt;PHP support and resource forums run by programmers for programmers, provided by Wrox Press.&lt;br /&gt;Core PHP Programming&lt;br /&gt;Home page for the first book about PHP&lt;br /&gt;Club of the Developers &lt;br /&gt;This is a site of programmer's group united by a desire to develop PHP technologies in Internet.&lt;br /&gt;ThePHPGuy &lt;br /&gt;PHP, MySQL and Apache articles, tutorials, guides. Also features daily updated developer news as well as a monthly developer newsletter packed with PHP programming tips and tricks.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2004185145920706361-2985179535871993093?l=nowfreephpcode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nowfreephpcode.blogspot.com/feeds/2985179535871993093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nowfreephpcode.blogspot.com/2009/02/php-main-development-sites.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2004185145920706361/posts/default/2985179535871993093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2004185145920706361/posts/default/2985179535871993093'/><link rel='alternate' type='text/html' href='http://nowfreephpcode.blogspot.com/2009/02/php-main-development-sites.html' title='PHP Main Development Sites'/><author><name>sabina</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2004185145920706361.post-4569925913994903693</id><published>2009-02-03T17:08:00.000-08:00</published><updated>2009-02-03T17:09:09.192-08:00</updated><title type='text'>What is PHP ?</title><content type='html'>What is PHP ?&lt;br /&gt;PHP is a server-side scripting language for creating dynamic Web pages. PHP's programming syntax is very similar to that of Perl. Because of its elegant design, PHP makes it easy for anyone to learn. It is significantly easier than comparable Perl or ASP Code. Unlike other scripting languages, PHP supports the most common databases like Oracle, Sybase and MySQL. It is also possible to integrate external libraries to generate PDF documents or parsing XML PHP is an open-source language and is supported by a large groups of delvelopers. The code is downloadable from php.net.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2004185145920706361-4569925913994903693?l=nowfreephpcode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nowfreephpcode.blogspot.com/feeds/4569925913994903693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nowfreephpcode.blogspot.com/2009/02/what-is-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2004185145920706361/posts/default/4569925913994903693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2004185145920706361/posts/default/4569925913994903693'/><link rel='alternate' type='text/html' href='http://nowfreephpcode.blogspot.com/2009/02/what-is-php.html' title='What is PHP ?'/><author><name>sabina</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2004185145920706361.post-8754193736753306389</id><published>2009-02-03T17:06:00.000-08:00</published><updated>2009-02-03T17:08:24.184-08:00</updated><title type='text'>how can we  insert data into a table</title><content type='html'>1. INSERT INTO `tutorial_users` (&lt;br /&gt;   2.&lt;br /&gt;   3. `id` ,&lt;br /&gt;   4.&lt;br /&gt;   5. `username` ,&lt;br /&gt;   6.&lt;br /&gt;   7. `admin`&lt;br /&gt;   8.&lt;br /&gt;   9. )&lt;br /&gt;  10.&lt;br /&gt;  11. VALUES (&lt;br /&gt;  12.&lt;br /&gt;  13. NULL , 'Stewie', '0'&lt;br /&gt;  14.&lt;br /&gt;  15. ), (&lt;br /&gt;  16.&lt;br /&gt;  17. NULL , 'Peter', '0'&lt;br /&gt;  18.&lt;br /&gt;  19. ), (&lt;br /&gt;  20.&lt;br /&gt;  21. NULL , 'Brian', '0'&lt;br /&gt;  22.&lt;br /&gt;  23. ), (&lt;br /&gt;  24.&lt;br /&gt;  25. NULL , 'Meg', '0'&lt;br /&gt;  26.&lt;br /&gt;  27. ), (&lt;br /&gt;  28.&lt;br /&gt;  29. NULL , 'Lois', '0'&lt;br /&gt;  30.&lt;br /&gt;  31. ), (&lt;br /&gt;  32.&lt;br /&gt;  33. NULL , 'Chris', '0'&lt;br /&gt;  34.&lt;br /&gt;  35. ), (&lt;br /&gt;  36.&lt;br /&gt;  37. NULL , 'Greased Up Deaf Guy', '0'&lt;br /&gt;  38.&lt;br /&gt;  39. ), (&lt;br /&gt;  40.&lt;br /&gt;  41. NULL , 'Quagmire', '0'&lt;br /&gt;  42.&lt;br /&gt;  43. );&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2004185145920706361-8754193736753306389?l=nowfreephpcode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nowfreephpcode.blogspot.com/feeds/8754193736753306389/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nowfreephpcode.blogspot.com/2009/02/how-can-we-insert-data-into-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2004185145920706361/posts/default/8754193736753306389'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2004185145920706361/posts/default/8754193736753306389'/><link rel='alternate' type='text/html' href='http://nowfreephpcode.blogspot.com/2009/02/how-can-we-insert-data-into-table.html' title='how can we  insert data into a table'/><author><name>sabina</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2004185145920706361.post-7320899115455484135</id><published>2009-02-03T17:02:00.000-08:00</published><updated>2009-02-03T17:06:31.763-08:00</updated><title type='text'>free sql code</title><content type='html'># $sql = "SELECT id,username,admin FROM tutorial_users ORDER by id ASC";&lt;br /&gt;# $result = mysql_query($sql) or trigger_error(mysql_error(),E_USER_ERROR);&lt;br /&gt;# while(list($id,$username,$admin)=mysql_fetch_row($result)){&lt;br /&gt;#     $checked = ($admin==1) ? 'checked="checked"' : '';&lt;br /&gt;#     echo '&lt;br /&gt;# '."\n";}&lt;br /&gt;# ?&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2004185145920706361-7320899115455484135?l=nowfreephpcode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nowfreephpcode.blogspot.com/feeds/7320899115455484135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nowfreephpcode.blogspot.com/2009/02/free-sql-code.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2004185145920706361/posts/default/7320899115455484135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2004185145920706361/posts/default/7320899115455484135'/><link rel='alternate' type='text/html' href='http://nowfreephpcode.blogspot.com/2009/02/free-sql-code.html' title='free sql code'/><author><name>sabina</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2004185145920706361.post-4176958968260103117</id><published>2009-02-03T04:54:00.000-08:00</published><updated>2009-02-03T05:00:44.839-08:00</updated><title type='text'>use of checkbox</title><content type='html'>&lt;form method="post" action="index.php"&gt;&lt;br /&gt;Selection one&lt;input type="checkbox" name="selection[]" value="1"&gt;&lt;br/&gt;&lt;br /&gt;Selection two&lt;input type="checkbox" name="selection[]" value="2"&gt;&lt;br/&gt;&lt;br /&gt;Selection three&lt;input type="checkbox" name="selection[]" value="3"&gt;&lt;br/&gt;&lt;br /&gt;Selection four&lt;input type="checkbox" name="selection[]" value="4"&gt;&lt;br/&gt;&lt;br /&gt;Selection five&lt;input type="checkbox" name="selection[]" value="5"&gt;&lt;br/&gt;&lt;br /&gt;Selection six&lt;input type="checkbox" name="selection[]" value="6"&gt;&lt;br/&gt;&lt;br /&gt;Selection seven&lt;input type="checkbox" name="selection[]" value="7"&gt;&lt;br/&gt;&lt;br /&gt;&lt;input type="submit" value="monkey!" /&gt;&lt;br /&gt;&lt;/form&gt;&lt;br /&gt;&lt;?php&lt;br /&gt;if(!isset($_POST)) exit();&lt;br /&gt;$selections = (isset($_POST['selection']))?$_POST['selection']:NULL;&lt;br /&gt;$count = count($selections);&lt;br /&gt;if($count &gt; 5 ¦¦ $count &lt; 1) { //checks to see if they selected more than 5&lt;br /&gt;echo 'Danger Will Robinson!';&lt;br /&gt;exit();&lt;br /&gt;}&lt;br /&gt;$query = 'INSERT INTO table (attribute1,attribute2,attribute3,attribute4,attribute5) valueS (';&lt;br /&gt;$add = "'".implode("','",$selections)."'";&lt;br /&gt;for($i = 0; $i &lt; 5-$count; $i++) {&lt;br /&gt;$add .= ",NULL";&lt;br /&gt;}&lt;br /&gt;$query .= $add.')';&lt;br /&gt;echo $query;&lt;br /&gt;?&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2004185145920706361-4176958968260103117?l=nowfreephpcode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nowfreephpcode.blogspot.com/feeds/4176958968260103117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://nowfreephpcode.blogspot.com/2009/02/use-of-checkbox.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2004185145920706361/posts/default/4176958968260103117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2004185145920706361/posts/default/4176958968260103117'/><link rel='alternate' type='text/html' href='http://nowfreephpcode.blogspot.com/2009/02/use-of-checkbox.html' title='use of checkbox'/><author><name>sabina</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
