Home   -   News   -   Game Tour   -   Screenshots   -   Rules   -   Chat   -   Contact   -   Forum
pt ro hu de es
pl it no nl en
The Land of Destiny Hero welcomes you.
Role playing game or called MMORPG free browser game
Posts

Breadcrumbs to navigate the website Homepage / Forum / Personal projects / error (2)



Topic: error (2) Post reply

Page: [1] 2 [3] [4]

Member Posted on: 24-06-2008 09:04:42
Posts: 822



Do you mean something like
echo "<input type=\"text\" value=\"" . $_POST['voornaam'] . " - is - " . $sBand . "\" />";
Alpha tester Posted on: 24-06-2008 09:47:12
Posts: 151



why it is
"<input type=\"text\"
instead of
"<input type="text"
Member Posted on: 24-06-2008 09:49:54
Posts: 822



Those quotes have to be outputted, so you'll have to escape them, otherwise, PHP thinks it's the end of the string, and in this case, will give a syntax error.
Alpha tester Posted on: 24-06-2008 09:53:01
Posts: 151



that sign between
['voornaam'] and " - is -"
what is that I can't find it on my keyb.
Developer Posted on: 24-06-2008 10:08:01
Posts: 3379



you mean the dot?
Alpha tester Posted on: 24-06-2008 10:09:07
Posts: 151



Is that a dot ;
no, that can't be
.
Alpha tester Posted on: 24-06-2008 10:09:17
Posts: 151



Damn it is
Developer Posted on: 24-06-2008 12:49:05
Posts: 3379



you can add stuff together with dots
$var = "aap";
echo "blaat" . $var;

is blaataap
Alpha tester Posted on: 24-06-2008 12:51:05
Posts: 151



Ok I've got it, thought it was some sort of - :-p
Moderator Posted on: 24-06-2008 16:55:40
Posts: 461



* instead of \" you can also just use '

Page: [1] 2 [3] [4]

You have to register or login first before you are able to reply.
LoD is a free online rts game free online MMORPG