Jump to content

Ezio

Members
  • Posts

    42
  • Joined

  • Last visited

Everything posted by Ezio

  1. Ezio

    Need Help Here..

    Hey Guys, so here is the problem i am having.. I have saved a time in a table using mysql's now() function now i want to subtract the current time, in my php script with that of the table to check if one month has passed or not. How do i go about this..?? (The now() function in mysql returns date like : 2013-09-16 10:55:14) Please Help.
  2. Ezio

    Help Please..!

    Thank you guys for all your help. you guys are awesome.
  3. Ezio

    Help Please..!

    How do you get the width and height of a webpage? I am manually trying to center an image on a webpage. I plan on getting the width and height of a webpage and setting the coordinates of the image to the width/2 and height/2.
  4. Ezio

    Help Please..!

    How? should i post my question in JS?
  5. Ezio

    Help Please..!

    How do you get the width and height of a webpage? I am manually trying to center an image on a webpage. I plan on getting the width and height of a webpage and setting the coordinates of the image to the width/2 and height/2.
  6. I know its annoying but being a noob i need to learn the basics..
  7. Thanks dsonesuk it works, but why doesnot the onunload function work..??
  8. yes i have checked and it says it is supported in firefox right.? then why won't it work??
  9. Hey guys, I have a small problem here the onunload event does not work on my firefox...don't know why. this was the example i tried to run on my browser it's from w3schools <!DOCTYPE html><html><head><script>function goodbye(){alert("Thank you for visiting W3Schools!");}</script></head><body onunload="goodbye()"><h1>Welcome to my Home Page</h1><p>Close this window or press F5 to reload the page.</p></body></html> but it won't work. :-(
  10. nothing, that was a stupid question.. ..as "Birbal" replied there is nothing like "$i+-".
  11. Thanks Ingolme. But what about the 2nd one?
  12. Hey guys, could someone explain to me the use of: 1. " === " e.g; ($i % 2 === 0 || $i % 5 === 0) 2. is there something like "$i+-" ?
  13. Hey guys, I am a newbie and just wanted to know since a lot of the websites use javascript for validation, what if a user disables the javascript from the browser..would it effect the validation of a form dependent on the script...if yes then why not use "filter" from PHP to validate the form??
  14. Thanks! well..could you suggest where can i learn more on PHP..? ..i mean i know the basics from w3schools & have done a lot of programs on it..so where can i learn more..?
  15. Hey guys I am a beginner in php, i know the basics. i was going through the DRUPAL themes files & saw : <?php print render($page['header']); ?> can somebody tell me what is the function of render here. again i am a newbie please explain in simple language. Thanks.
×
×
  • Create New...