Note that there are some explanatory texts on larger screens.

plurals
  1. POmysql_fetch_array() expects parameter 1 - wordpress plugin error
    primarykey
    data
    text
    <blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://stackoverflow.com/questions/2697438/mysql-fetch-array-expects-parameter-1-to-be-resource-problem">mysql_fetch_array() expects parameter 1 to be resource problem</a> </p> </blockquote> <blockquote> <p>Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/skidrowg/public_html/wp-content/plugins/astickypostorderer/croer-transact.php on line 19 errr:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1</p> </blockquote> <p>Here is the croer-transact.php code:</p> <pre><code>&lt;?php $croer_list = $_POST; $croer_action = $croer_list[submit]; require_once('croer-functions.php'); if ($croer_action == 'Save and Refresh') { // lets clean up the incomming $croer_ins_buffer = array(); // to hold what needs to be inserted foreach ($croer_list as $croer_pid =&gt; $croer_element) { if ((!strncmp($croer_pid, 'pid', 3))&amp;&amp;($croer_element!='')) { $croer_ins_buffer[substr($croer_pid,3)]=$croer_element; } } } $croer_cat = $croer_list[croer_cat]; if ($croer_ins_buffer) { asort($croer_ins_buffer); } $croer_old_sorts = croer_get_just_sorted($croer_cat); while ($row= mysql_fetch_array($croer_old_sorts)) { $croer_old_sorts_r[$row[post_id]]=$row[post_rank]; } if ($croer_old_sorts_r) { asort($croer_old_sorts_r); } // loop through ellements to insert in new array // keep offset $c_new_inserts=array(); $c_removals=array(); $c_ofset=0; if ($croer_ins_buffer) { echo "&lt;!-- &gt;We have insertions&lt; --&gt;"; </code></pre>
    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.
 

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