HTTP variables

For questions about using Classic.

Post » Fri Aug 05, 2011 10:07 pm

hi all

i have a probleme with HTTP object.
i want to put a variable in.

example :

"http://url.com/up.php?info=EditBox.Text"

but Editbox.text is recongnize as a simple text.

anyone can help me
B
12
S
3
G
2
Posts: 49
Reputation: 1,650

Post » Fri Aug 05, 2011 10:10 pm

i have find -_-
i am so noob ^^

"http://zefish.com/up.php?info="+EditBox.Text

sorry for useless post
B
12
S
3
G
2
Posts: 49
Reputation: 1,650

Post » Fri Aug 05, 2011 10:12 pm

Use &, not +.
Moderator
B
88
S
32
G
33
Posts: 3,005
Reputation: 27,432

Post » Fri Aug 05, 2011 10:15 pm

okay ,

can you explain me the difference , when i use + then work too
B
12
S
3
G
2
Posts: 49
Reputation: 1,650

Post » Fri Aug 05, 2011 10:39 pm

Under certain conditions the plus sign can work, but the ampersand sign works under all circumstances.

& -> concatenates strings
+ -> adds valuestulamide2011-08-05 22:40:45
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Fri Aug 05, 2011 10:49 pm

ok thanks for information :)
B
12
S
3
G
2
Posts: 49
Reputation: 1,650


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests