Articles & Videos
PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.
I would like to change the background color of the td if any of the values equals 1. I want to try to avoid creating if statements for every line.
Here is the code:
Hi experts, How to install php in Windows xp? is there any installer intended for this OS?
I'm replacing some deprecated code and I've encountered something I don't recognize. It's the formatting of a particular result and I'm needing someone to help me figure out what this result will look…
How can I make a webpage
Where people can drag files onto a destination bin icon, maybe big files, with many different destination bins to choose from on the page
and it uploads the file to my …
The company I'm working for has their database connection happening according to a convention I'm having a hard time tracing. Here's what they've got:
On their page, they start by calling a file …
Here's my code:
I get this error: Call to a member function bindValue() on boolean in C:\wamp64\www\adm\term_cla
How can this be reading a "true" or "false" …
I have a php/ajax search whereby once the company representative is logged in, they can search for one of their coupons instead of having to scroll to find them.
When they search, the results …
I've set up WAMP more than once, but this is the first time I've run into this.
Downloaded the .exe file, went to run it and got this:
Any idea what I'm doing wrong?
64 bit...everything …
I am just trying to figure out what third party plugin that has been used to add this flight info to this page
I know about amadeus…
When I use the following code on the remote server, it works when making DB calls.
However, when I try the same on the wamp64 localhost on my Windows 7 Pro system I get the error message …
hello i have code below which checks to see if Teamname is in database : i would like to also add a check Email...
we have a internal web site that has a staff search. It query's ldap with php and pulls the users info out and nicely displays in on the website with php.
The code pulls the users email address …
I am getting the following eror, however, I cannot figure out what it is. What am I overlooking?
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE: Syntax error or …
I have been attempting to create a simple function in phpMyAdmin for the better part of an hour now with absolutely no success. The function is simple, nothing more than a select from a table where a…
Am trying to create a custom page in wordpress that will show the post . But when i give the pagination previous_posts_link() ; and next_posts_link( ); it doesn't work . Please see the …
So I built a website where customers can request a quote. The mystery is that client will receive the quote and then days, weeks, sometimes months later they will receive the quote again. Exact …
I have a query that pulls Wordpress Posts. I want to pull all of the posts from the DB, however, I need to make sure that the total is divisible by 3. So if there are are 62 posts it will only pull …
Here's my SELECT:
select pymt.*, pgm.program,
payment pymt INNER JOIN programs pgm ON
(pgm.program='After School' or pgm.program='Camp')
This should be easy, but I'm missing something. What...?
I only get my last name. I don't get both my first and last name. Why?
I am just getting into a little php and programming and I would like to know what something like
If ($sMap != "") what does !="" mean and what does "" and " " on its own generally mean?
I am displaying the number of stars based on a rating. So, if the number in the database is 3, then 3 stars should appear. If the number is 4, 4 stars should appear.
The problem is that I can't …
I am using a Google map API. I am using a simple PHP script to populate the markers on the map.
It works very well.
I would like to add a key or checkboxes to the map that will show …
Is there a way to gnupg encrypt a PDF document.
i can use $mpdf->SetProtection and that works fine but would like to encrypt stronger.
I have make a code for password encryption with crypt Function using CRYPT_BLOWFISH hashing method :
Now I want to get the encrypted password and with someway de-crypt it so to handle this …
Foreword In the years since this article was written, numerous hacking attacks have targeted password-protected web sites. The storage of client passwords has become a subject of much dis…
Introduction This article is very old, and while most of its principles are sound, PHP programming has changed a lot in the last decade. For that reason, I've updated this information in another arti…
McLean, VA, United States
34,221 points this week
Cape Town, South Africa
5,281 points this week
4,743 points this week
Wallis and Futuna
4,668 points this week
3,827 points this week