| You are here: | About>Computing & Technology>PHP / MySQL |
![]() | PHP / MySQL |
Show ColumnsThe show columns MySQL command is used to display all the columns on a given table as well as any details about them. It is phrased as: show columns from table_name;
Wednesday May 7, 2008 | permalink | comments (0) Daily RedirectionRedirecting a user to a different website, or section of your website based on the day of the week is a very simple process. This script uses a the time and date functions along with a switch loop to redirect users based on the current day.
Monday May 5, 2008 | permalink | comments (0) Function Friday: Is_Numeric ()The Is_Numeric () Function is a PHP function used to check if the input is a number. Numeric strings can include a + or -, numbers, decimals, and exponents. It can also recognize simple hex strings.
Friday May 2, 2008 | permalink | comments (0) Too many MySQL Results?If your MySQL query is returning too many results, you can split it into several pages. This tutorial explains how to use pagination to make your MySQL results more user friendly, and allow users to browse small sections of data at a time.
Tuesday April 29, 2008 | permalink | comments (0) Function Friday: Echo ()The echo () function is used to output the given argument. It can output all types of data and multiple outputs can be made with only one echo () command.
Friday April 25, 2008 | permalink | comments (1) Write to a FileIf you want to store data in a flat file, you can use the fwrite () PHP function. You must make sure that your targeted file has been opened with fopen () and has write permissions or it will not work.
Wednesday April 23, 2008 | permalink | comments (0) Function Friday: Elseif ()If you need your program to account for more than two possible outcomes (else and if) you can use the elseif () function. You can add in a third, forth, or more options using this function.
Friday April 18, 2008 | permalink | comments (0) Learn PHPLearning a new language (programming or otherwise) can be a bit overwhelming. Many people just don't know where to start and give up before they even begin. Learning PHP is NOT as overwhelming as it might seem, I promise you. Just take it one step at a time, and before you know it you'll be off and running.
Wednesday April 16, 2008 | permalink | comments (1) A Page That Never Stops LoadingThe problem is, your page never stops loading. Sometimes it keeps kicking back data as your page grows to extreme lengths, while other times it just appears to be loading forever but nothing ever actually happens. What went wrong? [read answer]
Monday April 7, 2008 | permalink | comments (0) Function Friday: Sqrt ()The SQRT () function us use to find the square root of a number. So for example SQRT (9) would return the value 3.
Friday March 28, 2008 | permalink | comments (0) Display Latest Headlines | powered by WordPress |
|
All Topics | Email Article | | | ![]() |
| Advertising Info | News & Events | Work at About | SiteMap | Reprints | Help | Our Story | Be a Guide |
| User Agreement | Ethics Policy | Patent Info. | Privacy Policy | ©2008 About, Inc., A part of The New York Times Company. All rights reserved. |


