Search found 6 matches

by AS_Platinum
Tue Jun 06, 2006 3:52 pm
Forum: PHP - Code
Topic: PHP Conundrum
Replies: 2
Views: 671

Code: Select all

mysql_insert_id();
is what your after if i'm reading what your saying correctly, declare $input=mysql_insert_id(); after your insert statement.

HTH
by AS_Platinum
Mon May 29, 2006 4:17 pm
Forum: PHP - Code
Topic: Recursive php menu function not playing ball.. SOLVED
Replies: 7
Views: 780

**Agrees With Bill H**
In what way. Or do I need to write another essay?

This is going far too OT.
by AS_Platinum
Sat May 27, 2006 9:57 pm
Forum: PHP - Code
Topic: Recursive php menu function not playing ball.. SOLVED
Replies: 7
Views: 780

I don't have much sympathy with that statement. "Messy" code often doesn't work. Lazy people write messy code and don't clean it up before posting it and asking for help. People with discipline clean it up first, and often don't have to ask for help because cleaning up the mess removed th...
by AS_Platinum
Sat May 27, 2006 9:46 am
Forum: PHP - Code
Topic: Recursive php menu function not playing ball.. SOLVED
Replies: 7
Views: 780

okay I sorted it now, Code is messey at the moment and will clean it up later, code as follows: function rebuild_links2($x = 0, $a, $tmp) { $mysql = new MySql(); $result = $mysql->query("SELECT * FROM menu_tree WHERE template='".$tmp."' AND parent_id= '".$x."' ORDER BY homep...
by AS_Platinum
Sat May 27, 2006 8:30 am
Forum: PHP - Code
Topic: Recursive php menu function not playing ball.. SOLVED
Replies: 7
Views: 780

Recursive php menu function not playing ball.. SOLVED

Ok here it is guys, what I'm trying to do here is create an unordered list with all the menu items in their relevent positions, the function works fine if I replace $output to echo, but seeing as I don't want this function run every time someone visits the website I just want it run on the admin sid...
by AS_Platinum
Mon Apr 04, 2005 2:28 pm
Forum: PHP - Code
Topic: EPDQ
Replies: 1
Views: 269

EPDQ

Has anyone had any dealing with Barcleys EPDQ at all? (i've googled and googled and theres not much real decent documentation) I am currently working on a project for a client and they are insisting on using EPDQ, ok fair enough! But quite frankly EPDQ's documentation is somewhat carp, i'm not askin...