Category Archives: PHP
is_home() not working in my WordPress plugin
When using is_home(), is_category(), is_page() etc. in my WordPress plugin that displays category-based ads, they kept returning NULL. My problem was that I was calling this these function directly in my plugin. I resolved this by adding these call to … Continue reading
USPS Web Tools
I was trying to add the USPS API into osCommerce. I received the following error when adding this shipping module: RateV3 is not a valid API name for this protocol This is because when you create an account for the … Continue reading
Displaying Child Page Links in A Template
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 … Continue reading
php turns SQL to Excel
Thanks StarGeek for this code. this php script will write data from php using text from an SQL table (MySQL, supply your own SQL query) to a microsoft excel (.xls) file. The Excel file is specified as such by a … Continue reading