[HELP] How to avoid time execution exceeded...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
dude81
Forum Regular
Posts: 509
Joined: Mon Aug 29, 2005 6:26 am
Location: Pearls City

Post by dude81 »

I've seen this problem , but as far as I think this as a problem of execution time. I've fixed a similar problem by increasing the memory_limit= 16KB in php.ini. Try this increasing to the maximum limit specified a side the variable. Let me know whether it is solved or not
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

MySQL allows the creation of functions (and triggers and procs and the like). Why not a write a function on the database that does this for you instead of trying to do it code side?
acco
Forum Newbie
Posts: 13
Joined: Fri Jan 26, 2007 4:32 am

Post by acco »

for DUDE81: i've just tried to increment memory in the php.ini but it fails.

for Everah: can u tel me how write a function direct in mysql? i never do it before. Post me a tutorial or something else so i can read and try!



Thanks!!
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Try searching the MySQL website. They have published a host of good tutorials on coding Procedures, Trigger, Views and Functions.

And for the record, you might want to stay from AOL speak...

[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.

Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.
Post Reply