0
The script doesnt work
The script inside echo wont show alert instead directly to header location. Whats wrong? https://code.sololearn.com/wbkb0xvxdxU8/?ref=app
1 Answer
+ 3
The if statements are not return true...
The value of the variable result is not true. Therefore it doesn't alert rather echoes out the text 'Data Gagal Disimpan' as of line 14
But you wont get time to see the text echoed as the php file has used the function header to goto another page...