| | |
help me getting started !!!
Thread Solved |
•
•
Join Date: Sep 2009
Posts: 24
Reputation:
Solved Threads: 1
hi everybody I am new to PHP
just start learning php through online tutorial
I have made one table program but getting PARSE in PRINT LINE
CODE IS GIVEN BELOW:
<html>
<head>
<title>table php file</title>
<?php
$times=2;
if(isset($_POST["submit1"]))
{
$start=$_POST["txtStart"];
$end=$_POST["txtEnd"];
$times=$_POST["txtTimes"];
for($start;$start<=$end;$start++)
{ $answer= $start * $times;
print($start. "multiplied by" .$times. "=" .$answer.) ;
}
}
?>
</head>
<body>
<form name="form1" method="post" action="table.php" size=15>
Start-Number:<input type="text" name="txtStart" value="1" size=15>
End-Number:<input type="text" name="txtEnd" value="10">
Answer<input type="text" name="txtTimes" value=<?php print $times; ?>>
<P>
<input type="submit" name="submit1" value="Answer">
<P>
</form>
</html>
just start learning php through online tutorial
I have made one table program but getting PARSE in PRINT LINE
CODE IS GIVEN BELOW:
<html>
<head>
<title>table php file</title>
<?php
$times=2;
if(isset($_POST["submit1"]))
{
$start=$_POST["txtStart"];
$end=$_POST["txtEnd"];
$times=$_POST["txtTimes"];
for($start;$start<=$end;$start++)
{ $answer= $start * $times;
print($start. "multiplied by" .$times. "=" .$answer.) ;
}
}
?>
</head>
<body>
<form name="form1" method="post" action="table.php" size=15>
Start-Number:<input type="text" name="txtStart" value="1" size=15>
End-Number:<input type="text" name="txtEnd" value="10">
Answer<input type="text" name="txtTimes" value=<?php print $times; ?>>
<P>
<input type="submit" name="submit1" value="Answer">
<P>
</form>
</html>
If your problem hasent been solved, I am personally very satisfied with XAMPP as it includes apache, mysql, filezilla and mercury in one. I haven't had any problems with it and you just place your files in the htdocs folder. You can download it at http://www.apachefriends.org/en/xampp.html.
You can place your files in the htdocs folder, for example:
The directory you store your files:
C:/xampp/htdocs/myphp/*
You can acces it by opening a browser and use as url:
http://localhost/myphp/*
Any questions?
~Graphix
You can place your files in the htdocs folder, for example:
The directory you store your files:
C:/xampp/htdocs/myphp/*
You can acces it by opening a browser and use as url:
http://localhost/myphp/*
Any questions?
~Graphix
Ditto. XAMPP is great. Using Apache will work better than IIS as it will reflect behaviour on remote sites (usually).
I can understand that you may need IIS if you use asp, otherwise switch to Apache. Current IIS php sites can be moved to the htdocs directory under xampp. You'll need to change your vhost files though.
I can understand that you may need IIS if you use asp, otherwise switch to Apache. Current IIS php sites can be moved to the htdocs directory under xampp. You'll need to change your vhost files though.
Twpsyn cythraul. Cawr y dom tarw. Gwybod dim, gofyn dim.
@ardav... ya i usually work on asp..
i am just trying to learn php...
i basically want to learn Drupal and other CMSs...
i downloaded Developerside.net package after reading about it in the drupal cookbook... but haven't had the time to install it yet...
You have any ideas about that ??
thanks
i am just trying to learn php...

i basically want to learn Drupal and other CMSs...
i downloaded Developerside.net package after reading about it in the drupal cookbook... but haven't had the time to install it yet...
You have any ideas about that ??
thanks
rEaLITy iS aN iLLUSIOn cAUSED bY lACk oF aLCOHOL....
Great tutorials links,
A simple tutorial
PHP Tutorial
A simple tutorial
PHP Tutorial
•
•
•
•
SUMMARY: PHP is a powerful tool for making dynamic and interactive Web pages.
PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.
In our PHP tutorial you will learn about PHP, and how to execute scripts on your server.
•
•
•
•
i just need help in configuring the apache server and mysql
i have installed WAMP Server...
when i go to phpMyAdmin
i get this error :
Error
MySQL said:
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
thanks..
phpmyadmin/config.inc.php then in that file change the following variable: PHP Syntax (Toggle Plain Text)
$cfg['Servers'][$i]['password'] = 'new_password_in_here';
Try not to bump 10 year old topics as it can be really annoying.
http://syntax.cwarn23.net/
My favourite PC. -- Jumba webhosting
http://syntax.cwarn23.net/
Smilies: ^_* +_+ v_v -_- *~*` Want 1 on 1 php help, add me to msn at msn@cwarn23.infoMy favourite PC. -- Jumba webhosting
![]() |
Similar Threads
- server service is not started (Networking Hardware Configuration)
- Help, im frozen and cant get started! (Windows NT / 2000 / XP)
- Started a new forum... (Social Media and Online Communities)
- want to create a reminder program, need help getting started (Computer Science)
- Re-started Windows XP need to get drivers (Windows NT / 2000 / XP)
- Started with Frontpage now want Dreamweaver (Site Layout and Usability)
- how to get started in C++ (C++)
- Help - This started out as 213.159.117.132/redir.php NOW??? (Viruses, Spyware and other Nasties)
Other Threads in the PHP Forum
- Previous Thread: PHP Development
- Next Thread: how to run php files?
Views: 714 | Replies: 20
| Thread Tools | Search this Thread |
Tag cloud for PHP
access ajax apache array beginner box buttons cakephp check checkbox class cms code cookies database date delete directory display download dropdown drupal dynamic echo email error file files folder form forms function functions header hosting href htaccess html image images include insert ip java javascript joomla jquery limit link list login loop mail menu methods mlm mod_rewrite multiple mysql order parse password paypal php problem query radio random redirect regex remote results script search security select server session sessions shopping soap sort sorting source sql string system table unicode update upload url user validation variable video web website wordpress xml






