Skip to content

Instantly share code, notes, and snippets.

View lynnellneri's full-sized avatar

Lynnell Neri lynnellneri

View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title></title>
</head>
<body>
<script
src="https://gist.githack.com/ncpierson/4d94970859c679a3884bfe7d00709f52/raw/3452fd99f67414be49d11689ae10055c45afd477/soundoftext.js"
type="text/javascript"
@rcotrina94
rcotrina94 / How to use Images as Radio buttons.md
Last active February 22, 2024 13:29
How to use images for radio buttons (input-radio).
<?php
// STEP 1: read POST data
// Reading POSTed data directly from $_POST causes serialization issues with array data in the POST.
// Instead, read raw POST data from the input stream.
$raw_post_data = file_get_contents('php://input');
$raw_post_array = explode('&', $raw_post_data);
$myPost = array();
foreach ($raw_post_array as $keyval) {