Trying to create a form that sends a Psuh Notification to my Android/iPhone Apps


#1

I was helped out by a coder I cannot contact any longer so decided to see if anyone here can advise.

I have a form that sends a Push Notification to my Apps.

All details in both forms are the same bar two…the link to the Android page/link to the iPhone page and the name of the App.

This is the android code I use that works:

<p align="center">Notification Message:<br />
<textarea style="width: 90%; height: 150px; margin-bottom: 30px; font-family: Verdana, Geneva, sans-serif; border-color: #000; border-width: 1px; resize: none;" name="pushmessaging"></textarea><br />
<input type="submit" class="inputbtn" value="Push" />

The coder I was dealing with gave me this code but it doesn’t work…

https://jsfiddle.net/anjLtvzy/

Anyone got any ideas??

thanks