Board index   FAQ   Search  
Register  Login
Board index PHP Your Scripts

Hi! Please little help: 1 form/1cell - more results!

This is where you share YOUR scripts with others

Moderators: macek, egami, gesf

Hi! Please little help: 1 form/1cell - more results!

Postby Lubaka » Fri May 18, 2012 3:14 am

Hi! I am new in programming in php, and may I receive a little help?

1. I create a form with one cell and submit button:

function INSERT_Names()
{
echo "<form action="index.php" method="POST">";
echo "<input type="text" name="name1">";
echo "<input type="submit" value="Въведи!">";
echo "</form>";
}

2. I have 4 variables
$name1;
$name2;
$name3;
$name4;

The goal is to appoint a different text value to each variable!

I tried with construction "of-else", but all variables got same value!
I tried with construction "case", but I had same result!

I know that my syntax is wrong, but I don't know how to change it!
Lubaka
New php-forum User
New php-forum User
 
Posts: 1
Joined: Fri May 18, 2012 2:45 am

Re: Hi! Please little help: 1 form/1cell - more results!

Postby tiger » Sat May 26, 2012 8:53 am

The goal is to appoint a different text value to each variable!


If I understood you correctly, this should be like this.

Code: Select all
$name1 = "Value1";
$name2 = "Value2";
$name3 = "Value3";
$name4 = "Value4";



Is that what you mean?
tiger
New php-forum User
New php-forum User
 
Posts: 4
Joined: Thu Jun 23, 2011 9:28 pm

herve leger gold dress cheapest Herve Leger on sal

Postby galloway8 » Sun May 12, 2013 6:43 am

Concern over common cold spread, as well as the spread of other viruses in schools, hospitals and other public places, should lead to increased focus on good health habits. There are over 200 viruses that cause common colds and washing with soap and warm water kills them. One of the best habits to remember in order to avoid coming down with a cold is to wash your hands before you touch your face, particularly your nose or mouth.
The rhinovirus, the virus that is most easily grown in a laboratory setting and the subject of most studies, can live for up to three hours on skin and surfaces. Once the rhinovirus enters the nose, it grows easily and infects the lining of the nose, causing sneezing, congestion, coughing and often a low grade fever. Scientists estimate that rhinoviruses cause approximately 30-35 percent of adult common colds. For unknown reasons, some people become infected with rhinoviruses and never develop symptoms, but may still be responsible for common cold spread, since the virus can still be found in nasal secretions.
Common colds are one of the leading causes of missed school days and doctor visits, even though that doctor visit may be unnecessary. Studies indicate that viruses and common cold spread in the waiting rooms of hospitals and doctor?s offices. These viruses become airborne when a person sneezes or coughs. So, another good health habit to remember, when you have a cold, is to cover your mouth when you cough or sneeze.
According to the [url=/]bcbg herve leger dresses[/url] National Institute of Allergy and Infectious Diseases (NIAID), children have about six to ten common colds per year. Adults typically have less, with the average around three, but the range varies widely. Those who work with the public and in hospitals have more than those who work at home or in small offices. People who have asthma are more susceptible to common colds than the average person. Recent studies have shown that asthmatics produce less anti-viral proteins, a function of the immune system, than normal. Supporting the belief that efforts to maintain a healthy immune system can reduce the number of colds a person has per year and thus reduce common cold spread.
Experts believe that children have more common colds than adults because daycare and school settings lead to close contact with other children. Children often forget to cover their mouths when coughing or sneezing and washing hands is not a priority for them. Many elementary schools now request that parents supply tissues and waterless alcohol-based hand washing products in [url=/]herve leger 2013[/url] an effort to reduce common cold spread in schools. Additionally, since the rhinoviruses can live for several hours on surfaces, recommendations for preventing common cold herve leger uk cheap spread include cleaning phones, stair rails, door knobs and other areas that people touch frequently with a disinfectant.
Expert opinions vary about [url=/]cheap herve leger uk[/url] the effectiveness of vitamins, minerals, herbs and other plant products for preventing and/or treating the common cold. Thousands of clinical studies have been performed, but results are not always reproducible. herve leger dress 2013 For example, two recent studies support the use of zinc nasal gels to reduce the duration of common cold symptoms, but one contradicts those findings and suggests that it is unethical to recommend a product that can cause permanent loss of the sense of smell to treat a temporary condition like the common cold. All of the studies were performed by reputable researchers, with no motive other than to help and inform the public, but when scientists cannot agree on an appropriate treatment, it leaves the general public more confused.
Health supplements that are safe and can help prevent common colds by supporting normal immune system function include; vitamin C (which works best when taken with calcium and magnesium), zinc supplements (which at herve leger dresses price normal dosages and taken in tablet form do not cause adverse side effects), green tea (a subject of numerous studies), Andrographis paniculata (which reduces flu symptoms and the likelihood of developing complications from viral infections), and many other natural substances. To learn more about how to reduce common cold spread, visit the Immune System Booster Guide.

Related articles:


herve leger cheapest Herve Leger on sale (5)

herve leger cheapest Herve Leger on sale (11)

herve leger cheapest Herve Leger on sale (11)
galloway8
New php-forum User
New php-forum User
 
Posts: 127
Joined: Mon Jan 07, 2013 3:36 am


Return to Your Scripts

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.