March 29th, 2012 08:26 AM
I've now fixed the memory issue because I found a problem where the root element - 1 was linking to itself so I changed it to null. It now prints the right data except wherever there are child...
March 29th, 2012 08:02 AM
I've been trying to do a recursive function and I just can't get my head around the logic of it. I've been reading an article on PHP recursion but can't seem to make it work myself.
Basically I...
March 24th, 2011 12:19 PM
I've just spent 4 months on a php and Code Igniter project and it's now gone live. Is it possible to talk about this anywhere on the forum or would it be considered spam?
January 9th, 2011 08:06 AM
January 2nd, 2011 04:17 PM
I have a query here involving LEFT JOIN which works fine but I need to add cats c (categories) and subcats s (subcategories).
I'll post the background to the original problem here:
Fixes has...
November 23rd, 2010 11:22 AM
Nice idea. This would be something to implement if the website got very popular (optimistic scenario). I just always wonder about have multiple queries in a page. 9 for for the cats and subcats, then...
November 18th, 2010 07:57 AM
The cat_id and subcat_id are pks so I would think that they will be indexes automatically? The cats table only has 8 categories and the subcats table only has 50 or so rows. But this is the homapge...
November 17th, 2010 10:58 AM
Thanks that worked great. The only thing I'm a little concerned about is that this is on the homepage and there are now 9 db queries for the categories section alone. Won't this slow it down a bit?
November 17th, 2010 08:37 AM
There are no master pages in PHP, you really just create template files and include them into your documents. However, if you use a framework such as Code Igniter then you have access to the MVC...
November 17th, 2010 08:31 AM
By the way I'm using MySQL 5.0.41, PHP 5.2.3 and Apache 2.2.10 on Windows XP SP3.
November 16th, 2010 03:21 PM
Hi, haven't been here in ages. I have an issue with PHP when trying to print out an object of values from my database. The values are categories actually which appear in groups.
The html looks...
January 13th, 2010 01:01 PM
I now have a new problem with code behind files. None of the controls inside my aspx file are recognised inside the code behind file.
Code Behind
using System;
using System.Data;
using...
January 13th, 2010 11:49 AM
Hi. I've just started learning .net with VB and C#. I'm trying to use Code Behind files but the problem I'm having is that I can't create them automatically. I'm using Visual Studio 2008...
November 2nd, 2009 06:22 AM
I set up a website a while ago to help me get work and I've put all my previous websites on there to help me promote it. But now my old boss who sacked me is now being doubly nice by threatening...
January 7th, 2009 10:33 AM
January 6th, 2009 10:35 AM
I'm building an Affiliate marketing website which provides lists of quotes for credit cards, travel insurance, mortgages etc. I need to be able to link the list of credit card rates to a live rates...
November 21st, 2008 05:25 PM
I'm trying to validate some textareas but I'm coming up aggainst a problem with the newline chars. For some reason eregi, which is function I'm using can't cope with \n. People have told me to use \s...
October 28th, 2008 04:10 PM
Thanks for the info, that really cleared it up.
October 28th, 2008 11:03 AM
So how do any number of applications such as browsers request info? Surely the web is all port 80 or 81 I think. I know that ports are used to decide where the information should go and that it's one...
October 27th, 2008 10:54 AM
SOLUTION HERE
I finally found the solution. The answer is that something else is already linked to port 80 on your machine preventing anything else from binding to that port. (I don't pretend to...
October 27th, 2008 10:19 AM
I've never found they ever work. Usually I restart the machine and it tells me it's just failed. I can't say I've ever got one to work.
--Edited--
What I can't understand is why is it trying to...
October 27th, 2008 09:58 AM
Everything was fine with my Apache installation. I was coding websites in PHP with using MySQL. I turned on my PC today however and the whole thing is broken. I haven't changed any configuration...
September 27th, 2008 05:26 PM
I'm trying to get some rows from 2 separate columns and treat them as one field. For example, prop.title has 5 rows, tickets.title has 10 rows, I want to make a new field called main_title which has...
April 25th, 2008 09:45 AM