Jump to content

mlnsharma

Members
  • Posts

    12
  • Joined

  • Last visited

    Never

Everything posted by mlnsharma

  1. Ok, So for a structure,it might be this way in its definition struct DateTime { static (type) Now ; // Field Name-Now // Other members }Now; // Variable of type DateTime Say if i accessed DateTime dt; dt = DateTime.Now; So, is "Now", a static variable of type DateTime ? or a static variable in Structure DateTime ?? If it is a part of struct DateTime, then How can i assign the member of the structure to the structure variable ?? Can u clarify this too??
  2. Hi I am a Novice in c#, Can any one explain me this ? { using System; // // // DateTime dt = DateTime.Now; Console.WriteLine("{0}",dt.year); } why is it not like { DateTime dt = new DateTime(); // Object Inititalization Console.WriteLine("{0}",dt.year); } What is "Now", Is it a class under DateTime. If it is a class why isnt it intialised as i did ? If it is a method under DateTime, How can it be assigned to an object of DateTime ? If it is an attribute under DateTime, How can it be assigned to object of DateTime ? Please Clarify me over this !!
  3. I too donot know this.But i can suggest a solution. Try this http://www.w3schools.com/php/php_xml_parser_expat.asp
  4. I got it..Removed the 'as' keyword and is working fine.. But alter table emp drop column sal; //query is not working.i tried it this way also alter table emp drop sal; It is working with Mysql, but with oracle, it is not dropping the column "sal".It says "Missing Keyword" for both queries(above). Please suggest a solution.. :'(
  5. select * from table as t where t.sal>100 ; * ORA-00933: SQL command not properly ended What is the error here? In Oracle, this statement is showing an error, while it is fine in Mysql? Can anyone answer this please?
  6. I dont see a single page coding...
  7. Thanx for the link..It is amazing.. I am a novice...I need to learn..So can you provide me a simple one..with explanation to its methods...
  8. Thank you.. It is solved and i believe that with PHP, there is no function like "setTimeout" for a timer..
  9. [1] How to create a popup date picker. I have searched internet and got very lengthy programs which are difficult to understand. Can any one provide me one which is easy to understand and implement? [2] Suppose i have an input box. If i move mouse over it, a pop up like Tooltip should appear. How is it acheived? Please answer these two questions? If possible give me the coding for these programs..pls
  10. [1] In Javascript, there is a function setTimeout() to call a function with a time interval.. In PHP, is there any similar in-built function ? If there is a different solution, kindly provide me the code in php.. [2] Using sleep(): I tried to create a page with sleep(). <? echo "hello"; sleep(5) echo "world"; ?> I did not get a "hello and after 5 seconds world". Instead it took 5 seconds to load and displayed entire content at once. Can any provide me solution to these two problems?
  11. Thank you...I tried using phpmailer yesterday..it worked..I will try this one now...
  12. Hi, I am new to PHP. I use windows XP. I want to send a mail using PHP application to my gmail. I use broadband connection with a username and password. What should i configure - Mail server or anything? I am not aware of the settings. Can anyone suggest and guide me through please ?? <? $to = "aaaaaa@gmail.com"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "nnnnnn@gmail.com"; $headers = "From: $from"; mail($to,$subject,$message,$headers); echo "Mail Sent."; ?> I used this program. It shows message sent. But i dont find my mail in the inbox..
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.