LiamProductions
-
Posts
496 -
Joined
-
Last visited
Never
Posts posted by LiamProductions
-
-
Hey
How do i use to functions at the same time?
I tryed heres the code:
<?php
$reverseword = isset($_POST['reverseword'])?$_POST['reverseword']:0;
echo strrev, strtolower($reverseword);
?>
Thanks, please tell me how you use to functions at the same time for future reference.
-
Oh ok, Thanks. Ill remember that.
-
Many thanks, It works now. So when reversing a word you don't need the qoutes " ?
-
Hey.
I have a problem. Im making a word reverser. And i get this error on the reversedword.php file:
Parse error: syntax error, unexpected ';' in /home/liam/public_html/reversedword.php on line 12
Reversedword.php:
<html> <head> <title>Word Reverser !!! </title> </head> <body bgcolor="black"> <font color="white"> <center> <?php $reverseword = isset($_POST['reverseword'])?$_POST['reverseword']:0; echo (strrev("$reverseword"); ?> </center> </font> </body> </html>
Thanks
-
Thanks... I like the black background i've put the writing light though
the black background makes me feel like a Coder
I guess the topic is solved.
-
Thanks JP, I just installed Wamp Server about a hour ago. Its ok.
Its loops that i mainly don't understand but i guess i will if i keep looking at loop tutorials... jEdit helps seen as i have changed the colors to suit me... I like the black background i set because i feel like a coder then
-
Ok thanks, Im new to PHP so i don't know much.
-
Ahh, so you would use arrays to do something big like that?
-
Oh ok, Thanks for the suggestion, But if i make a quiz with like 50 questions, it will take me a longer time to write out those 50 lines than when its on won't it? but i guess its worth it.
-
Yeah but if you have register globals on... you don't have to type all that out do you?
-
oh ok, but won't this make the pages more longer than normal?
-
So everytime i send data to another page i have to use...
$var = isset($_POST[''name"])?$_POST['name']:0;
echo $var
to get it on the page?
-
I need more help... How can i make it so only 10 Digits can be entered into each box...
and so only numbers can be entered?
-
well thats the answer
Its using the normal PHP addition.
-
Thanks, I noticed it should of been POST i was like what the hell... LOL
but anyway, here is the result: http://www.liamproductions.com/maths.php
-
Im new too php. So im not sure what the code you put in does, so good you please explain for the future, thanks
-
Hey, i don't want you to re write the whole program, but just fix the error or tell me what the error is:
I am making a Addition Form. The problem is use it, on the addition.php the answer always comes out as 0... the answer should be coming from maths.php here are the codes:
Maths.php
<html> <head> <title>Maths Addition</title> </head> <body bgcolor="black"> <font color="white"> <center><h1>Addition Form</h1> <form method="post" action="addition.php"> <input type="text" name="x" value="0"> <font color="red"><b>+</b></font> <input type="text" name="y" value="0"> <br /><br /> <input type="submit" value="Do the addition!"> </form> <br /><br /><br /><br /><br /><table border="1"> <tr> <td><font color="white">Made by <font color="blue">Liam Monks</font></font></td> </tr> </table> </font> </body> </html>
AND
Addition.php
<html> <head> <title>Maths Addition</title> </head> <body bgcolor="black"> <font color="white"> <center><h1>Addition Form</h1> <?php echo "The answer to your addition is..."; echo ($x + $y); ?> <br /><br /><br /><br /><br /><table border="1"> <tr> <td><font color="white">Made by <font color="blue">Liam Monks</font></font></td> </tr> </table> </font> </body> </html>
Thanks, i can't find the error
-
I think the site could go far. but when you upload your image url should come up at the end instead of going into email... and maybe one day you could make a login area so users can find there images quick
-
On your link to use page, you need to make a vertical banner to go down the side of pages...
-
You should make the hieghts a certain about of chracters because i can put 10000000000000000000000000000 and it will make your page dead big
-
I done something wrong on the answers page. I need to fix it, If you get them right it will say you did not answer them aswell
-
Hey... I checked this site like a week ago, and its improving!! Great job.
-
The only bit to critique on is the login area, Thats great... but theres no point to the site.
-
I only started like last week. ~I started because i want to make Forums, Login scripts, Poll's ect and work for sites in the future as a hobby, because i thought to my self all i do every day is go school, come home and go on msn so i thought it was pointless and thought i have to do something... then i thought do what i always wanted to do but never be bothered PHP
I've learnt few things from http://www.PHPVideoTutorials.com and a ebook i have PHP and MYSQL for the absolute beginners i can give you the ebook if you have MSN
Thats basically it.
Anime related site
in Website Critique
Posted
Nice layout. Did you make an admin panel for the blog?