Detection of Refresh and Callback. Urgent!

Hey guys and gals ... PLEASE HELP!!!

How is it possible to detect if the page, in which the form is, is refreshed and to detect if only the form is refreshed?

I tell you the whole thing:
I'm building a module. The form in this module has ajax-ed elemets. When the form is first loaded (or when the page containing the form is refreshed) a database query is executed (filling up the form), that is the thing i want. But when an ajax-ed element is triggered the query is executed again, and i don't want that.

Allowing Multiple Registration Forms

i have been scowering the internet for hours looking to find a simple way to implement multiple registration forms. I cant find one. So i would like to build a module. However since i dont have much experience in that area is anyone interested in helping me? And if there is an easy way and i missed it please let me know.

[solved] In Drupal 7 Views 3, how to display the SQL query?

[solved] goto admin/structure/views/settings

Btw I wished I could delete my own posts - the solution was found on these forums anyway.

Original:
In Drupal 6 I can always see the results and SQL query at the bottom of the view. But in Views 3 only the results are displayed, but theSQL query is not. Is there a method to see the actual query of the view ?

Re accruing error "Fatal error: Out of memory"

keep getting this error with many different extensions randomly it seems. i think i am missing something.

Fatal error: Out of memory (allocated 31719424) (tried to allocate 53 bytes) in xx/includes/menu.inc on line 3587

Fatal error: Out of memory (allocated 31457280) (tried to allocate 35 bytes) in xx/sites/all/modules/views/views.module on line 304.

I guess i dont know why so much memory is allocated.

how to writet this sql query in drupal 7

select tid,name from taxonomy_index as ti left join taxonomy_term_data as ttd on ti.tid=ttd.tid where vid=2 and nid=$nid;

thank you.

How safe_value works?

Here is my code which I try to edit a comment body (comment text) using comment_save function

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x