Jump to content

Jayfromsandiego

Members
  • Content Count

    22
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Jayfromsandiego

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. That looks nice. I was only able to get the Input. I'm trying, <?php // Get the input string of comma-separated numbers // explode into an array and trim off any spaces $input_str = "572, 545, 884, 123, 802, 337, 879, 307, 759, 227, 211, 002, 968, 532, 459, 895, 681, 967, 580, 399, 664, 077, 307, 227, 461, 594, 645, 859, 484, 827, 618, 675, 302, 246, 007, 842, 471, 006, 161, 171"; $input_arr = array_map('trim', explode(',', $input_str)); // now split each number into a 3-element array // and store in $input foreach ($input_arr as $n) { $input[] = str_split($n, 1); } // get the counts in each position $freqs = array_fill_keys(range(0,9), [0,0,0]); for ($pos=0; $pos<3; $pos++) { $digits = array_column($input, $pos); $occurs = array_count_values($digits); foreach ($occurs as $n => $tot) { $freqs[$n][$pos] += $tot; } } ?> <html> <head> <title>Digit Frequency Box</title> </head> <body> <!-- INPUT Table --> <table border="1" width="30%"> <tr><p><b>Input</b></p> <td bgcolor="#F5F5DC"><span style="font-family: verdana,arial,helvetica; font-size: 14px; font-weight: color: #000000;"><?php echo "$input_str"; ?></span></td> </tr> </table> <!-- Digit Frequencies Table --> <table border="1"> <tr><p><b>Digit Frequencies</b></p> <tr><td bgcolor="#00994c"><span style="font-family: verdana,arial,helvetica; font-size: 14px; font-weight: bold; color: #ffffff;">DIGIT</span></td><td bgcolor="#00994c"><span style="font-family: verdana,arial,helvetica; font-size: 14px; font-weight: bold; color: #ffffff;">P1</span></td><td bgcolor="#00994c"><span style="font-family: verdana,arial,helvetica; font-size: 14px; font-weight: bold; color: #ffffff;">P2</span></td><td bgcolor="#00994c"><span style="font-family: verdana,arial,helvetica; font-size: 14px; font-weight: bold; color: #ffffff;">P3</span></td><td bgcolor="#00994c">&nbsp;</td><td bgcolor="#00994c"><span style="font-family: verdana,arial,helvetica; font-size: 14px; font-weight: bold; color: #ffffff;">DIGIT TOTALS</span></td></tr> <tr><td><b>0</b></td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;=</td><td>&nbsp;</td></tr> <tr><td><b>1</b></td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;=</td><td>&nbsp;</td></tr> <tr><td><b>2</b></td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;=</td><td>&nbsp;</td></tr> <tr><td><b>3</b></td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;=</td><td>&nbsp;</td></tr> <tr><td><b>4</b></td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;=</td><td>&nbsp;</td></tr> <tr><td><b>5</b></td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;=</td><td>&nbsp;</td></tr> <tr><td><b>6</b></td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;=</td><td>&nbsp;</td></tr> <tr><td><b>7</b></td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;=</td><td>&nbsp;</td></tr> <tr><td><b>8</b></td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;=</td><td>&nbsp;</td></tr> <tr><td><b>9</b></td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;=</td><td>&nbsp;</td></tr> </table> <div>&nbsp;</div> <!-- FINAL DIGIT :: DISTRIBUTION LINE Table --> <table border="1"> <tr><p><b>DISTRIBUTION LINE</b></p> <td bgcolor="#F5F5DC">&nbsp; <b>?</b> - <b>?</b> - <b>?</b> - <b>?</b> - <b>?</b> - <b>?</b> - <b>?</b> - <b>?</b> - <b>?</b> - <b>?</b> &nbsp;</td> </tr> </table> </body> </html> but I still have no idea how to grab and insert the individual digit data and put it inside PHP echo statements so they appear on the table columns.
  2. Hi Barand. So like this .. but how do I get 3-digit numbers inside the array to work <?php // display count to values $input = []; for ($i=0; $i<5; $i++) { $input[] = str_split(sprintf('%03d',mt_rand(1,999)), 1); } $p1 = array_column($input, 0); $p2 = array_column($input, 1); $p3 = array_column($input, 2); $arr = array(912,296,325,249,125,530); $result = array_count_values($arr); echo "DIGIT FREQUENCY RESULTS ..<br><br>"; for ($d=0; $d<10; $d++) { echo "{$d}s : " . ($result[$d] ?? 0) . '<br>'; } ?> <html> <body> <div>&nbsp;</div> <div> * Need to find out how to count 3-digit number strings inside an array. It currently counts single digits only. </div> </body> </html>
  3. Please see the attached file for what I am trying to accomplish. This PHP code is what I have so far .. <?php // display count to values $arr = array('9','2','3','2','1','5'); $result = array_count_values($arr); echo "DIGIT FREQUENCY RESULTS ..<br><br> 0s: $result[0]<br> 1s: $result[1]<br> 2s: $result[2]<br> 3s: $result[3]<br> 4s: $result[4]<br> 5s: $result[5]<br> 6s: $result[6]<br> 7s: $result[7]<br> 8s: $result[8]<br> 9s: $result[9]"; ?> <html> <body> <div>&nbsp;</div> <div> * Need to find out how to count 3-digit number strings inside an array. It currently counts single digits only. </div> </body> </html>
  4. Barand. You are the man. You have outdone yourself again. That's exactly what I was trying to code. Thank you so much. 😁 Now I need to dive in this code and learn exactly where everything goes and why it works. gw1500se your advice is appreciated as well. My head is upside down right now I think I need to take a break and step away from the code for a while before I return to it.
  5. I don't need a break tag, I just need to give the output some spacing. Also, lets forget about the actual color appearing on the browser. I'm not concerned with that part. I only need help with the PHP code that provides the actual words either "Black" or "Red" to appear beside each number. (Even numbers are BLACK and odd numbers are RED) I can't seem to figure out why it will not work. πŸ™
  6. <?php error_reporting(0); $position1 = $_POST['p1']; $position2 = $_POST['p2']; $position3 = $_POST['p3']; $position4 = $_POST['p4']; $position5 = $_POST['p5']; if ($_POST['clear']) { $position1=""; $position2=""; $position3=""; $position4=""; $position5=""; $message1=""; $message2=""; $message3=""; $message4=""; $message5=""; } if ($_POST['send']) { $message1 = "P1:" ."\r\n" .$position1; // to create space we typed in ."\r\n" $message2 = "P2:" ."\r\n" .$position2; $message3 = "P3:" ."\r\n" .$position3; $message4 = "P4:" ."\r\n" .$position4; $message5 = "P5:" ."\r\n" .$position5; } ?> </div> <!-- START :: Input Form --> <div align="center"> <form action = "" method = "POST"> <body> <table border="0"> <tr> <td> P1: </td> <td> <input type = text name = p1 value = "<?php echo $position1;?>" size="2" autofocus></td> <td> P2: </td> <td> <input type = text name = p2 value = "<?php echo $position2;?>" size="2"></td> <td> P3: </td> <td> <input type = text name = p3 value = "<?php echo $position3;?>" size="2"></td> <td> P4: </td> <td> <input type = text name = p4 value = "<?php echo $position4;?>" size="2"></td> <td> P5: </td> <td> <input type = text name = p5 value = "<?php echo $position5;?>" size="2"></td> <tr> <td colspan="10">&nbsp;</td> </tr> <tr> <td colspan="10" align="center"> <p> <input type = "submit" name="send" value = "GET POSITION COLORS" title="Click here to display color values."> <input type = "submit" name="clear" value = "RESET" title="Click here to clear text boxes."> </p> <?php echo "<br><br>"; echo "<font face='arial' size='4'>"; echo $message1 ."\r\n" .$color1; $color1 = $_REQUEST['$position1']; if ($position1 == "2,4,6,8,10") echo "Black"; elseif ($position1 == "1,3,5,7,9") echo "Red"; else echo "This number is not in game range."; echo "<br>"; echo $message2 ."\r\n" .$color2; $color2 = $_REQUEST['$position2']; if ($position2 == "2,4,6,8,10") echo "Black"; elseif ($position2 == "1,3,5,7,9") echo "Red"; else echo "This number is not in game range."; echo "<br>"; echo $message3 ."\r\n" .$color3; $color3 = $_REQUEST['$position3']; if ($position3 == "2,4,6,8,10") echo "Black"; elseif ($position3 == "1,3,5,7,9") echo "Red"; else echo "This number is not in game range."; echo "<br>"; echo $message4 ."\r\n" .$color4; $color4 = $_REQUEST['$position4']; if ($position4 == "2,4,6,8,10") echo "Black"; elseif ($position4 == "1,3,5,7,9") echo "Red"; else echo "This number is not in game range."; echo "<br>"; echo $message5 ."\r\n" .$color5; $color5 = $_REQUEST['$position5']; if ($position5 == "2,4,6,8,10") echo "Black"; elseif ($position5 == "1,3,5,7,9") echo "Red"; else echo "This number is not in game range."; echo "</font>"; ?> </td> </tr> </table> </form> </div> <!-- END :: Input Form --> </body> </html>
  7. I am working on a form that takes in 5 numbers as INPUT (the number range is from 1 to 10). Then, the OUTPUT will display the 5 numbers entered with their associated color. I am having problems getting the color value to show on the browser. Can someone please help as to what I am doing wrong? Below is the code I have so far. <?php error_reporting(0); $position1 = $_POST['p1']; $position2 = $_POST['p2']; $position3 = $_POST['p3']; $position4 = $_POST['p4']; $position5 = $_POST['p5']; if ($_POST['clear']) { $position1=""; $position2=""; $position3=""; $position4=""; $position5=""; $message1=""; $message2=""; $message3=""; $message4=""; $message5=""; } if ($_POST['send']) { $message1 = "P1:" ."\r\n" .$position1 ."\r\n" .$color1; // to create space we typed in ."\r\n" $message2 = "P2:" ."\r\n" .$position2 ."\r\n" .$color2; $message3 = "P3:" ."\r\n" .$position3 ."\r\n" .$color3; $message4 = "P4:" ."\r\n" .$position4 ."\r\n" .$color4; $message5 = "P5:" ."\r\n" .$position5 ."\r\n" .$color5; $color1 = $position1; if ($position1 == "2,4,6,8,10") echo "Black"; elseif ($position1 == "1,3,5,7,9") echo "Red"; else echo "Number entered is not in game range."; $color2 = $position2; if ($position2 == "2,4,6,8,10") echo "Black"; elseif ($position2 == "1,3,5,7,9") echo "Red"; else echo "Number entered is not in game range."; $color3 = $position3; if ($position3 == "2,4,6,8,10") echo "Black"; elseif ($position3 == "1,3,5,7,9") echo "Red"; else echo "Number entered is not in game range."; $color4 = $position4; if ($position4 == "2,4,6,8,10") echo "Black"; elseif ($position4 == "1,3,5,7,9") echo "Red"; else echo "Number entered is not in game range."; $color5 = $position5; if ($position5 == "2,4,6,8,10") echo "Black"; elseif ($position5 == "1,3,5,7,9") echo "Red"; else echo "Number entered is not in game range."; } ?> </div> <!-- START :: Input Form --> <div align="center"> <form action = "" method = "POST"> <body> <table border="0"> <tr> <td> P1: </td> <td> <input type = text name = p1 value = "<?php echo $position1;?>" size="2" autofocus></td> <td> P2: </td> <td> <input type = text name = p2 value = "<?php echo $position2;?>" size="2"></td> <td> P3: </td> <td> <input type = text name = p3 value = "<?php echo $position3;?>" size="2"></td> <td> P4: </td> <td> <input type = text name = p4 value = "<?php echo $position4;?>" size="2"></td> <td> P5: </td> <td> <input type = text name = p5 value = "<?php echo $position5;?>" size="2"></td> <tr> <td colspan="10">&nbsp;</td> </tr> <tr> <td colspan="10" align="center"> <input type = "submit" name="send" value = "GET POSITION COLORS" title="Click here to display color values."> <input type = "submit" name="clear" value = "RESET" title="Click here to clear text boxes."> <?php echo "<br><br>"; echo "<font face='arial' size='4'>"; echo $message1; echo "<br>"; echo $message2; echo "<br>"; echo $message3; echo "<br>"; echo $message4; echo "<br>"; echo $message5; echo "</font>"; ?> </td> </tr> </table> </form> </div> <!-- END :: Input Form --> </body> </html> ----- EOF ----
  8. I am trying to get this form to submit, but it doesn't go anywhere. I checked the browser console and I see "Failed to load resource: the server responded with a status of 500 (Internal Server Error)". Can someone help me resolve this error? CODE: <html> <head> <title>PICK 5 :: 13 Ticket System (3 of 5 WHEEL)</title> <style> .wrap{ text-align:center; width:900px; margin: 0 auto; } .row{ margin: 18px 0; } .input{ border:1px solid #ccc; width:800px; float:left; margin:10px; } .output{ width:700px; margin:0 auto; text-align:left; } .output .str{ } .output .number{ font-weight:bold; margin-right:5px; } .clear{ clear:both; } </style> </head> <body bgcolor="#F5F5F5"> <div class="wrap"> <form method="post" action=""> <div class="row"><p><span style="font-weight: bold; color: #0000FF;">PICK 5 :: 13 Ticket System (3 of 5 WHEEL)</span></p> <p>(Guaranteed <span style="font-weight: bold; color: #0080ff;">3-WIN</span>, if 5 of the numbers drawn are in your set of 15 numbers)</p> <label>Please enter 15 numbers and separate them with a comma ","<br></label> <input type="text" name="num" value="<?= isset($_POST['num'])?$_POST['num']:'1,2,3,4,5,6,7,8,9,10,11,12,13,14,15' ?>" /> </div> <div class="row"><input type="submit" name="submit" value="Go" /> </div><br> <?php if(isset($_POST['submit'])){ $num = $_POST['num']; $num_array = explode(',',$num); $alpha_array = array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O'); $array1 = array(); for($i=0; $i<15; $i++) { $array1[$alpha_array[$i]] = trim($num_array[$i]); } $array2 = array( array('A', 'B', 'C', 'L', 'M'), // Start 15# (3if5 Wheel) - 13 Lines array('A', 'B', 'D', 'H', 'I'), // Where .. (A1, B2, C3, D4, E5, F6, G7, H8, I9, J10, K11, L12, M13, N14, O15) array('A', 'C', 'G', 'H', 'O'), array('A', 'E', 'K', 'N', 'O'), array('A', 'F', 'G', 'J', 'L'), // LINE 5 array('B', 'D', 'F', 'L', 'O'), array('B', 'E', 'F', 'G', 'I'), array('B', 'H', 'J', 'K', 'N'), array('C', 'D', 'E', 'F', 'J'), array('C', 'I', 'K', 'L', 'N'), // LINE 10 array('D', 'G', 'K', 'M', 'N'), array('E', 'F', 'H', 'L', 'M'), array('F', 'I', 'J', 'M', 'O'), // LINE 13 ); $data = ""; foreach($array2 as $arr){ $data1 = ""; foreach($arr as $a){ $data1 .= $array1[$a] . ', '; } $data[] = rtrim($data1,', '); } ?> <div class="output"> <?php foreach($data as $k=>$v){ echo '<span class="number">'.($k+1) . '.</span><span class="str">' . $v . '</span><br>'; } } ?> </div> <div class="clear"></div> </form> </div> </body> </html>
  9. Barand that's exactly what I needed. Thank you for pointing that reference point again.
  10. Thank you for your help and suggestions, as always requinix. πŸ™‚ I think I am also going to look into >> array_diff($a, $b),
  11. Hello group. I need some help with my code. <?php $a1 = array("line1"=>"1-2-3-10-14","line2"=>"1-2-3-10-34","line3"=>"1-2-7-16-35","line4"=>"1-2-3-17-19","line5"=>"2-5-11-15-32"); $a2 = array("inputnumber"=>"1-2-3-10-34"); $result = array_intersect($a1,$a2); print_r($result); ?> Right now, I can only search and find an exact match of all 5-Numbers. I want to code a PHP form that will take a (5-number string) as input and then compare that string against an array database of (5-number strings) to find all matching number occurrences for each β€œLINE 1 thru LINE 5”. For instance, if I were to type the 5-number string β€œ1-2-3-10-34” as input. The Output populated results would look like this ..
  12. Thank you for the advice requinix, but I think this whole programming thing is over my head. I am seriously upset that I can't get this stuff to work.
  13. index.html <!DOCTYPE html> <html> <head> <title>Html CRUD with Pure JavaScript</title> <link rel="stylesheet" href="styles.css"> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> </head> <body><!-- SOURCE CODE: https://github.com/CodAffection/Pure-JavaScript-CRUD-Operations-with-Html --> <div align="left"><!-- CRUD stands for create, read, update and delete. These are the four basic functions of persistent storage. Also, each letter in the acronym can refer to all functions executed in relational database applications and mapped to a standard HTTP method, SQL statement or DDS operation. --> <span style="font-family: verdana,arial,helvetica; font-size: font-weight: bold; 15px; color: #FF0000;">Horse Racing</span> - <span style="font-family: verdana,arial,helvetica; font-size: font-weight: bold; 15px; color: #808080;">APP</span></div> <div>&nbsp;</div> <div style="overflow-x:auto;"> <table bgcolor="#F5F5F5"><!-- BEGIN (Table Input Form) --> <tr> <td> <form onsubmit="event.preventDefault();onFormSubmit();" autocomplete="off"> <div> <label>Date*</label><label class="validation-error hide" id="colDateValidationError">This field is required.</label> <input type="text" name="colDate" id="colDate"> </div> <div> <label>Play List</label> <input type="text" name="colPlaylist" id="colPlaylist"> </div> <div> <label>Winning Numbers</label> <input type="text" name="colWinningnumbers" id="colWinningnumbers"> </div> <div> <label>Won or Lost</label> <input type="text" name="colWonlost" id="colWonlost"> </div> <div> <label>Amount Won</label> <input type="text" name="colAmountwon" id="colAmountwon"> </div> <div> <label>Investment Wager</label> <input type="text" name="colWager" id="colWager"> </div> <div> <label>Profit / Loss</label> <input type="text" name="colProfitloss" id="colProfitloss"> </div> <div class="form-action-buttons"> <input type="submit" value="Submit"> </div> </form> </td> <td> <table class="list" id="numberList"><!-- BEGIN (Table to list all records) --> <thead> <tr> <th>Date</th> <th>Play List</th> <th>Winning Numbers</th> <th>Won or Lost</th> <th>Amount Won</th> <th>Investment Wager</th> <th>Profit / Loss</th> <th></th> </tr> </thead> <tbody> </tbody><!-- START Column (Profit / Loss - Bottom Row "Total Box") --> <tr> <td bgcolor="#FF0000"><span style="font-family: verdana,arial,helvetica; font-size: 12px; color: #FFFFFF;">TOTAL:</span></td> <td colspan="5">&nbsp;</td> <td bgcolor="#FFFF99">&nbsp;$0</td> <td>&nbsp;</td> </tr> </table> </td> </tr> </table> <script src="script.js"></script> </body> </html> script.js var selectedRow = null function onFormSubmit() { if (validate()) { var formData = readFormData(); if (selectedRow == null) insertNewRecord(formData); else updateRecord(formData); resetForm(); } } function readFormData() { var formData = {}; formData["colDate"] = document.getElementById("colDate").value; formData["colPlaylist"] = document.getElementById("colPlaylist").value; formData["colWinningnumbers"] = document.getElementById("colWinningnumbers").value; formData["colWonlost"] = document.getElementById("colWonlost").value; formData["colAmountwon"] = document.getElementById("colAmountwon").value; formData["colWager"] = document.getElementById("colWager").value; formData["colProfitloss"] = document.getElementById("colProfitloss").value; return formData; } function insertNewRecord(data) { var table = document.getElementById("numberList").getElementsByTagName('tbody')[0]; var newRow = table.insertRow(table.length); cell1 = newRow.insertCell(0); cell1.innerHTML = data.colDate; cell2 = newRow.insertCell(1); cell2.innerHTML = data.colPlaylist; cell3 = newRow.insertCell(2); cell3.innerHTML = data.colWinningnumbers; cell4 = newRow.insertCell(3); cell4.innerHTML = data.colWonlost; cell5 = newRow.insertCell(4); cell5.innerHTML = data.colAmountwon; cell6 = newRow.insertCell(5); cell6.innerHTML = data.colWager; cell7 = newRow.insertCell(6); cell7.innerHTML = data.colProfitloss; cell7 = newRow.insertCell(7); cell7.innerHTML = `<a onClick="onEdit(this)">Edit</a> <a onClick="onDelete(this)">Delete</a>`; } function resetForm() { document.getElementById("colDate").value = ""; document.getElementById("colPlaylist").value = ""; document.getElementById("colWinningnumbers").value = ""; document.getElementById("colWonlost").value = ""; document.getElementById("colAmountwon").value = ""; document.getElementById("colWager").value = ""; document.getElementById("colProfitloss").value = ""; selectedRow = null; } function onEdit(td) { selectedRow = td.parentElement.parentElement; document.getElementById("colDate").value = selectedRow.cells[0].innerHTML; document.getElementById("colPlaylist").value = selectedRow.cells[1].innerHTML; document.getElementById("colWinningnumbers").value = selectedRow.cells[2].innerHTML; document.getElementById("colWonlost").value = selectedRow.cells[3].innerHTML; document.getElementById("colAmountwon").value = selectedRow.cells[4].innerHTML; document.getElementById("colWager").value = selectedRow.cells[5].innerHTML; document.getElementById("colProfitloss").value = selectedRow.cells[6].innerHTML; } function updateRecord(formData) { selectedRow.cells[0].innerHTML = formData.colDate; selectedRow.cells[1].innerHTML = formData.colPlaylist; selectedRow.cells[2].innerHTML = formData.colWinningnumbers; selectedRow.cells[3].innerHTML = formData.colWonlost; selectedRow.cells[4].innerHTML = formData.colAmountwon; selectedRow.cells[5].innerHTML = formData.colWager; selectedRow.cells[6].innerHTML = formData.colProfitloss; } function onDelete(td) { if (confirm('Are you sure to delete this record ?')) { row = td.parentElement.parentElement; document.getElementById("numberList").deleteRow(row.rowIndex); resetForm(); } } function validate() { isValid = true; if (document.getElementById("colDate").value == "") { isValid = false; document.getElementById("colDateValidationError").classList.remove("hide"); } else { isValid = true; if (!document.getElementById("colDateValidationError").classList.contains("hide")) document.getElementById("colDateValidationError").classList.add("hide"); } return isValid; } styles.css body > table{ width: 80%; } table{ border-collapse: collapse; } table.list{ width:100%; } td, th { border: 1px solid #dddddd; text-align: left; padding: 8px; } tr:nth-child(even),table.list thead>tr { background-color: #dddddd; } input[type=text], input[type=number] { width: 100%; padding: 12px 20px; margin: 8px 0; display: inline-block; border: 1px solid #CCC; border-radius: 4px; box-sizing: border-box; } input[type=submit]{ width: 30%; background-color: #FF0000; color: #FFF; padding: 14px 20px; margin: 8px 0; border: none; border-radius: 4px; cursor: pointer; } form div.form-action-buttons{ text-align: right; } a{ cursor: pointer; text-decoration: underline; color: #0000ee; margin-right: 4px; } label.validation-error{ color: red; margin-left: 5px; } .hide{ display:none; }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.