Jump to content
xisto Community

Tourist

Members
  • Content Count

    92
  • Joined

  • Last visited

Everything posted by Tourist

  1. The diseases which have a low prevalence in the population, generally called rare disease. According to National Institutes of Health (NIH) rare disease are those disease that affects less than 2,00,000 people in the population of US. As MPS 6 affects less than 2,00,000 people in the population of US, so National Institutes of Health listed it as a rare disease.The full name of MPS 6 is “Mucopolysaccharidosis type 6”. It is an inherited biochemical disorder. This disorder is characterized by the accumulation of mucopolysaccharides in various body tissues. In this disorder There are many symptoms are listed for MPS 6, but the main symptoms may be considered as Hip dysplasia, Growth retardation (Poor growth), Short stature, Skeletal deformities, Valvular heart disease etc. There are few occasional symptoms too, like Cervical myopathy, Enlarged tongue, Glaucoma, Hearing impairment, Hydrocephalus, Large head, Thickening of cervical dura matter etc.
  2. In this tutorial we will discuss about conditional statements of JavaScript. JavaScript has 4 types of conditional statements such as if statement, if...else statement, if...else if....else statement and switch statement. All this statements are used in different condition. Now we will try to discuss this 4 types of statements with some examples. When we need to execute some code only in a specified condition, then we will use if statement. The syntax of if statement is if (condition) { code to be executed if condition is true } One important thing is that this if will be in small letter, if we use in capital letter it will show a JavaScript error. Let we want that if password is “11111” it will show “Password Accepted”. So, the condition will be password==11111, and the complete code will be <script type="text/javascript">var password=11111;if (password==11111) {document.write("<b> Password Accepted </b>");}</script> When we need to execute some code if the condition is true and another code if the condition is false, then we will use if....else statement. The syntax of if....else statement is if (condition) { code to be executed if condition is true } else { code to be executed if condition is not true } Let we want that if password is “xyzabc” it will show “Password Accepted” otherwise it will show “You do not have permission to enter”. So, the condition will be password==11111, and the complete code will be <script type="text/javascript">var password=11111;if (password==11111) {document.write("<b> Password Accepted </b>");}else{document.write("<b> You do not have permission to enter </b>");}</script> When we need to execute select one of many blocks of code to be executed then we will use if...else if....else statement. Syntax of if...else if....else statement is if (condition1) { code to be executed if condition1 is true } else if (condition2) { code to be executed if condition2 is true } else if (condition3) { code to be executed if condition3 is true } .... .... .... else if (condition n) { code to be executed if condition n is true } else { code to be executed if all conditions are not true } For an example, let we want that it will show Good Morning before 10 AM, Good Day in between 10 AM and 4 PM and all other time it will show only Welcome!. So the first condition is time<10, second condition is time>10 && time<16. So, the complete code will be <script type="text/javascript">var d = new Date()var time = d.getHours()if (time<10){document.write("<b>Good morning</b>");}else if (time>10 && time<16){document.write("<b>Good day</b>");}else{document.write("<b>Welcome!</b>");}</script> We use switch statement when we want to execute select one of many blocks of code to be executed. Syntax of switch statement is switch(n) { case 1: execute code block 1 break; case 2: execute code block 2 break; case 3: execute code block 3 break; ...... ...... ...... default: code to be executed if n is different from all cases } For an example, let we ant to know what day today is. We know that 0 = Sunday, 1 = Monday, 2 = Tuesday, 3 = Wednesday, 4 = Thursday, 5 = Friday and 6 = Saturday. So, the complete code will be <script type="text/javascript">var d=new Date();theDay=d.getDay();switch (theDay){case 0: document.write("Sunday"); break;case 1: document.write("Monday"); break;case 2: document.write("Tuesday"); break;case 3: document.write("Wednesday"); break;case 4: document.write("Thursday"); break;case 6: document.write("Saturday"); break;default: document.write("Is it my Holyday!");}</script>
  3. If your page is not so complicated, I may help you. As I have no many free time, so I mentioned that condition "if your page is not so complicated". If it is so complicated, it will take more time to create. But I think, if you have a minimum knowledge in HTML, you can use Microsoft FrontPage to create your web page. It is very easy to create HTML pages using Microsoft FrontPage, even you do not need to know all the HTML codes. Just open Microsoft FrontPage and design your WEB page, it is very easy.
  4. To park your domain to Xisto, at first go to your domain control panel and change your namesarver as ns.computinghost.com and ns2.computinghost.com. If your domain is already parked in another host, please release your domain from that host. Now try to park your domain in Xisto. I think, now you will be able to park your domain successfully.If you want to redirect your domain to your Xisto site, you do not need to park it in Xisto. Just go to your hosting account (where this domin is now using), and redirect it to your Xisto site. Generelly it is under the domain management menu.
  5. First of all thank you to inform us about this new concept (I do not know, it may be an old concept but new to me). I visited that site but did not able to register as a blogger. I found a form to signup as payperpost blogger, but that form was not complete. It contains first name, last name and user name field but no submit button. I do not know is it any fault of my browser of fault of that site or anything else.It will be helpful to me if you write details about signup process and their payment.
  6. No doubt about it, water is a nutrient. Incase of plant nutrition, animal nutrition (both ruminant nutrition and non-ruminant nutrition) everywhere water is a nutrient. Why do you think water should contain any essential nutrients inside it. Water itself a nutrient. Yes, water has no energy giving particle, but what is the relation between energy giving particles and nutrients? Nutrients do not need to have any energy giving particles. Carbohydrate, protein and fat gives energy but it do not means that nutrients must give energy. Vitamin, minerals, water is not for energy supply. A nutrient is a substance used in an organism's metabolism which must be taken in from the environment. Is it meaning anything? I can not understand. Why water needs to give energy? Can any one help me to understand this?
  7. In this part of the tutorial, we will discuss about JavaScript Arithmetic Operators, JavaScript Assignment Operators, Comparison Operators, Logical operators and conditional operator. +, -, *, / etc are the JavaScript Arithmetic Operators. =, +=, -= etc are the JavaScript Assignment Operators. ==, != etc are the Comparison Operators and “&&”, “||” etc are the Logical operators. Arithmetic operators are used to perform arithmetic between variables and/or values and Assignment operators are used to assign values to JavaScript variables. Comparison operators are used in logical statements to determine equality or difference between variables or values. Logical operators are used in determine the logic between variables or values. The operator “+” is used to add values and/or variables. For an example let p=25, so q=p+5 will gives us a result q=30. The operator “-” is used to subtract. For an example let p=25, so q=p-5 will gives us a result q=20. The operator “*” is used to multiply. For an example let p=25, so q=p*5 will gives us a result q=125. The operator “/” is used to divide. For an example let p=25, so q=p/5 will gives us a result q=5. Modulus (division remainder) operator is “%”. For an example let p=25, so q=p%4 will gives us a result q=1. The Increment operator is “++”.For an example let p=25, so q=++p will gives us a result q=26. . The decrement operator is “--”.For an example let p=25, so q=--p will gives us a result q=24. The operator “=” is used to show that tow value are equal. For an example let p=50, so q=p will gives us a result q=50. Other important JavaScript Assignment Operators are “+=”, “-=”, “*=”, “/=” and “%=”. If p=25 and q=10, p+=q will gives us a result p=35 (it is similar to p=p+q). If p=25 and q=10, p-=q will gives us a result p=15 (it is similar to p=p-q). If p=25 and q=10, p*=q will gives us a result p=250 (it is similar to p=p*q). If p=25 and q=10, p/=q will gives us a result p=2.5 (it is similar to p=p/q) and if p=25 and q=10, p%=q will gives us a result p=5 (it is similar to p=p%q). The “is equal to” operator is “==”. For an example, let p=15, so p==20 is false. The “is exactly equal to (value and type)” operator is “===”. For an example, let p=15, so p=== “15” is false but p===15 is true. The “is not equal” operator is “!=”. For an example, let p=15, so p!=20 is true. The “is greater than” operator is “>”. For an example, let p=15, so p>20 is false. The “is less than” operator is “<”. For an example, let p=15, so p<20 is true. The “is greater than or equal to” operator is “>=”. For an example, let p=15, so p>=20 is false. The “is less than or equal to” operator is “<=”. For an example, let p=15, so p<=20 is true. The “&&” operator is used to describe and, “||” operator for or and “!” operator for not. For example let p=20 and q=10, so (p < 30 && q > 5) is true, (p==15 || q==15) is false and !(p==q) is true. JavaScript also contains a conditional operator. This conditional operator assigns a value to a variable based on some condition. Let we want to compare a value of a variable to a pre-defined value, and if it returns true it will gives an output and if not it will returns other output. The syntax is variable_name=(condition)?value1:value2 Let the variable name is permission; we want that only 18+ age are welcomed here others are not. So, the condition will be age>=18 and value1 will be (incase of true) “Welcome” and value2 will be (incase of false) “You are too young”. So, total code will be permission=(age>=18)? “Welcome”: “You are too young”; If you feel any problem to understand this tutorial or find any typing mistake please post here to correct them.
  8. In this tutorial we will build a Love Calculator to calculate love percentage between two persons. Remember, it is just a funny game popular in mobile sites. It can not calculate the real love percentage. We will make this Love Calculator for mobile sites (WAP sites). To make this Love Calculator, you need a little knowledge of PHP and WML. We will use a rand() function to generate a random value to show the love result. We will also use input box and anchor to collect the name of partners who wants to calculate their love. To make the script easier, we will divide this script in 2 parts. First one is main part and second one is calculating part. In main part we will set two input box and an anchor to collect partners name, and in calculate part we will check that the input fields are empty or not, and the input fields are not empty, it will show the love percentage. As we are creating a mobile site in wml, so the content-type will be text/vnd.wap.wml and we will use utf-8 encoding and xml version 1.0. So, at the top of the script at first we will writ <?phpheader("Content-type: text/vnd.wap.wml");header("Cache-Control: no-store, no-cache, must-revalidate");print "<?xml version=\"1.0\" encoding=\"utf-8\"?>";echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://forums.xisto.com/no_longer_exists/;'>http://forums.xisto.com/no_longer_exists/; Now we will start the first part of our script. In this part we will set only 2 input box and an anchor. echo "Your Name<br/> <input type=\"text\" name=\"uname\" format=\"text\" size=\"20\" value=\"$uname\"/>";echo "<br/>Partner Name<br/> <input type=\"text\" name=\"pname\" format=\"text\" size=\"20\" value=\"$pname\"/><anchor>"; echo "<br/>[Calculate]"; echo "<go href=\"?action=calculate\" method=\"post\">"; echo "<postfield name=\"uname\" value=\"$(uname)\"/>"; echo "<postfield name=\"pname\" value=\"$(pname)\"/>"; echo "</go>"; echo "</anchor><br/>"; In our script, every part will be starts with this code if($action=="part_name"){echo "<card id=\"main\" title=\"alaponBD.com\">";echo "<p align=\"center\">"; And every part will be end with echo "</p></card>";} And as we are using $action as, $uname and $pname, so we will put this code before starting the parts. $action = $_GET["action"];$uname = $_POST["uname"];$pname = $_POST["pname"]; So, the codes will be <?php$action = $_GET["action"];$uname = $_POST["uname"];$pname = $_POST["pname"];//////////////// Starting first part /////////////////if($action=="main"){echo "<card id=\"main\" title=\"alaponBD.com\">";echo "<p align=\"center\">";echo "<b>Love Calculator</b><br/><br/>";echo "Your Name<br/> <input type=\"text\" name=\"uname\" format=\"text\" size=\"20\" value=\"$uname\"/>";echo "<br/>Partner Name<br/> <input type=\"text\" name=\"pname\" format=\"text\" size=\"20\" value=\"$pname\"/><anchor>"; echo "<br/>[Calculate]"; echo "<go href=\"?action=calculate\" method=\"post\">"; echo "<postfield name=\"uname\" value=\"$(uname)\"/>"; echo "<postfield name=\"pname\" value=\"$(pname)\"/>"; echo "</go>"; echo "</anchor><br/>";echo "</p></card>";}As we will continue our script, so we will not use ?>here. In second section we will add if($uname==""){echo "Please write your name<br/>";echo "<br/><br/><a href=\"?action=main\">";echo "[Back]</a><br/>";}and else if($pname==""){echo "Please write your partner name<br/>";echo "<br/><br/><a href=\"?action=main\">";echo "[Back]</a><br/>";} to check that the name box are properly filled or not. And we will use else{$rn = mt_rand(1,100);echo "Your love percentage at this moment is <b>$rn</b>%<br/>";echo "<a href=\"?action=main\">";echo "[Calculate another]</a><br/>";} to display the result. So, the total script will look like this <?phpheader("Content-type: text/vnd.wap.wml");header("Cache-Control: no-store, no-cache, must-revalidate");print "<?xml version=\"1.0\" encoding=\"utf-8\"?>";echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://forums.xisto.com/no_longer_exists/ = $_GET["action"];$uname = $_POST["uname"];$pname = $_POST["pname"];//////////////// Starting first part /////////////////if($action=="main"){echo "<card id=\"main\" title=\"alaponBD.com\">";echo "<p align=\"center\">";echo "<b>Love Calculator</b><br/><br/>";echo "Your Name<br/> <input type=\"text\" name=\"uname\" format=\"text\" size=\"20\" value=\"$uname\"/>";echo "<br/>Partner Name<br/> <input type=\"text\" name=\"pname\" format=\"text\" size=\"20\" value=\"$pname\"/><anchor>"; echo "<br/>[Calculate]"; echo "<go href=\"?action=calculate\" method=\"post\">"; echo "<postfield name=\"uname\" value=\"$(uname)\"/>"; echo "<postfield name=\"pname\" value=\"$(pname)\"/>"; echo "</go>"; echo "</anchor><br/>";echo "</p></card>";}///////////////////Starting second partelse if($action=="calculate"){ echo "<card id=\"main\" title=\"alaponBD.com\">";echo "<p align=\"center\">";echo "<b>Love Calculater</b><br/><br/>";if($uname==""){echo "Please write your name<br/>";echo "<br/><br/><a href=\"?action=main\">";echo "[Back]</a><br/>";}else if($pname==""){echo "Please write your partner name<br/>";echo "<br/><br/><a href=\"?action=main\">";echo "[Back]</a><br/>";}else{$rn = mt_rand(1,100);echo "Your love percentage at this moment is <b>$rn</b>%<br/>";echo "<a href=\"?action=main\">";echo "[Calculate another]</a><br/>";}echo "</p>";echo "</card>";}else{echo "<card id=\"main\" title=\"alaponBD.com\">";echo "<p align=\"center\">";echo "<b>Love Calculater</b><br/><br/>";echo "<a href=\"?action=main\">";echo "[Start]</a><br/>";echo "</p>";echo "</card>";}?></wml> I have checked the script and found no bug or error. But if any one fiend any error, please inform so that I can correct the error. I think this tutorial will help beginner level PHP programmer.
  9. There are different types of cancer and the symptoms of different types of cancers are different. Common cancers are brain cancer, bladder cancer, bone cancer, breast cancer, colorectal cancer, kidney cancer, leukemia, oral cancer, ovarian cancer, pancreatic cancer, uterine cancer, stomach cancer, prostate cancer, Non-Hodgkin's lymphoma, melanoma, lung cancer etc. Few symptoms of this cancer are given below- Notice from jlhaslip: Lists like this need to be quoted
  10. When we write your water requirement, it does not mean that you need to drink it as the pure form of water. You can take it from different sources. Almost every food (except oil, fat etc.) contains a large amount of water. The amount of water (%) can easily determine by a simple test called proximate analysis. In this analysis you can calculate the percentage of water present in that food, it called moisture percentage. Let you drink 250 ml milk daily. Milk contains around 87% water. So, you take 250 X 0.87 = 217.5 ml water from that amount of milk. Let you also take 250 ml of other soft drinks containing more then 97% moisture. So get 250 X 0.97 = 242.5 ml water from those soft drinks. Let you also take 300 g fruits daily containing more then 70% moisture. So you also get 300 X 0.70 = 210 ml water from those foods. So you take 250 ml milk + 250 ml soft drinks + 300 g fresh fruits and you get 217.5 ml + 242.5 ml + 210 ml = 670 ml water without drinking water directly. If we consider 175 ml water as a glass of water, so 670 ml is about 4 glass of water. In this way we take water from our different foods and we fulfill our water requirement without drinking water directly. So do not be confused when you see your water requirement is 10 glass of water per day or something like this and you take only 1 or 2 glass water daily and you also do not face any problem. As you get remaining amount of water from your other foods so drinking 1 or 2 glass of water can fulfill your demand.
  11. Benign prostatic hyperplasia (BPH), or benign prostatic hypertrophy is commonly known as Prostate Enlargement. It is a common part of aging. Generally this problem is occurred after 40 years of age. The symptoms of benign prostatic hyperplasia may vary; even many men with an enlarged prostate have no symptoms. But the common symptoms may include- A weak stream of urine when stopping and starting of the stream A hesitant, interrupted stream Difficulty starting urination Dribbling of urine, especially after urinating A sense of not emptying the bladder More frequent urination especially at night Strong and sudden desire to urinate Leaking of urine Blood in the urineDiagnosis of Benign prostatic hyperplasia usually done by Digital Rectal Examination (DRE) Prostate-Specific Antigen (PSA) Blood Test Rectal Ultrasound and Prostate Biopsy Urine Flow Study CystoscopyMainly 3 types of treatment are most commonly used for benign prostatic hyperplasia. They are- Drug Treatment, Minimally Invasive Therapy and, Surgical TreatmentTransurethral microwave procedures, Transurethral needle ablation, Water-induced thermotherapy and High-intensity focused ultrasound are commonly used in Minimally Invasive Therapy. Incase of surgical treatment, Transurethral surgery, Open surgery, Laser surgery, Photoselective vaporization of the prostate (PVP) and Interstitial laser coagulation are commonly used.
  12. Tomato is a good food. It is a good source of vitamin. It is also a good source of mineral. One cup (180 g) tomato contains vitamin C 34.38 mg, vitamin A 1121.40 IU, vitamin K 14.22 mcg, molybdenum 9.00 mcg, potassium 399.60 mg, manganese 0.19 mg, dietary fiber 1.98 g, chromium 9.00 mcg, vitamin B1 (thiamin) 0.11 mg, vitamin B6 (pyridoxine) 0.14 mg, folate 27.00 mcg, copper 0.13 mg, vitamin B3 (niacin) 1.13 mg, vitamin B2 (riboflavin) 0.09 mg, magnesium 19.80 mg, iron 0.81 mg, vitamin B5 (pantothenic acid) 0.44 mg, phosphorus 43.20, vitamin E 0.68 mg, tryptophan 0.01 g, protein 1.53 g.It contains calories 37.80 g, in which 5.35 g calories from fat and 0.73 g calories from saturated fat. It is rich in fiber. One cup (180 g) tomato contains 1.98 g dietary fiber, 0.48 g soluble fiber, 1.50 g insoluble fiber. One cup tomato also contain 5.04 g sugar, 4.50 g monosaccharides and other carbs are 1.33 g. Incase of fat, one cup tomato contain total 0.59 g fat, saturated fat 0.08 g, mono fat 0.09 g, poly fat 0.24 g and have no trans fatty acids and cholesterol. Amino acids of tomato are alanine (0.04 g), arginine (0.04 g) aspartate (0.21 g), cystine (0.02 g), glutamate (0.56 g), glycine (0.04 g), histidine (0.02 g), isoleucine (0.04 g), leucine (0.06 g), lysine (0.06 g), methionine (0.01 g), phenylalanine (0.04 g), proline (0.03 g), serine (0.04 g), threonine (0.04 g), tryptophan (0.01 g), tyrosine (0.03 g), valine (0.04 g).
  13. Papaya is really a good fruit, but I do not think it is a super food. Papaya is very low in protein, also low in energy. But it can ensure a good supply of vitamin A and C, helps in digestion, speed up healing. It is also an ideal food for invalids. Papaya contains 90.8% moisture, 7.2% carbohydrates 0.6% protein, 0.1% fat, 0.8% fiber and 0.5% minerals. Main minerals are Calcium, Phosphorus and Iron. Main vitamins are Vitamin C and small amount of Vitamin B complex.Ripe papaya and green papaya both are used as food. 1 kg ripe papaya contain 6 gms Protein, 1g fat, 5 gm minerals, 8 gms fiber, 72 gms carbohydrates, 320 kcal energy, 8800 micro gs Beta carotene, 570 mgs Vitamin C, 60 mgs sodium, 690 mgs potassium and 5 mg iron. On the other hand 1 kg green papaya contains 7 gms protein, 2 gms fat, 5 gms minerals, 9 gms fiber, 57 gms carbohydrates, no beta carotene but 120 mgs vitamin C, 230 mgs sodium, 2150 mgs potassium, and 9 mgs iron.There are a lot of health benefits of papaya. Papaya and Green Tea can prevent prostate cancer. Papaya can promote lung health. It can gives protection against rheumatoid arthritis and macular degeneration. It also gives us immune support and has anti-inflammatory effects. It can promote digestive health. It has also an effect to protect Heart Disease.Papaya has also few medicinal virtues. Raw papaya is beneficial in intestinal disorders like deficiency of gastric juice, excess of unhealthy mucus in the stomach, dyspepsia, intestinal irritation etc. Papaya seed is useful in dyspepsia and bleeding piles. Papaya has also an anthelmintic effect. The digestive enzyme papain is a powerful anthelmintic for roundworms. Papaya seeds are also useful. The juice of the raw papaya is useful in several skin disorders. Paste of papaya seeds is useful in skin diseases like ringworm. The unripe papaya helps the contraction of the muscle fibres of the womb which is beneficial in securing proper menstrual flow. Liver cirrhosis caused by alcoholism, malnutriton etc may be treated by black seeds of papaya. Papaya has also beneficial effect in Spleen Enlargement and Throat Disorders.
  14. I do not believe it is possible to start a permanent human colony on Mars in 2014. I also believe that who have minimum idea about establish a permanent human colony outside the world, will never believe it. It is 2008, and they have only 6 years. Do not they know what the distance between the world and Mars is? How long it needs to reach mars from the world? What is their preparation? They did not sent any living animal on Mars. How will they manage the most important oxygen, water and food for human? Establish a permanent human colony on Mars in 2014 is not possible by anyone. It may be possible in dream, but not in real life. If they tell that they are trying to establish a permanent human colony on Mars in 2114 (after 100 years), it may be believable.
  15. In this tutorial I will show you how you can put JavaScript in a HTML page. It is very easy to add JavaScript in a HTML page. We will use <script> tag for this purpose. Inside the <script> tag, we will use "type=" attribute and will define the scripting language. We will define the script language as “text/javascript”. After define the script language we will add our JavaScript codes and at last we will close the tag using </script>. So the complete code will be- <html><body><script type="text/javascript">(Place for our JavaScript codes)</script></body></html> Now we will use “document.write” command (it is a standard command for JavaScript) to complete our previous code. This “document.write” command is a standard JavaScript command that writ output to a page. If we put “document.write("This is a JavaScript tutorial.");” inside the <script> tag, we will get output “This is a JavaScript tutorial.”. So the complete code is- <html><body><script type="text/javascript">document.write("This is a JavaScript tutorial.");</script></body></html> In previous example we used JavaScript in the body section. We can also use JavaScript in the head section. The system is similar, just put the script in the head section. <html><head><script type="text/javascript">(Place for our JavaScript codes here)</script></head></html> We can also use JavaScript in both head and body section. <html><head><script type="text/javascript">(Place for our JavaScript codes here)</script></head><body><script type="text/javascript">(Place for our JavaScript codes)</script></body></html> Remember that we can use unlimited number of scripts in your document. But every time we must use “<script>” tag before starting JavaScript and “</script>” tag in the end. <html><head><script type="text/javascript">(Place for our JavaScript codes here)</script></head><body><script type="text/javascript">(Place for our JavaScript codes)</script><script type="text/javascript">(Place for our JavaScript codes)</script><script type="text/javascript">(Place for our JavaScript codes)</script></body></html> I hope this little tutorial will help the beginner of JavaScript.
  16. Here I will try to give you some ideas about date and time coding in ASP script. In a web site we need different type of date and time like current time, today’s date, today’s day, what month is it and this information also in different format. I will try to show you few common date and time system step by step.We can use “FormatDateTime(date,format)” syntax to get current date and time. Here parameter date is any valid date expression like Date() or Now(); and the parameter “format” is a value that specifies the date/time format to use. This ‘format’ parameter is optional. You may use vbgeneraldate, vblongdate, vbshortdate, vblongtime, vbshorttime etc as ‘format’. When I am writing this tutorial, it is Friday, May 02, 2008 in our country. If we want to display that in that format we will use vblongdate as format parameter. We may also say that today is 5/2/2008. If we want that date display as that format we will use vbshortdate as format parameter. Incase of time we may use 24 hours system or AM/PM system. If we want to use 24 hours system we will use vbshorttime as format parameter. If we want to use AM/PM system, we will use vblongtime as format parameter. Complete ASP code for different format of date and time are given below- <html><body><%response.write(FormatDateTime(date(),vbgeneraldate))response.write("<br />")%></body></html> This code will display date in 5/2/2008 format. <html><body><%response.write(FormatDateTime(date(),vblongdate))response.write("<br />")%></body></html> This code will display date in Friday, May 02, 2008 format. <html><body><%response.write(FormatDateTime(date(),vbshortdate))response.write("<br />")%></body></html> This code will display date in 5/2/2008 format. <html><body><%response.write(FormatDateTime(now(),vblongtime))response.write("<br />")%></body></html> This code will display date in 3:36:55 PM format. <html><body><%response.write(FormatDateTime(now(),vbshorttime))response.write("<br />")%></body></html> This code will display date in 15:36 format. We can also use date() and time() directly. date() will display current date and time() will display current time. The complete ASP code will be <html><body>Today is <%response.write(date())%>.<br /></body></html> This code will display date in 5/1/2008 format. <html><body>Now <%response.write(time())%>.<br /></body></html> This code will display time in 5:41:20 PM formatNow we will use WeekDayName(weekday(date)) to know the current day. We can display current day in short form and full form. WeekDayName(weekday(date)) will display current day in full format and WeekdayName(weekday(date), true) will display current day in Abbreviated form. <html><body><%response.Write(WeekdayName(weekday(date)))response.Write("<br />")response.Write(WeekdayName(weekday(date), true))%></body></html> Now we will use WeekDayName(weekday) syntax to get a week day. We will use 1, 2, 3, 4, 5, 6, 7 as weekday to display different days of the week. Here1 = Sunday2 = Monday3 = Tuesday4 = Wednesday5 = Thursday6 = Friday7 = Saturday <html><body><%response.Write(WeekDayName(1))response.Write("<br />")response.Write(WeekDayName(2))response.Write("<br />")response.Write(WeekDayName(3))response.Write("<br />")response.Write(WeekDayName(4))response.Write("<br />")response.Write(WeekDayName(5))response.Write("<br />")response.Write(WeekDayName(6))response.Write("<br />")response.Write(WeekDayName(7))%></body></html> It will give output like this SundayMondayTuesdayWednesdayThursdayFridaySaturdayNow we will use MonthName(month(date)) to know the current month name. <html><body><%response.write(MonthName(month(date)))%></body></html> I think, this tutorial will help the beginer. If any bug found, please informe.
  17. I am also adding little tips. This is very basic that every php sentence will be ended by a ";". Most beginners make the mistake. They forgot to add a ; sign at the end of the sentence. Another common mistake to the beginner is not to add closing " sign when they use starting " sign. Make me clearer echo "This is a tutorial"; This is the valid code, but the common mistakes are not to add closing " sing or ; sign. eg. echo "This is a tutorial; or echo "This is a tutorial" And I also found that few beginners also forget to add "?>" at the end of the php code. They add the starting "<?php" but forget to close it bye adding "?>".So, the beginners be little careful about the 3 common mistake1. Omitting closing " sign.Common mistake echo "This is a tutorial; Correct code echo "This is a tutorial"; 2. Omitting ; signCommon mistake echo "This is a tutorial" Correct code echo "This is a tutorial"; 3. Omitting "?>"Common mistake <?phpecho "This is a tutorial"; Correct code <?phpecho "This is a tutorial";?> Hope these little tips will help the beginner of php coding.
  18. Above tutorial will show the server date/time. But if you want to display your local time and date in your web site, you need to made few changes. I will try to give you an idea how you can show your local time in your web pages.At first find out your time zone. Second step is to convert your dime difference into second. Let your local time is GMT + 6 hours, so you have to convert 6 hours into second. Simply use 6*60*60 to convert hours into second. Now use following codes $ltime = time() + 6*60*60;$mytime = gmstrftime('%c',$ltime) ;echo “$mytime”; This codes will show your local date and time. You can also display your local date and time in other format and using different codes. For this system you do not need to know your time zone. Fiend out your server time and calculate the difference of your server time and your local time. Now convert you time difference into second. Let your time difference is -3 hours (your local time is 3 hours less from server time). So, simply use – 3*60*60 to adjust your time.Now place the following codes in your web pages $ltime = time() + 3*60*60 ;$mytime = date('d.m.y-h:i:s',$ltime);echo “$mytime”; These codes will also show your local time. You may change the date and time format by changing 'd.m.y-h:i:s'. If you want to display date and time in another format change 'd.m.y-h:i:s' section with date/time codes that are listed in previous tutorial.
  19. Free Flash Chat rooms are available all over the internet. Go to google and search for "Free Flash Chat", you will find many free flash chat rooms for your web site. Choice any one of them and add to your web site. MiniChat , 123 Flash Chat, CustomChat Server, x Chat LE, FlashPioneer Video Chat, AliveChat BETA, KewlTalk Chat etc so many freeware are are available in internet. If you lazy enough to find that freeware, just use following link to download free flash chat. http://www.tinit.co.uk/?s=miniChat http://forums.xisto.com/no_longer_exists/ http://www.customchat.com/download/Windows/VM/ccinst.exe
  20. In your post you mention "Here a = 3, b=5/2 for L.H.S and a =2, b=5/2 for R.H.S.", but in my little knowledge in math I know that if you set the value of a = 3 in left hand side, you must set same value (a=3) in right hand site. On the other hand if you set the value a=2 for right hand site, you must set the same value (a=2) for left hand site. You can not put different value of a in the same equation. So, according to my little knowledge, your calculation is not a valid mathematical calculation.
  21. I do not know details about time travel, but recently I was reading an article which described that you need to gain a speed as much as the speed of light. If it is true, then it is quite impossible to gain that speed. The speed of light in vacuum is defined to be exactly 299,792,458 metres per second (1,079,252,849 km/h). Now you think, is it possible to gain such speed? And what will be your condition at that speed? I think it is just a theory, have no practical implementation.
  22. I am also a huge fan of science fiction books. In my childhood Julvern was my favorite. But now my favorite science fiction writer is Dr. Md. Jafor Iqbal. His every science fiction books are excellent. At first, when I read his book "Kopotronic Shukh Dukhkho" (The happiness and unhappiness of robots), I was really wondered! What a beautiful story! What an excellent idea! Since then, I am a big fan of his science fiction. But all of his books are written in bangla.
  23. After four decades, the train services between Dhaka (Bangladesh) and Kolkata (India) has started in the Bangla New Year’s Day (April 14, 2008). The name of the train services is “Maitree” (Friendship). The capacity of the train is 418 passengers with 36 AC cabin, 80 AC chair and 302 non-AC chair. The total journey is 538km, in which 418km in Bangladesh and 120km in India.Passenger train service between Dhaka and Kolkata was introduced during the British rule. But in March 1965 the service has snapped due to India-Pakistan war. In 2001, thirty years after liberation of Bangladesh, government of Bangladesh and India signed a five-year deal to resume direct train service, it was not implemented. Then Bangladesh and India signed a supplementary agreement clearing the way for cross-border run of trains on Dhaka-Kolkata route. On its continuation the train services starts in Bangla New Year’s Day.The people on both sides of the border waited with bated breath and animated suspense to see the historic moment. All TV channels of Kolkata live telecast this historic moment. This historic moment also gets sufficient importance to all news papers and TV channels of Bangladesh. Bangladesh Parjatan Corporation (Touriest Department of Bangladesh Government) welcomed the travelers of Maitree Train through dance, songs and sprinkling of petals.But few organization of India is not happy in this moment. They tried to make terrorist attack by bombs, but Indian police found those bombs only eight feet away from rail tracks near Bankimnagar station on Ranaghat-Gede line in the Indian state of West Bengal. The bombs were defused immediately. We hope success of the train services.
  24. Water is one of the most important nutrients for any living organism. Water do not contain any calorie, it do not have amino acids to build our body. But still water is one of the most important nutrients. Animal body contains more than 70% water. So all animal (including human) needs sufficient water for proper functioning of their body. How much water intake is required per day for an animal is not fixed. The intake of water depends on body size, level of activity, temperature, humidity, and other factors. The more water loss from the body results more requirement of water intake. Water is excreted from the body in different forms. Common route of water loss from the body are urine, feces, sweating, by exhalation of water vapor in the breath etc.Normally for a healthy person, it needs 2-4 litres of water intake daily. In 1945, Food and Nutrition Board of the National Research Council recommended an ordinary standard for diverse a person, that is 1 milliliter for each calorie of food. The recommendation of United States National Research Council is 2.7 liters of water for women and 3.7 liters for men in general. Institute of Medicine recommended 2.2 litres water for women and 3.0 litres water for men. For the pregnant women, the recommended water intake is 2.4 liters and for the breastfeeding women the recommended amount is 3 liters/day. This entire requirement calculated including dietary intakes of water. Normally about 20-25 percent of water intake comes from food and rest of the 75-80 percent comes from directly drinking of water and other liquid food like beverages, milk etc.
  25. RBC (red blood cells) is an important element of blood. There are many antigenic substances present in the surface of RBC. Depending upon the presence or absence of inherited antigenic substances on the surface of RBC, blood may be classified in different groups; these groups are called Blood Group or Blood Type. Other then human, animals and bacteria have cell surface antigens and they have also blood grouping, but their blood groups are quite different.Human have 29 recognized blood group system (recognized by International Society of Blood Transfusion, ISBT). The popular blood grouping systems are ABO blood group system, Rhesus blood group system, MNS system, Kell system, Lewis system etc. Though ABO blood group system and Rhesus blood group system is most popular in human, but complete blood type would describe a full set of 29 substances on the surface of RBCs. ABO system, the most important blood group system in human is associated with anti-A antibodies and anti-B antibodies. This group is discovered in 1901. The blood groups of this system are A (genotype AA or AO), B (genotype BB or BO), AB (genotype AB) and O (genotype OO). The second most important blood group system is the Rhesus system. The most significant Rhesus antigen is the RhD antigen. The Rhesus group was discovered in 1937. There are also different blood groups in non-human. More then 13 canine blood groups and eight Dog Erythrocyte Antigen (DEA) types are recognized as international standards. Recognize system of feline blood designates cats as A, B, or AB. Incase of hours, there are eight recognized blood groups. They are A, C, D, K, P, Q, T, and U. Incase of cattle, the polymorphic systems are A, B, C, F, J, L, M, S, and Z polymorphisms.There are many clinical significance of blood group like blood transfusion, hemolytic disease of the newborn (HDN) etc. In many countries, blood grouping test is compulsory to get passport, driving license, national ID card etc. In some cases, blood grouping also helps to determine heredity.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.