Jump to content

darkfreaks

Members
  • Content Count

    4,953
  • Joined

  • Last visited

Community Reputation

6 Neutral

About darkfreaks

  • Rank
    Prolific Member

Profile Information

  • Gender
    Male
  • Location
    Austin,Texas
  1. Invalid Arguement for Implode on line 118,122 & 125 Problem Code: $allcategories = (implode($cats,"<br>") . '<br>');
  2. fixed it up for you, had several syntax errors causing issues also using count() instead of num_row() <?php $columns = 2; if(isset($_GET['member'])) { $display = ceil(count($_GET['member'])); $rows = ($display / $columns); while ($row = $display) { $data[] = $row; } echo "<table border='1'>"; for($i = 0; $i < $rows; $i++) { echo "<tr>"; for($j = 0; $j < $columns; $j++) { if(isset($data[$i + ($j * $row)])) { echo "<td>".$data[$i + ($j * $row)]."</td>"; $count = $count+1; } } echo "</tr>"; } } ?>
  3. have you tried adding the header? response.addHeader("Access-Control-Allow-Origin","*"); // allows all domains
  4. example of how to do an offsite request using CORS: http://www.html5rocks.com/en/tutorials/cors/
×
×
  • 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.