Skip to content

Tag: php

Use Heroku config vars with PHP?

I’ve been able to find information on how to use config vars in Heroku for Python, node.js, and some other languages, but not for PHP. Can you use them with PHP, or is it not supported? This article shows how to do it for Python, Java, and Ruby, but not PHP. Answer Config vars on heroku manifest themsel…

jQuery UI sortable images

Hi I ‘d like some help please, as my skills in jQuery are not so good. What I want to achieve is to change the order of the images like this example. My database looks like this: I have also created these 2 views: index.php order_ajax.php I have also created and the order_ajax controller So what I basically w…

Double-Elimination Tournament Schedule

I’m trying to create some logic to generate a schedule of events in a double-elimination tournament bracket. Here is an example 8-team bracket: The numbers represent indices in an array of matches, which is the desired output. For example, index 0 will represent Team 1 vs. Team 8 (using a seeded system)…

Sqlite PDO query returns no results

Getting no results no matter how broad my query PHP: 5.3 Sqlite3: 3.6 PDO: 5.3.3 I would think this should be a very simple process but even looking around I still don’t know why I’m getting 0 results. Here is my code: Any ideas on what I am doing wrong? The ‘foo’ table will only have …