of     1   

Inexorability
#139502426Monday, July 07, 2014 4:56 AM GMT

(ALERT: noob at coding websites detected) Hi. I'm making an application form for my website. Here is what I have so far (Roblox forums don't allow JS, so I took a picture of it and posted it to twitter) https://twitter.com/Eternal_Roblox/status/486009912497934337/photo/1 The problem is that I do not know PHP (:P). I want to email the variables "robloxUsername" and "appLetter" to myself. I know that there is a PHP function mail() which sends an e-mail to the designated address. 1) Is that the best method? 2) How do I integrate the PHP into my code? Thanks!
Dark_Yugi
#139502603Monday, July 07, 2014 4:58 AM GMT

A friend of mine made a great tutorial. http://www.youtube.com/watch?v=6Z3zlt31Fl0&list=TLax8j3xeI2owqOz6m0He-VQHHm7oSz937 Just apply the same things.
jknite
#139502837Monday, July 07, 2014 5:01 AM GMT

Php is simply HTML except you have a more hidden version of coding. If someone were to view the source code of the page it is hidden from their view. To use HTML functions you would use the echo command. If you need more information I suggest outsourcing to w3schools. They have a great tutorial for your HTML/JS/PHP needs. -Jknite
Inexorability
#139506484Monday, July 07, 2014 5:48 AM GMT

Thanks for the resources, but mute videos bother me and I need someone to hold my hand through this (yeah, that's right). I want to integrate this code ---- bool mail ( string $to , string $subject , string $message [, string $additional_headers [, string $additional_parameters ]] ) ---- Into my PHP onClick, but the onClick function submitForm() is in JS and the mail function is PHP... Anyone care to explain how to do this?
Inexorability
#139506658Monday, July 07, 2014 5:50 AM GMT

Into my HTML*
Inexorability
#139559696Monday, July 07, 2014 7:57 PM GMT

B
Inexorability
#139580589Monday, July 07, 2014 11:01 PM GMT

B
TheInfectedVirus
#139581510Monday, July 07, 2014 11:09 PM GMT

Simple, you just run the java code in the PHP, like add a php code into the same code you have now like ---------------- *PHP START TAG REMOVED DUE TO FILTER* if onclick or whatever, then put your java script tags after and call the function in those tags. *PHP END TAG REMOVED DUE TO FILTER* ---------------- And you do know, HTML comes with a solution to this, HTML has an onclicked method, and you just type your java code into the onclicked tag or whatever and it will run with the other java script on the page.
Inexorability
#139587294Tuesday, July 08, 2014 12:04 AM GMT

I posted the code I have on pastebin /UVZU7E66 I'm trying to create a Form that will send me some data. I have two questions: 1) I want to email some data to myself using php. I'm not sure how to incorporate the mail() function inside of the JS that fires the function onClick 2) I want it to send me 2 parts of data, one is stored in variables in HTML and the other is stored in variables in JS. I want it to e-mail me BOTH of the things in one e-mail. Thanks
Inexorability
#139591050Tuesday, July 08, 2014 12:42 AM GMT

Bump
Inexorability
#139662062Tuesday, July 08, 2014 6:17 PM GMT

B

    of     1