Search found 20 matches

by phoggy
Sat Mar 05, 2005 2:34 pm
Forum: Miscellaneous
Topic: Python becoming more popular than PHP?
Replies: 3
Views: 927

don't you think people in a python group can answer those questions better?
NO. If they are already using Python, than maybe their opinion would be a bit biased. And I prefer this forum....
by phoggy
Sat Mar 05, 2005 1:22 pm
Forum: Miscellaneous
Topic: Python becoming more popular than PHP?
Replies: 3
Views: 927

Python becoming more popular than PHP?

Hi all, I have been away for over a year from doing web design and I just went to the bookstore to find some more books on PHP and I was shocked to see how few books were availabe as compared to a year ago. There are almost as many books on Python as there are on PHP, and a year ago there were prett...
by phoggy
Sat Oct 23, 2004 11:21 pm
Forum: PHP - Code
Topic: what is a queue
Replies: 4
Views: 625

what is a queue

Hi,
Could someone briefly explain what a queue is and why I would use it instead of an array.
Thanks.
by phoggy
Sat Jun 12, 2004 1:52 am
Forum: Job Hunt
Topic: Real Estate Script Needed (Paid)
Replies: 2
Views: 1435

Real Estate Script Needed (Paid)

Hi all, I need a Classifieds Script similar to http://www.esvon.com/pg/products/p_classifieds/ . This was the only script I could find that has almost all the basic features I need and is easy to customize, but what they want is a little too much for me, since I would also need most of their additio...
by phoggy
Sat Feb 07, 2004 11:52 am
Forum: General Discussion
Topic: What music do you code by?
Replies: 418
Views: 144892

Florent Pagny, Florent Pagny, Florent Pagny, Florent Pagny

Check him out!
by phoggy
Mon Feb 02, 2004 10:32 pm
Forum: Databases
Topic: Need some advice
Replies: 3
Views: 513

Hi,
thanks for your reply.
I'm using version 4.0.15.
Recent version can dp transactions which can reduce the overhead of lots of individual queries.
Huh? What does it mean to "dp transcations"? THX
by phoggy
Mon Feb 02, 2004 10:00 pm
Forum: Databases
Topic: Need some advice
Replies: 3
Views: 513

Need some advice

I'm using Dreamweaver, PHP, MySQL and IIS on WinXP to update a 20 MB database. I have created a form and added a button to set the action to the script i'm using to process the data. It's a rather short script to update one field. I have set the timout limit in PHP to 0 and chosen a very high number...
by phoggy
Sat Jan 31, 2004 5:49 pm
Forum: Databases
Topic: get non matching results from one table compared to another
Replies: 8
Views: 1040

Could you post it? i'm curious. thx.
by phoggy
Fri Jan 30, 2004 8:50 pm
Forum: Databases
Topic: SQL Query - GREATEST & REPLACE
Replies: 1
Views: 491

Never mind, it does work
[edit]
I take that back it doesn't: i get an error when running:
"parse error, unexpected ',' "
Anybody know why?
by phoggy
Fri Jan 30, 2004 3:41 pm
Forum: Databases
Topic: SQL Query - GREATEST & REPLACE
Replies: 1
Views: 491

SQL Query - GREATEST & REPLACE

Hi everyone, I have a field in my db with numbers like '20;30;10;50' (all in one field). I want to remove all but the highest number. Can I use syntax like the one below? It's not working for me. SELECT GREATEST(REPLACE(Price, ";", ",")) as Price FROM nsninfo UPDATE nsninfo SET P...
by phoggy
Wed Dec 10, 2003 4:03 pm
Forum: PHP - Code
Topic: newbie que: date functions
Replies: 9
Views: 795

Ok, I see the trouble: you're using prefetched $count in your UPDATE queries. Actually that query updated just fine even the way I had it, so as long as count is less than 3 it executes the if statement and the first query updating everything correctly until count hits 3 and time to switch to secon...
by phoggy
Wed Dec 10, 2003 3:23 pm
Forum: PHP - Code
Topic: newbie que: date functions
Replies: 9
Views: 795

Okay I'm back. Still a problem. It updated the database once and then no more. What is wrong now??
THX
by phoggy
Wed Dec 10, 2003 3:12 pm
Forum: PHP - Code
Topic: newbie que: date functions
Replies: 9
Views: 795

THAAAAANK YOU! You ARE the best!
by phoggy
Wed Dec 10, 2003 2:57 pm
Forum: PHP - Code
Topic: newbie que: date functions
Replies: 9
Views: 795

THank you, thank you sooo much. The time works perfect now. :D You can't issue any queries on particular connection before you've fetched all the data from previous query. Either prefetch data into an array or use several connections. I have NO idea how to do that. Could you give me some more hints,...
by phoggy
Wed Dec 10, 2003 2:13 pm
Forum: PHP - Code
Topic: newbie que: date functions
Replies: 9
Views: 795

Hi Weirdan, That is the line I am having the most problems with. Thank you for your suggestion, the number I am getting for $time_remaining makes a lot more sense now, but the script is still not working correctly. How can I format "'You have '.$time_remaining....' " so that it returns Hou...