<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel>
	  <title>Ask MetaFilter questions tagged with php and database</title>
      <link>http://ask.metafilter.com/tags/php+database</link>
      <description>Questions tagged with 'php' and 'database' at Ask MetaFilter.</description>
	  <pubDate>Wed, 16 Jan 2013 13:56:00 -0800</pubDate> <lastBuildDate>Wed, 16 Jan 2013 13:56:00 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>Data Driven Clinical Care - Dynamic Graphing Website</title>
	<link>http://ask.metafilter.com/233292/Data%2DDriven%2DClinical%2DCare%2DDynamic%2DGraphing%2DWebsite</link>	
	<description>I would like advice on creating a dynamic graphing website to display clinical data on a intranet website to better aide clinicians. What my superiors are seeking is a &quot;Data Mall.&quot; My programming/server-admin. experience is minimal, but my Linux-hobbyist mentality &lt;i&gt; hates &lt;/i&gt; the MS Access solution that is being built. &lt;u&gt;The scene:&lt;/u&gt;&lt;br&gt;
&lt;br&gt;
So, our administrators have fallen in love with a concept that they have seen at a conference where clinicians could quickly and easily see a short list of their patients who have certain &apos;abnormal&apos; clinical values/conditions, or to rank themselves amongst other providers according to certain metrics. Etc. Some call it a &quot;Data Mall.&quot;&lt;br&gt;
&lt;br&gt;
Our senior data coordinator has done a great job of leveraging an MS Access database (pulled from our true clinical database) with a VB front-end to be accessed by all providers. But, it still kind of sucks. It takes a long time to load, and is just unwieldy to ask clinicians to use the Access front-end.&lt;br&gt;
&lt;br&gt;
&lt;u&gt;Me, and where I have gotten so far:&lt;/u&gt;&lt;br&gt;
&lt;br&gt;
I have previously setup my own LAMP CentOS server running MediaWiki just for fun, and was basically able to create a similar setup on a Windows PC using &quot;EasyPHP&quot;, on top of which I installed Mediawiki and found a script for making calls to &quot;&lt;strong&gt;Ploticus&lt;/strong&gt;&quot; from Mediawiki. I was able to display the simplest-of-simplest pie-charts on my wiki.&lt;br&gt;
&lt;br&gt;
&lt;u&gt;The heart of the matter:&lt;/u&gt;&lt;br&gt;
&lt;br&gt;
The problem is that this solution seems complex, especially since my PHP and SQL knowledge is limited. Would the best solution just to be to dig in and master this option? Any recommendations for starting points?&lt;br&gt;
&lt;br&gt;
Or is there another tool, method, etc. that I should be looking at?&lt;br&gt;
&lt;br&gt;
I realize that building this could almost be a full-time job, but like I said, part of me is just intrigued by the challenge, and part of me wants to impress the higher-ups. Still, maybe it is best left to the pros...?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2013:site.233292</guid>
	<pubDate>Wed, 16 Jan 2013 13:56:00 -0800</pubDate>
	<category>access</category>
	<category>clinical</category>
	<category>data</category>
	<category>database</category>
	<category>datamall</category>
	<category>graphing</category>
	<category>lamp</category>
	<category>linux</category>
	<category>mediawiki</category>
	<category>medical</category>
	<category>php</category>
	<category>ploticus</category>
	<category>sql</category>
	<category>windows</category>
	<dc:creator>rosswald</dc:creator>
	</item>
	<item>
	<title>SugarCRM or custom?</title>
	<link>http://ask.metafilter.com/219191/SugarCRM%2Dor%2Dcustom</link>	
	<description>Is SugarCRM a good contacts database solution for my wife&apos;s small business, given her current database and business needs? The backbone of my wife&apos;s business is her contacts database. Every communication that she and her employees have with her customers begins and ends there. She&apos;s currently using a custom-built PHP/MySQL web interface thing that a programmer friend of mine built as a way to teach himself PHP. He has since disappeared, and the database is in need of some maintenance (mostly bugfixes) and upgrades (GoogleMaps integration). &lt;br&gt;
&lt;br&gt;
The database itself is pretty simple. Each record has contact info, some checkboxes of various kinds, a &quot;call-scheduled&quot; date field, and a free-text phone log where they record the details of every interaction with their customers. Whatever she does going forward, she needs to be able to see all information for a given contact record on a single page, to search and filter the records based on multiple criteria, to export filtered lists to .csv (for email marketing), to apply changes to a given field of multiple records (say in a filtered list), etc.&lt;br&gt;
&lt;br&gt;
So one option would be to find a programmer who could take over the maintenance. Another programmer friend of mine, however, recommends that we look into SugarCRM. After poking around in the free trial, it seems like it&apos;s much more complex than what we&apos;re currently using. I gather that it can be customized, but I&apos;m not sure I would know where to begin. I don&apos;t even know where the information in the phone log field would go.&lt;br&gt;
&lt;br&gt;
However, Sugar seems to have ongoing support, regular upgrades, a community of people writing add-ons for it, etc. All of this could be of great benefit for us in the future (we won&apos;t be so hamstrung by our disappeared friend). Also, we want to add some GoogleMaps functions to the database, which might already be written for Sugar -- I&apos;m not sure how to gauge the time and expense of hiring someone to write that into our custom solution, but it seems like a mess waiting to happen. &lt;br&gt;
&lt;br&gt;
What do you think? What seems better in the long run? What information am I missing? Would it make sense to hire someone to migrate our MySQL database to the Community Edition of Sugar and customize it for our needs? I&apos;ve considered making a post in Jobs, but wanted to get community feedback first. If anybody knows Sugar inside and out, show forth! And thanks very much!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2012:site.219191</guid>
	<pubDate>Tue, 03 Jul 2012 17:57:27 -0800</pubDate>
	<category>database</category>
	<category>mysql</category>
	<category>php</category>
	<category>sugarcrm</category>
	<dc:creator>sleevener</dc:creator>
	</item>
	<item>
	<title>Connect to access with php</title>
	<link>http://ask.metafilter.com/205213/Connect%2Dto%2Daccess%2Dwith%2Dphp</link>	
	<description>How do I connect, dsn-free, to a passworded Access (.mdb) database with php (5.2.4)? Google throws up lots of methods - none seem to work.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2012:site.205213</guid>
	<pubDate>Mon, 09 Jan 2012 06:51:01 -0800</pubDate>
	<category>access</category>
	<category>database</category>
	<category>php</category>
	<dc:creator>monkey closet</dc:creator>
	</item>
	<item>
	<title>Please help me find the right back end solution</title>
	<link>http://ask.metafilter.com/192974/Please%2Dhelp%2Dme%2Dfind%2Dthe%2Dright%2Dback%2Dend%2Dsolution</link>	
	<description>Is PHP/MySQL the best solution for the back end programming of a job listing website? I&apos;m doing the web design/front end programming for a temp agency website. They have what appears to me to be fairly simple back end needs. Job applicants register through a form, and then login to search the jobs database or update their account information. Jobs are listed and de-listed by my client, who is not super computer literate, so a user-friendly form would be necessary. I want to make sure I am looking for the right type of programming. Any info on programming rates would also be helpful. Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2011:site.192974</guid>
	<pubDate>Tue, 09 Aug 2011 08:14:13 -0800</pubDate>
	<category>backend</category>
	<category>database</category>
	<category>mysql</category>
	<category>php</category>
	<category>resolved</category>
	<category>webprogramming</category>
	<dc:creator>ljshapiro</dc:creator>
	</item>
	<item>
	<title>Looking for an advanced web calendar</title>
	<link>http://ask.metafilter.com/170811/Looking%2Dfor%2Dan%2Dadvanced%2Dweb%2Dcalendar</link>	
	<description>A colleague is looking for a calendar to use on their training company&apos;s web site. They would like to pull from a PHP-driven database of their course outlines to display the course names on the appropriate dates in the calendar, with a link for each course listing on that date that would display the full course outline to the user when clicked. One or more courses could be offered on any given date. Is there a customizable product that you would recommend for the job, or are they looking at contracting someone to build this from scratch?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2010:site.170811</guid>
	<pubDate>Wed, 17 Nov 2010 14:56:22 -0800</pubDate>
	<category>calendar</category>
	<category>database</category>
	<category>php</category>
	<category>web</category>
	<category>webcalendar</category>
	<dc:creator>The True Wheel</dc:creator>
	</item>
	<item>
	<title>MSAccess, php and empty date/time fields</title>
	<link>http://ask.metafilter.com/167472/MSAccess%2Dphp%2Dand%2Dempty%2Ddatetime%2Dfields</link>	
	<description>How do I check (using php) the existence of data in a date/time field in an access database? I have to build some php pages around an access database (dsnless). No lectures please: I know how bad an idea this is; I don&apos;t have a choice!&lt;br&gt;
&lt;br&gt;
I&apos;m getting values out of a date/time field. The field isn&apos;t required. When values are there, it works fine. When they aren&apos;t, the whole thing just falls over. I can&apos;t find any way of testing whether it&apos;s there beforehand: is_null() comes up false whatever (empty() comes up true, even when there is data), any attempt to convert it to another type or look at its properties breaks it as well.&lt;br&gt;
&lt;br&gt;
I can&apos;t find a simple way to test whether there&apos;s data there or not. Any ideas?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2010:site.167472</guid>
	<pubDate>Mon, 11 Oct 2010 09:00:47 -0800</pubDate>
	<category>database</category>
	<category>datetime</category>
	<category>msaccess</category>
	<category>php</category>
	<category>resolved</category>
	<dc:creator>monkey closet</dc:creator>
	</item>
	<item>
	<title>How to make a database-driven website</title>
	<link>http://ask.metafilter.com/160130/How%2Dto%2Dmake%2Da%2Ddatabasedriven%2Dwebsite</link>	
	<description>Building a super-simple database-driven website, from scratch - where to start? I have a medium amount of experience in constructing MySQL databases, writing (offline) Python (and bash) scripts, and writing HTML... but only separately.&lt;br&gt;
&lt;br&gt;
I now want to setup a web server and make a very basic database-driven site, but I don&apos;t really know where to start. I was looking at coding it in Python but only because I know Python, but I don&apos;t know whether to start from scratch or use some kind of framework like Django, or even whether I should avoid Python altogether and look at PHP. (Since PHP seems to be the default choice for this kind of thing, and my (Ubuntu LAMP) web server already understand PHP files, but not Python files, for some reason.)&lt;br&gt;
&lt;br&gt;
Am I overlooking something? Where should I start?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2010:site.160130</guid>
	<pubDate>Wed, 21 Jul 2010 08:15:42 -0800</pubDate>
	<category>database</category>
	<category>development</category>
	<category>mysql</category>
	<category>php</category>
	<category>python</category>
	<category>resolved</category>
	<category>web</category>
	<dc:creator>Mwongozi</dc:creator>
	</item>
	<item>
	<title>Practical web programming books &amp;amp; resources?</title>
	<link>http://ask.metafilter.com/159596/Practical%2Dweb%2Dprogramming%2Dbooks%2Dand%2Dresources</link>	
	<description>Practical web programming books &amp;amp; resources for the ultimate goal of creating a niche community website. I&apos;ve been a web designer and technical writer for over 10 years. I&apos;m committed to the user experience and know HTML and CSS at the expert level. I write functional specifications with pseudo code for large web projects and typically design the database. Programmers often  come to &lt;i&gt;me&lt;/i&gt; to help them when logic and math get complicated.&lt;br&gt;
&lt;br&gt;
That being said, I do not know &quot;from-scratch&quot; &lt;b&gt;syntax&lt;/b&gt; and methodology. I can look at PHP and get the general gist of what is going on, edit a few queries... but that&apos;s about it. I regret not learning programming when I was younger and want to change that. Also, I would eventually like to build a few niche community sites for my own personal projects.&lt;br&gt;
&lt;br&gt;
I can get my feet wet with some general tutorial sites and books. But I&apos;d like to look ahead to bigger projects. And I learn best by &lt;b&gt;doing&lt;/b&gt;. Please recommend some programming books or other resources that provide practical, open-source examples for any or all of the following:&lt;br&gt;
&lt;br&gt;
* User credentials (creating accounts, password protecting info)&lt;br&gt;
* Financial transactions with a merchant gateway (ideally in a subscription system as opposed to a shopping cart)&lt;br&gt;
* Basic community-type sites -- for example, users can browse, search, post, rate, and comment on uploaded files&lt;br&gt;
* Basic collaborative events -- for example, a shared calendar&lt;br&gt;
* Optimizing database queries&lt;br&gt;
&lt;br&gt;
I have not decided on a framework yet... I suppose a lot of that would be colored by whatever resources I end up using.&lt;br&gt;
&lt;br&gt;
My holy grail is to find a resource that takes you through the creation of a membership-style, database-driven site from the ground up. I&apos;d love to go through a series of tutorials and end up with a real, practical project, rather than a smattering of &quot;hello world&quot; samples.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2010:site.159596</guid>
	<pubDate>Thu, 15 Jul 2010 12:16:10 -0800</pubDate>
	<category>database</category>
	<category>development</category>
	<category>mySQL</category>
	<category>php</category>
	<category>programming</category>
	<category>web</category>
	<dc:creator>Wossname</dc:creator>
	</item>
	<item>
	<title>How do I go about making a database app for the iPhone?</title>
	<link>http://ask.metafilter.com/153974/How%2Ddo%2DI%2Dgo%2Dabout%2Dmaking%2Da%2Ddatabase%2Dapp%2Dfor%2Dthe%2DiPhone</link>	
	<description>What is the best way to go about creating a simple iPhone database access application?  I&apos;m looking to create an application which, although it could be very easily done in a web-based manner through the combination of php and mysql, I&apos;d like the data to all be stored locally on the iPhone, in the app itself. Is there an API within the iPhone SDK for such a thing?  Is SQL even the best format for storing the data?  The database itself is very simple (see &lt;a href=&quot;http://img208.imageshack.us/img208/9892/databasestructure.jpg&quot;&gt;screenshot&lt;/a&gt; of structure) and the interface for recalling data will also be simple.  I intend to use scrolling wheel selectors for the user to select the five variables for the query (as per the hours and minutes in &lt;a href=&quot;http://img291.imageshack.us/img291/5563/scrollers.jpg&quot;&gt;this&lt;/a&gt; picture).&lt;br&gt;
&lt;br&gt;
I&apos;ve looked all over, and I&apos;ve seen a great many differing articles on how iPhones handle databases, but none of them are particularly clear.  Can anyone give me a straightforward answer to my problem?&lt;br&gt;
  &lt;br&gt;
Essentially, I&apos;m looking to run a php/mysql database locally on the iPhone with a minimalist interface.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2010:site.153974</guid>
	<pubDate>Sun, 16 May 2010 05:45:22 -0800</pubDate>
	<category>database</category>
	<category>iphone</category>
	<category>mysql</category>
	<category>php</category>
	<category>programming</category>
	<category>resolved</category>
	<category>sdk</category>
	<dc:creator>Biru</dc:creator>
	</item>
	<item>
	<title>How can I use php to index a site using keywords?</title>
	<link>http://ask.metafilter.com/150423/How%2Dcan%2DI%2Duse%2Dphp%2Dto%2Dindex%2Da%2Dsite%2Dusing%2Dkeywords</link>	
	<description>Looking for information on developing/finding a php script to generate a Site Index (A - Z index). My boss wants an A-Z index of our site of approximately 200 pages.  He wants as many common words/descriptions of services in the index as possible.  Obviously this would be nightmare to manually generate and maintain.&lt;br&gt;
&lt;br&gt;
I was thinking of developing an automated solution along the lines of using key-words/tags on all pages to be indexed and then running a script to read all the pages in the site and deposit the key-words/tags and respective urls into a database.  Then build the A-Z index using a script to draw the page using data from the db.  I&apos;m most familiar with php and would like to use it to spider the site.&lt;br&gt;
&lt;br&gt;
I&apos;m OK on all fronts except the spidering script.  Can anyone steer me in the right direction with this idea?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2010:site.150423</guid>
	<pubDate>Tue, 06 Apr 2010 07:05:48 -0800</pubDate>
	<category>database</category>
	<category>index</category>
	<category>php</category>
	<category>resolved</category>
	<category>scrip</category>
	<category>site</category>
	<category>siteindex</category>
	<dc:creator>lyam</dc:creator>
	</item>
	<item>
	<title>MySQL and PHP suggestions for beginner?</title>
	<link>http://ask.metafilter.com/143493/MySQL%2Dand%2DPHP%2Dsuggestions%2Dfor%2Dbeginner</link>	
	<description>I am looking for suggestions for inexpensive online or real life courses, books, or web sites that will help a friend learn MySQL and PHP. Hello,&lt;br&gt;
&lt;br&gt;
I have a friend in Dudley, UK who would like to get ino database development, MySQL in particular.  He also would like to know at least the essentials of a scripting language such as PHP in order to be able to create web sites that can interact with any databases he creates.&lt;br&gt;
&lt;br&gt;
Thus far he has made progress learning data modeling concepts, but is a bit stuck in implementing them by actually building a database in MySQL (though he does seem to now have a working installation of MySQL on Fedora).  &lt;br&gt;
&lt;br&gt;
He recently took the &quot;Introduction to Database Design&quot; course from eclasses.org.  Although he definitely learned from the experience, a class with more feedback would be preferable.  I was able to help him some because I am a web developer and pretty solid on data design concepts.  But I will be able to help him less as he gets into MySQL because I have almost no experience with that db.&lt;br&gt;
&lt;br&gt;
I know there are free resources on the web, but since neither of us is that familiar with MySQL, we don&apos;t know which resources are best.  And we also think that taking a course or following a lesson plan will help him more initially by giving him a specific path to follow, rather than trying to wade through the tremendous amounts of info online.&lt;br&gt;
&lt;br&gt;
We are looking for suggestions for inexpensive online or real life courses, books, or web sites that will help him learn MySQL and then PHP.  And more generally, any suggestions you might have for what to focus on, what to watch out for, etc.  I also think it might help for him to be able to ask the occasional question of someone who is truly knowledgable in MySQL and/or PHP.  &lt;br&gt;
&lt;br&gt;
These are the books he has in his possession thus far: Databases Demystified by Andy Opel, PHP6 &amp;amp; MySQL by Larry Ullman, and MySQL pocket reference by George Reese.&lt;br&gt;
&lt;br&gt;
Thank you so much for any suggestions!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2010:site.143493</guid>
	<pubDate>Mon, 18 Jan 2010 05:52:34 -0800</pubDate>
	<category>database</category>
	<category>databases</category>
	<category>MySQL</category>
	<category>opensource</category>
	<category>PHP</category>
	<category>webdevelopment</category>
	<dc:creator>parrot_person</dc:creator>
	</item>
	<item>
	<title>How do I convert checkbox results to numbers?</title>
	<link>http://ask.metafilter.com/112977/How%2Ddo%2DI%2Dconvert%2Dcheckbox%2Dresults%2Dto%2Dnumbers</link>	
	<description>Can anyone give me advice on dealing with checkboxes in PHP, to hand off to SQL. Apologies for the sheer noobness of the question...&lt;br&gt;
&lt;br&gt;
I have a form with, among other things, some checkboxes on. I want to hand off the checkbox results, and convert them to a boolean field (1 or 0) for the SQL database. &lt;br&gt;
But I cannot, no matter how much googling I do, find a way to do it.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.112977</guid>
	<pubDate>Fri, 30 Jan 2009 10:32:03 -0800</pubDate>
	<category>database</category>
	<category>php</category>
	<category>resolved</category>
	<category>sql</category>
	<dc:creator>opsin</dc:creator>
	</item>
	<item>
	<title>Online collaborative database front end</title>
	<link>http://ask.metafilter.com/103477/Online%2Dcollaborative%2Ddatabase%2Dfront%2Dend</link>	
	<description>I need a front end for an online database of contacts, the easier the better. My wife has a contacts database with about 1700 records in it. It&apos;s currently in Access. We want to put it online so that it can be collaborative without having to constantly resave and email it back and forth between collaborators. (Access is reshuffling the records, which is causing problems; this may be due to one collaborator using Access 2007 and the other using Access 2000, is that possible?)&lt;br&gt;
&lt;br&gt;
I know a database wizard who is willing to help us set this all up, because I don&apos;t know what I&apos;m doing, but so far we haven&apos;t had much luck finding a front end that will:&lt;br&gt;
&lt;br&gt;
- be easily customizable (add and rearrange fields, etc, without writing extra code), &lt;br&gt;
-feature user logins and passwords, &lt;br&gt;
-do filters, sorts, and queries or whatever (like Access does). &lt;br&gt;
&lt;br&gt;
My database wizard friend and I have looked at other AskMe threads about this, but haven&apos;t been able to find what we&apos;re looking for. I want to find something free, but I think we&apos;d be willing to pay a little bit (~$50) for something simple and functional. I am also willing to spend a little money on a rent-a-coder, but I don&apos;t even know what I&apos;d be asking for or how much it might cost. Any and all help is appreciated; thanks.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.103477</guid>
	<pubDate>Sun, 05 Oct 2008 15:20:32 -0800</pubDate>
	<category>database</category>
	<category>mysql</category>
	<category>online</category>
	<category>php</category>
	<dc:creator>sleevener</dc:creator>
	</item>
	<item>
	<title>PHP/MySQL Database solution for newbie?! </title>
	<link>http://ask.metafilter.com/99442/PHPMySQL%2DDatabase%2Dsolution%2Dfor%2Dnewbie</link>	
	<description>I usually design sites using either plain html/css or Wordpress for its CMS capabilities.

However, one client has just asked if there can be a database on his site, which they can add to and visitors/members of the site can purchase &quot;entities&quot; from.

This obviously needs a database with a usable front-end for the client and an ability to connect to a payment gateway to purchase &quot;entities&quot;.

Can anyone help advise on a PHP/MySQL package to do this? I do not have the skills to build a database from scratch (I plan to learn, but cannot do so in the timescales needed for this potential assignment), and I&apos;m presuming there must be a solution out there...</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.99442</guid>
	<pubDate>Mon, 18 Aug 2008 02:28:42 -0800</pubDate>
	<category>database</category>
	<category>mysql</category>
	<category>php</category>
	<dc:creator>wibbler</dc:creator>
	</item>
	<item>
	<title>PerHaPs SeQuentiaLly?</title>
	<link>http://ask.metafilter.com/90482/PerHaPs%2DSeQuentiaLly</link>	
	<description>Which version of PHP should I start to learn, and how? I know HTML and CSS, and intend to build with Drupal (or similar) and its many extensions. I&apos;ve decided to start learning PHP, and I&apos;d like to do it right. My end goal, for this initial project, is to ultimately build a Metafilter-like site with PHP and MySQL, perhaps with something like Drupal on top of it. I&apos;d like to have a strong sense - if not a complete understanding - of each layer of the process, but I need some direction. &lt;br&gt;
&lt;br&gt;
I do well with books and videos (rather than pdfs or websites), but in browsing Amazon, I realize I don&apos;t know if should be reading about PHP 5 or 6 - as I expect most of the modules I&apos;ll want are only 5-friendly. Any advice? Are there specific Dummies, and Dummies-like books you can recommend? Ideally, it will also cover MySQL. I&apos;m also open to books on Drupal, if they&apos;re any good. Does anyone have feedback on the Lynda videos? &lt;br&gt;
&lt;br&gt;
So:&lt;br&gt;
Learn PHP 5 or 6?&lt;br&gt;
How?&lt;br&gt;
&lt;br&gt;
Finally, a bonus question: I&apos;m certainly going to have many questions going forward - from installation right on. Can you recommend a good resource for someone at my level? I know there is certainly no dearth of forums (fora?), but I&apos;m looking for the BEST one to devote myself to and invest in.&lt;br&gt;
&lt;br&gt;
&lt;small&gt; (I have spent days looking through previous threads - they do exist, but they&apos;re either old or not exactly on-target). &lt;/small&gt;</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.90482</guid>
	<pubDate>Sun, 04 May 2008 05:45:22 -0800</pubDate>
	<category>database</category>
	<category>drupal</category>
	<category>dummies</category>
	<category>mysql</category>
	<category>n00b</category>
	<category>php</category>
	<category>programming</category>
	<category>sql</category>
	<category>wannabe</category>
	<dc:creator>prophetsearcher</dc:creator>
	</item>
	<item>
	<title>SQL sorting when sort field is null</title>
	<link>http://ask.metafilter.com/90417/SQL%2Dsorting%2Dwhen%2Dsort%2Dfield%2Dis%2Dnull</link>	
	<description>MySQL sorting issue. When I have &quot;first name&quot; and &quot;last name&quot; columns, and I&apos;m sorting primarily by &quot;last name.&quot; Some entries have only a &quot;first name,&quot; and rather than have those end up at either the start or end of the sort, I&apos;d like it to pretend the &quot;first name&quot; IS the &quot;last name&quot; and sort accordingly. Is there a way to do this with the SQL SELECT statement or should I just edit the data? So, I&apos;ve got this list of names like:&lt;br&gt;
&lt;br&gt;
Ron&lt;br&gt;
Bill Smith&lt;br&gt;
Adam Jones&lt;br&gt;
Steve Washington&lt;br&gt;
&lt;br&gt;
They&apos;re split up into &quot;firstName&quot; &quot;lastName&quot; fields.  For purposes of the webpage they&apos;re getting displayed on, I&apos;m concatenating them into a single &quot;fullName&quot; field, and will be sorting &quot;ORDER BY lastName.&quot;  Except a few names only have &quot;firstName.&quot;  Left alone, MySQL seems to put those at the beginning of the list, and I&apos;ve seen some info on ways to push them to the bottom - but what I want, is when &quot;lastName is null&quot; to have it use &quot;firstName&quot; instead, so that the list above would end up:&lt;br&gt;
&lt;br&gt;
Adam Jones&lt;br&gt;
Ron&lt;br&gt;
Bill Smith&lt;br&gt;
Steve Washington&lt;br&gt;
&lt;br&gt;
I realize one option would be to just edit the data and wherever there&apos;s a first name only to move that into the &quot;last name&quot; field (because once concatenated the displayed name will be the same) but that just seems like a bad solution in the long term, if there&apos;s a way to make the SQL do this for me.&lt;br&gt;
&lt;br&gt;
(I&apos;m pretty new to MySQL so forgive me if there&apos;s some obvious answer. I&apos;ve searched forums via Google but I can&apos;t find questions quite like this.)</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.90417</guid>
	<pubDate>Fri, 02 May 2008 19:09:20 -0800</pubDate>
	<category>database</category>
	<category>MySQL</category>
	<category>PHP</category>
	<category>sorting</category>
	<category>SQL</category>
	<dc:creator>dnash</dc:creator>
	</item>
	<item>
	<title>But I don&apos;t want to learn .NET!</title>
	<link>http://ask.metafilter.com/86682/But%2DI%2Ddont%2Dwant%2Dto%2Dlearn%2DNET</link>	
	<description>How can I connect to a SQL Server 2005 database using windows authentication with PHP?  I&apos;m working on a small PHP/MSSQL application at work, but I can only connect to the database server using windows authentication and I can&apos;t figure out how to make that happen.  Is it even possible?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.86682</guid>
	<pubDate>Thu, 20 Mar 2008 16:01:23 -0800</pubDate>
	<category>database</category>
	<category>mssql</category>
	<category>php</category>
	<dc:creator>logic vs love</dc:creator>
	</item>
	<item>
	<title>Database application freelancer seeking programming language advice</title>
	<link>http://ask.metafilter.com/86020/Database%2Dapplication%2Dfreelancer%2Dseeking%2Dprogramming%2Dlanguage%2Dadvice</link>	
	<description>I&apos;m planning on starting a database freelancing business. I understand a lot of people prefer Microsoft Access or FileMaker. With the current evolving trend of applications going on the web and add to that my somewhat good experience with PHP, HTML, Javascript and CSS I&apos;m seeking a cross platform efficient application environment. This is why I believe Access and FileMaker are not an option, I&apos;m also more experienced with high level languages than I am with Access or FileMaker. I am currently looking into alternatives. I have been looking at different frameworks and toolkits. These are generally what I have come up with;&lt;br&gt;
&lt;br&gt;
- &lt;a href=&quot;http://gtk.php.net/&quot;&gt;PHP-GTK&lt;/a&gt; (Required &lt;a href=&quot;http://www.gtk.org/&quot;&gt;GTK+&lt;/a&gt; and &lt;a href=&quot;http://php.net/&quot;&gt;PHP&lt;/a&gt;)&lt;br&gt;
- &lt;a href=&quot;http://www.python.org/&quot;&gt;Python&lt;/a&gt; (With &lt;a href=&quot;http://wxpython.org/&quot;&gt;wxPython&lt;/a&gt;/&lt;a href=&quot;http://www.pygtk.org/&quot;&gt;pyGTK&lt;/a&gt;)&lt;br&gt;
- &lt;a href=&quot;http://www.perl.org/&quot;&gt;Perl&lt;/a&gt; (Perl/Tk)&lt;br&gt;
&lt;br&gt;
All those options and similar and require a toolkit and or an interpreter to be installed on the system to work. I&apos;m looking for a cleaner (and possibly compiled or packaged) applications. So I came across other tools such as;&lt;br&gt;
&lt;br&gt;
- Mozilla Gecko (&lt;a href=&quot;http://wiki.mozilla.org/XUL:Xul_Runner&quot;&gt;XULRunner&lt;/a&gt;)&lt;br&gt;
- &lt;a href=&quot;http://www.adobe.com/products/air/&quot;&gt;Adobe Air&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Those seem like the most viable options, however, it would be best if the code was compiled, since each of these applications require a lot of virtual memory. Lastly, I came across &lt;a href=&quot;http://boo.codehaus.org/&quot;&gt;boo&lt;/a&gt; and &lt;a href=&quot;http://www.mono-project.com/Main_Page&quot;&gt;mono&lt;/a&gt;. I like the idea a lot, however there is still the issue of writing and compiling boo code. I only got introduced to boo yesterday.&lt;br&gt;
&lt;br&gt;
I&apos;m very reluctant about getting into Java, C, C++, or C# simply because of the complexity of it compared to the languages above. However, if you have another opinion please feel free to share. I&apos;m open to ideas and criticism. &lt;br&gt;
&lt;br&gt;
I&apos;m confused as to what would be my best option here for a cross platform programming language and framework/toolkit (GUI) for creating portable database (and possible Point of Sale) applications for my town&apos;s local small businesses. What would you recommend?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.86020</guid>
	<pubDate>Thu, 13 Mar 2008 02:34:51 -0800</pubDate>
	<category>boo</category>
	<category>code</category>
	<category>database</category>
	<category>framework</category>
	<category>gtk</category>
	<category>mono</category>
	<category>perl</category>
	<category>php</category>
	<category>programming</category>
	<category>python</category>
	<category>toolkit</category>
	<dc:creator>mrbloo</dc:creator>
	</item>
	<item>
	<title>Need to know who I&apos;m president of!</title>
	<link>http://ask.metafilter.com/83373/Need%2Dto%2Dknow%2Dwho%2DIm%2Dpresident%2Dof</link>	
	<description>I&apos;m looking for a way to organize a list of members of my neighborhood association, preferably something web-based, but that doesn&apos;t require the actual members to log in. I&apos;m the (new) president of my neighborhood association, and our membership database is, well, a nightmare. As in: a laundry hamper full of slips of paper at the treasurer&apos;s house. Plus I have a small stack of sign-in sheets from our general meetings.&lt;br&gt;
&lt;br&gt;
I would really like to get something together to track who&apos;s paying dues, who comes to meetings, etc.&lt;br&gt;
&lt;br&gt;
I started playing with a spreadsheet last year, but I couldn&apos;t figure out a good way to record years of membership and meetings attended, especially over more than a year or two.&lt;br&gt;
&lt;br&gt;
I would love to have something web-based that I could just hand off to future board members without worrying about what kind of computer/software they have. &lt;br&gt;
&lt;br&gt;
Our current web setup is LAMP, with some flexibility of what we can install/run. I have enough PHP expertise that I can definitely futz around with something close but not quite, but would prefer not to have to do a ton of work or write the whole dang thing myself. Something that interops with WordPress would be nifty but in no way necessary.&lt;br&gt;
&lt;br&gt;
Most of my searches thus far have turned up things for managing membership of a web site, which is entirely NOT what I&apos;m looking for. &lt;br&gt;
&lt;br&gt;
Hive mind, can you help?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.83373</guid>
	<pubDate>Mon, 11 Feb 2008 11:59:07 -0800</pubDate>
	<category>association</category>
	<category>club</category>
	<category>database</category>
	<category>membership</category>
	<category>php</category>
	<dc:creator>epersonae</dc:creator>
	</item>
	<item>
	<title>XML vs. Serialization</title>
	<link>http://ask.metafilter.com/81363/XML%2Dvs%2DSerialization</link>	
	<description>For database usage, is it better to store data in XML or serialized format?  In particular, PHP serialization. PHP serializing has this length attribute that makes manually typing out an entry a pain, but maybe that makes it render quicker than XML parsing?  Are there any other features down the road that might be affected?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.81363</guid>
	<pubDate>Fri, 18 Jan 2008 15:35:35 -0800</pubDate>
	<category>database</category>
	<category>efficiency</category>
	<category>php</category>
	<category>xml</category>
	<dc:creator>destro</dc:creator>
	</item>
	<item>
	<title>MySQL Query from 2 Tables?</title>
	<link>http://ask.metafilter.com/80375/MySQL%2DQuery%2Dfrom%2D2%2DTables</link>	
	<description>How do I query data from one MySQL table, but I also need to get a single piece of data from a second table too? Should I be doing a JOIN, or a separate query? I&apos;m a self-taught, on-the-fly, make-it-work PHP/MySQL coder. Do little easy side projects, with basic MySQL queries, so this might be a &apos;duh&apos; answer, but I don&apos;t really get it.&lt;br&gt;
&lt;br&gt;
So I&apos;m registering people for our class reunion. Their data gets entered into the &apos;users&apos; table. They can buy tickets online through Paypal, which is linked to their users.id ID, but their Paypal purchase info is stored in the &apos;paypal&apos; table. (An extra field in the paypal table lists their users.id ID.)&lt;br&gt;
&lt;br&gt;
In the directory page that basically does a while() loop to display everyone&apos;s information with a basic SELECT * FROM &apos;users&apos; query, I&apos;d like to be able to also show which people have purchased tickets. The way I&apos;m doing it now is having the Paypal script ALSO write to the users table to make users.tickets = 1 where id=X, which works fine, but there must be a more elegant way to do this from just one SELECT query involving both tables, right? &lt;br&gt;
&lt;br&gt;
I tried something like SELECT users.*, paypal.purchaseduserid FROM users, paypal ,  but that was screwing up the loop. I basically need to display all the data from the user field, but if the paypal table also has the purchaseduserid in it that matches the current user.id, echo &quot;blah&quot;. Thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.80375</guid>
	<pubDate>Mon, 07 Jan 2008 09:07:58 -0800</pubDate>
	<category>database</category>
	<category>databasequery</category>
	<category>mysql</category>
	<category>php</category>
	<dc:creator>gramcracker</dc:creator>
	</item>
	<item>
	<title>All months, now.</title>
	<link>http://ask.metafilter.com/76366/All%2Dmonths%2Dnow</link>	
	<description>Sum of data for all months, including months with no rows, in MySQL? Hi, I&apos;ve come across this problem a few times, and here&apos;s the thing:&lt;br&gt;
&lt;br&gt;
I&apos;ll do a query, for instance, SUM(distance) for each month, group by month. This&apos;ll give me results with the sum of distance for each month with rows. But I&apos;d like to present the sums of all months, including non-active months. So far my only option seems to be to create an array of months in PHP, iterate through that, and, for each month, search for a result in the MySQL query result. This works, but is there a cleaner design pattern, or a MySQL trick that might come in handy?&lt;br&gt;
Thanks for any help.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.76366</guid>
	<pubDate>Thu, 15 Nov 2007 13:28:27 -0800</pubDate>
	<category>aggregate</category>
	<category>data</category>
	<category>database</category>
	<category>functions</category>
	<category>mysql</category>
	<category>php</category>
	<category>sql</category>
	<category>sum</category>
	<dc:creator>tmcw</dc:creator>
	</item>
	<item>
	<title>Bootleg Management with WordPress?</title>
	<link>http://ask.metafilter.com/71703/Bootleg%2DManagement%2Dwith%2DWordPress</link>	
	<description>WordPressFilter: Can I do something like &lt;a href=&quot;http://www.boojiboysbasement.com&quot;&gt;this site&lt;/a&gt; with WordPress? I&apos;m the webmaster for Booji Boy&apos;s Basement, a Devo bootleg trading site. Right now, everything that is done on the site is handled through 100% static HTML pages. I tried coding a database-driven version of the site in PHP and MySQL, but my code-fu is weak. This is one reason why I no longer study Computer Science... anyway...&lt;br&gt;
&lt;br&gt;
I realize that WordPress might be able to let me have all the functionality I need without the need for a lot of coding. I have some technical questions about how to go about it.&lt;br&gt;
&lt;br&gt;
I know WordPress has support for custom fields, but would it be possible to have those custom fields visible at all times on the new post page? If I, or my co-conspirator Alex want to add a new disc to the collection, I would want the various fields that need to be filled in (Tracklist, Rating, Description, etc.) to be visible.&lt;br&gt;
&lt;br&gt;
How would I sort by the disc identifier? (A001, S001, I001, etc.) Should that be a separate custom field?&lt;br&gt;
&lt;br&gt;
Also, I have NO clue how to handle the DVD screenshots.&lt;br&gt;
&lt;br&gt;
If you have any suggestions, or even better, an off-the-shelf thing I could use to do this, please let me know. It&apos;s already become insanely unwieldy to deal with all the HTML... I&apos;m lost!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.71703</guid>
	<pubDate>Sun, 16 Sep 2007 20:24:52 -0800</pubDate>
	<category>database</category>
	<category>mysql</category>
	<category>php</category>
	<category>web</category>
	<category>wordpress</category>
	<dc:creator>SansPoint</dc:creator>
	</item>
	<item>
	<title>Ahhh, now thats refreshing!</title>
	<link>http://ask.metafilter.com/68937/Ahhh%2Dnow%2Dthats%2Drefreshing</link>	
	<description>How do I make sure a page loads with a fresh copy and not from the users cache? I am working on a small site. It is basically just a single message board. The page has a form where people can enter some text and their name and hit submit. Below the form is the message list.&lt;br&gt;
&lt;br&gt;
The form sends its data to a PHP script which cleans the text a bit and then adds it to a MySQL DB. It then uses a &quot;Location: &apos;main.php&apos;&quot; command to go back to the main page. The main page with the form is just a short PHP script that queries the DB and displays all the results.&lt;br&gt;
&lt;br&gt;
The problem is, on some computers (my work computer for instance) after adding a message using the form, when it sends them to the main page it shows a cached copy of the main page, and so their message isnt visible. Hitting &quot;refresh&quot; will reload the page and their message is then visible.&lt;br&gt;
&lt;br&gt;
How do I go about forcing the page to &quot;refresh&quot; every time it is vistited, or at the very least, after the form has been submitted? Any help you guys can provide would be most appreciated!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.68937</guid>
	<pubDate>Thu, 09 Aug 2007 11:11:58 -0800</pubDate>
	<category>database</category>
	<category>html</category>
	<category>php</category>
	<category>webpage</category>
	<dc:creator>LoopyG</dc:creator>
	</item>
	<item>
	<title>Other frameworks akin to Ruby on Rails?</title>
	<link>http://ask.metafilter.com/66406/Other%2Dframeworks%2Dakin%2Dto%2DRuby%2Don%2DRails</link>	
	<description>What are the best database-driven Web application development frameworks out there right now?  More specifically, please orient me to toolsets you know of that are similar to Ruby on Rails. I have a couple of database-oriented Web applications I&apos;ll be working on in the near future.  I&apos;d love to avoid (re)writing lots of the low-level code (recordset handling, security, user input validation, &amp;amp;c, &amp;amp;c, &amp;amp;c ) that every such application needs in order to function, as I&apos;ve done numerous times in the past.  Rather than dust off some of my own home-rolled libraries, I&apos;d rather take the time to choose and learn one of the integrated open-source frameworks that have come into being over the past few years.&lt;br&gt;
&lt;br&gt;
I know of Ruby on Rails, obviously, and have heard of a a couple of python-based frameworks that seem philosophically similar to RoR.  Please note that I&apos;m totally language-agnostic -- I&apos;m quite handy with all the languages that form the &quot;P&quot; in &quot;LAMP&quot; and with some others as well, but I don&apos;t mind picking up some new syntax if it&apos;ll simplify my development task in the end.  &lt;br&gt;
&lt;br&gt;
Help me understand my options!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2007:site.66406</guid>
	<pubDate>Fri, 06 Jul 2007 16:14:49 -0800</pubDate>
	<category>apache</category>
	<category>database</category>
	<category>development</category>
	<category>LAMP-4-lyfe</category>
	<category>mysql</category>
	<category>perl</category>
	<category>php</category>
	<category>python</category>
	<category>ruby</category>
	<category>software</category>
	<category>Web</category>
	<category>Web2.0</category>
	<category>webapplication</category>
	<dc:creator>killdevil</dc:creator>
	</item>
	
	</channel>
</rss>

