PLEASE HELP AS I DO THIS CODE PHP TO CONSTRUCT 2

Get help using Construct 2

Post » Fri Sep 23, 2016 1:59 am

Message: ADONAYHVH can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
function normalize($v) {
$v -= floor($v);

if($v < 0) {
$v += 1;
}
return $v;
}

$ip = normalize(($jd - 2451550.1) / 29.530588853))


I'm lost

ajax not use because I want to stay offline


PRINT http://ap.imagensbrasil.org/image/ptdrSm

Image
Last edited by ADONAYHVH on Fri Sep 23, 2016 2:04 am, edited 1 time in total.
B
9
S
2
Posts: 8
Reputation: 541

Post » Fri Sep 23, 2016 2:03 am

What is the problem?
B
45
S
15
G
73
Posts: 2,006
Reputation: 43,394

Post » Fri Sep 23, 2016 2:05 am

calculate phases of the moon and signs
B
9
S
2
Posts: 8
Reputation: 541

Post » Fri Sep 23, 2016 2:24 am

I mean what problem are you having?
B
45
S
15
G
73
Posts: 2,006
Reputation: 43,394

Post » Fri Sep 23, 2016 2:29 am

the variable ip and variable v not calculate
B
9
S
2
Posts: 8
Reputation: 541

Post » Fri Sep 23, 2016 2:30 am

who answer that is the best
B
9
S
2
Posts: 8
Reputation: 541

Post » Fri Sep 23, 2016 2:44 am

Function.param(v) isn't right. To access the first parameter use function.param(0). So maybe set v to that first.
B
91
S
31
G
103
Posts: 5,234
Reputation: 67,754

Post » Fri Sep 23, 2016 2:51 am

ImageImageImage
B
71
S
21
G
220
Posts: 3,648
Reputation: 123,725

Post » Fri Sep 23, 2016 2:52 am

Oh a screenshot has been added. The function names need to match? Calling "moonnormalize" won't do anything.
B
45
S
15
G
73
Posts: 2,006
Reputation: 43,394

Post » Fri Sep 23, 2016 3:19 am

blackhornet

Hallelujah thank you god bless you and fulfill all the desires of your heart
B
9
S
2
Posts: 8
Reputation: 541


Return to How do I....?

Who is online

Users browsing this forum: plinkie and 15 guests