Note that there are some explanatory texts on larger screens.

plurals
  1. PORedirecting a page doesn't work unless I refresh it first
    primarykey
    data
    text
    <p>I am trying to redirect a page to the homepage after 2 minutes</p> <p>I have tried using </p> <pre><code> &lt;meta http-equiv="REFRESH" content="120;url=http://mysite.com/index.php"&gt; </code></pre> <p>and </p> <pre><code> &lt;!-- window.setTimeout('window.location="http://mysite.com/index.php"; ',1200000); // --&gt; </code></pre> <p>Both methods work if I refresh the page - if I don't refresh the page, nothing happens</p> <p>Help</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;meta charset="utf-8"&gt; &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt; &lt;script language="javascript" type="text/javascript"&gt; &lt;!-- window.setTimeout('window.location="mysite.com/index.php"; ',2000); // --&gt; &lt;/script&gt; &lt;meta http-equiv="REFRESH" content="120;url=http://mysite.com/index.php"&gt; &lt;title&gt;Patrol Report&lt;/title&gt; &lt;link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.css" /&gt; &lt;script src="http://code.jquery.com/jquery-1.8.2.min.js"&gt;&lt;/script&gt; &lt;script src="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.js"&gt;&lt;/script&gt; &lt;style&gt; table { width:100%; } table caption { text-align:left; } table thead th { text-align:left; border-bottom-width:1px; border-top-width:1px; } table th, td { text-align:left; padding:6px;} &lt;/style&gt; &lt;/head&gt; &lt;body&gt; </code></pre> <p>index.php calls list.php</p> <pre><code>src="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.js"&gt;&lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;div data-role="page"&gt; &lt;div data-role="header"&gt; &lt;h1&gt;Mobile Patrol Report&lt;/h1&gt; &lt;/div&gt; &lt;div data-role="content"&gt; &lt;ul data-role="listview" data-theme="b"&gt; &lt;li&gt;&lt;a href="&lt;?php echo HTDOCS_URL; ?&gt;list.php?type=outward"&gt;Outward Housing Exemptions&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="&lt;?php echo HTDOCS_URL; ?&gt;list.php?type=newlon"&gt;Newlon Exemptions&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="&lt;?php echo HTDOCS_URL; ?&gt;list.php?type=octavia"&gt;Octavia Exemptions&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="&lt;?php echo HTDOCS_URL; ?&gt;list.php?type=poplar"&gt;Poplar Harca Exemptions&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="&lt;?php echo HTDOCS_URL; ?&gt;list.php?type=stadium"&gt;Stadium Exemptions&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="&lt;?php echo HTDOCS_URL; ?&gt;list.php?type=wessex"&gt;First Wessex Exemptions&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="&lt;?php echo HTDOCS_URL; ?&gt;list.php?type=christian"&gt;Christian Housing Exemptions&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="&lt;?php echo HTDOCS_URL; ?&gt;list.php?type=isha"&gt;ISHA Exemptions&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;div data-role="footer"&gt; &lt;h4&gt;&amp;COPY W8S.co.uk&lt;/h4&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>There are a nubder of sql statements that define the data shown</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload