Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
int main(int argc, char const *argv[]) {
for (int i = 0; i < 100; i++) {
printf("%d\n", 100 - i);
}
return 0;
}
## HTML file (index.php)
<head>
<script type="text/javascript">
$(document).ready(function(){
$("#button").click(function(){
var name = $("#name").val();
$.post('php.php', {name: name},
function(data){
$("#message").html(data);