Search found 6 matches

by php_matt_k
Tue Feb 03, 2004 6:01 pm
Forum: Databases
Topic: Sql Select Query
Replies: 0
Views: 319

Sql Select Query

I need help with a select query. I have a database of products. Each product has a category, and a sold field. There are say.. 10 products per category. I need a sql statement that will give me a set of random unique products, 1 from each category, and order the whole set by the count sold. Can this...
by php_matt_k
Fri Dec 19, 2003 4:34 pm
Forum: PHP - Code
Topic: Function Problem php3/4
Replies: 3
Views: 1909

Yeah, I figured it out. I just put all the function definitions at the top of the page, and it worked fine. I WISH i could upgrade it to 4. I was contracted to fix this guys site.. and he has an earthlink server.. its crap.. the ftp is slow as smurf.. the control panel is next to worthless.. thats I...
by php_matt_k
Thu Dec 18, 2003 10:39 pm
Forum: PHP - Code
Topic: Function Problem php3/4
Replies: 3
Views: 1909

Function Problem php3/4

Ok, this is wierd. On my dev box.. i have a few functions for a login script.. and they work fine..i can call them and run them.. Its running apache php4.xxx... then.. when i run the exact same thing on the server, which is running php3.xxx I get the error: Fatal error: Call to unsupported or undefi...
by php_matt_k
Thu Nov 06, 2003 5:59 pm
Forum: PHP - Code
Topic: [SOLVED] Session Problem
Replies: 3
Views: 543

Whew... problem solved FINALLY.. i had a few friends try and go to the link.. to see what'd happen.. and they had NO problems.. so i figured somthing was wrong with my browser.. i made sure that my cookies and session cookies were enabled.. and they were.. no luck still.. so i decided to get SP1 for...
by php_matt_k
Thu Nov 06, 2003 5:34 pm
Forum: PHP - Code
Topic: [SOLVED] Session Problem
Replies: 3
Views: 543

i did that already... and i figured somthing else out too.. it works for EVERYONE else but me... i had a few people visit the link and tell me what happened.. and it works fine.. somthing is up with my browser.. i have all the security stuff to low.. so it can do whatever it wants.. and i have the s...
by php_matt_k
Thu Nov 06, 2003 3:47 pm
Forum: PHP - Code
Topic: [SOLVED] Session Problem
Replies: 3
Views: 543

[SOLVED] Session Problem

I have a problem with my sessions. I dont know what is going on. The sessions are not going from page to page.. i can access the session variable on the first page that i set it on.. but once i move to the second page it isnt there... i also noticed that when i click on a link on the second page.. i...