markdown

md files called markdown.
—————————————————-

== Example ==
{|class=”wikitable”
! width=”33%” | Text using Markdown syntax
! width=”33%” | Corresponding HTML produced by a Markdown processor
! width=”33%” | Text viewed in a browser
|-valign=”top”
|# Heading

## Sub-heading

### Another deeper heading

Paragraphs are separated
by a blank line.

Two spaces at the end of a line leave a
line break.

Text attributes _italic_, *italic*, __bold__, **bold**, `monospace`.

Horizontal rule:

Bullet list:

* apples
* oranges
* pears

Numbered list:

1. apples
2. oranges
3. pears

A [link](http://example.com).

|

Heading

Sub-heading

Another deeper heading

Paragraphs are separated
by a blank line.

Two spaces at the end of a line leave a
line break.

Text attributes italic, italic, bold, bold, monospace.

Horizontal rule:


Bullet list:

  • apples
  • oranges
  • pears

Numbered list:

  1. apples
  2. oranges
  3. pears

A link.

|
{{fake heading|sub=2|Heading}}

{{fake heading|sub=3|Sub-heading}}

{{fake heading|sub=4|Another deeper heading}}

Paragraphs are separated
by a blank line.

Two spaces at the end of a line leave a
line break.

Text attributes ”italic”, ”italic”, ”’bold”’, ”’bold”’, monospace.

Horizontal rule:


Bullet list:

* apples
* oranges
* pears

Numbered list:

# apples
# oranges
# pears

A [http://example.com link].
|}

color rotator

to rotate the colors in a table without js.


echo "<_table>";
$bg1 = "#ffffff"; // background White
$bg2 = "#f2f0f0"; // background L-Gray

while($row = mysql_fetch_array($result))
{
echo "<_tr> bgcolor='$bg1'>

" . $row['id'];
echo "<_ /td><_td>" . $row['Number'];
echo "<_ /td>";
$bg3 = $bg1; // \
$bg1 = $bg2; // Color rotator
$bg2 = $bg3; // /
}
echo "<_ /tr> <_ /table>" ;

used on /4080/4080-lt-002.php 5/29/2014

More code. with code link in editor

More code. with code link in editor

3:25 PM 3/29/2016
// ======================================================above put simple query.

MAX(IF(field_name='_hdp', field_value, NULL )) AS '_hdp',
$_hsSubmits = `db295107664`.`hs_submits`;

/*
$query= "SELECT
MAX(DATE_FORMAT(FROM_UNIXTIME(submit_time), '%b %e, %Y %l:%i %p')) AS Submitted,
max(if(`field_name`='semKey1', `field_value`, null)) AS 'semKey1',
max(if(`field_name`='semKey2', `field_value`, null)) AS 'semKey2',
GROUP_CONCAT(if(`file` is null or length(`file`) = 0, null, `field_name`)) AS 'fields_with_file'
FROM `db295107664`.`hs_submits`
WHERE form_name ='jammas'
GROUP BY `submit_time`
ORDER BY `submit_time` DESC
LIMIT 0, 5
";
echo "BB";
//================================================try resultd

if ($result = $mysqli->query($query, MYSQLI_USE_RESULT)) {
if (!$mysqli->query("SET @a:='this will not work'")) {
printf("Error: %s\n", $mysqli->error);
}
$result->close();
}
// fetch object array

while ($obj = $result->fetch_object()) {
printf ("%s (%s)\n", $obj->semKey1, $obj->semKey2);
}

$result= mysqli_query($query) or die(mysqli_error());
while ($row = mysqli_fetch_array($result)) {
echo $row['Submitted']." : ".$row['semKey1']." : ".$row['semKey2']."";
echo "===============";
echo $row['fields_with_file'];
echo "";
}
echo "RR";
# while($row = mysql_fetch_array($result))
# {
# echo $row['Submitted']." :: ". $row['field_name'] . " :: ". $row['field_value'] . " :: ". $row['field_order']. "";
# echo $row['semKey1'] . "....." . $row['semKey2'] ."";
# }
// echo $result;
*/
echo " ";
?>
end

Sample for iframe popup

will include a form here and a list.
[iframe-popup id=”3″] add a gdoc for as a sample.

Timestamp
Index
Date
Code
description
Sup
4/24/2017 16:20:2245684/25/2017I..info5612..home photos12.35
4/24/2017 16:38:5778594/25/2017d..digital onlyoperationg manual for printer. mfj230k3278.85
5/16/2017 15:29:164/24/2017d..digital onlyDaily sample testgreen
5/16/2017 15:30:05454/23/2017b..bookdaily sample run yellow

—————————-
where would I like to add a form.
refresh the date

Rules for java script.

Rules for JavaScript code
using Aside format

JavaScript Standard Style

2 spaces – for indentation
Single quotes for strings – except to avoid escaping
No unused variables – this one catches tons of bugs!
No semicolons
Never start a line with (, [, or `
Space after keywords if (condition) { … }
Space after function name function name (arg) { … }
Always use === instead of == – but obj == null is allowed to check null || undefined.
Always handle the Node.js err function parameter
Always prefix browser globals with window – except document and navigator are okay
Prevents accidental use of poorly-named browser globals like open, length,
event, and name.

rules for java script

Good big search

To use the shortcode: Place [wp-ultimate-search-bar]

[wp-ultimate-search-bar] where you’d like the search bar,
– – – —
========================================================================
and [wp-ultimate-search-results]
[wp-ultimate-search-results] where you’d like the results.