You are here:
| Subject | Date Asked | Expert |
| Query missing One row frow output. | 12/25/2011 | Anthony Levensalor |
| Q: I have two questions: Question # 1: Sir I am using WAMP on Windows 7 and trying to retrieving data ... A: 1. This code displays all of the output rows for me on my database. How are you determining how many ... | ||
| php Errors | 12/5/2011 | Ajay Raisinghani |
| Q: I was wondering if you'd be willing to go over my php script and “clean-up” the errors for me? One ... A: you can use to set a default error handler ,you can use set_error_handler("customError"); where ... | ||
| Reg:Voice and video Chat using PHP | 12/1/2011 | Tsynique |
| Q: SIr, how to create text chatting using php.how to create a video and voice chat using php.if ... A: Creating a text chat is possible in PHP, however I suggest google some already created web chat ... | ||
| php submit form | 11/24/2011 | Anthony Levensalor |
| Q: i have designed a registration form in html(registration.html) and to insert user details in ... A: Your Apache server is not handling the request as PHP, but as an unknown file type. To remedy this, ... | ||
| Help Needed | 10/7/2011 | Robert Davis |
| Q: hope that this email finds you well, I need to have an " email to " form in my website. I guess I'm ... A: The first thing I would suggest is removing the @ before the mail function. That is used to ... | ||
| insert different code, based on URL/domain | 9/19/2011 | Kevin Cackler |
| Q: We are wanting to split test domain names to see which converts best. For example: ... A: I'm not always super-fast to respond, I suppose. Sorry for the late reply! So your problem is ... | ||
| insert different code, based on URL/domain | 9/19/2011 | Kevin Cackler |
| Q: We are wanting to split test domain names to see which converts best. For example: ... A: Luckily, this one is a simple one to answer. In your PHP code, wherever you want to insert the ... | ||
| php generated xml | 9/8/2011 | Kevin Cackler |
| Q: Okay... here i am again. Got a big problem. (what's new?) lol What I am trying to do is get my ... A: The code I sent should work fine. The flash file only cares about the syntax of the document, and ... | ||
| php generated xml | 9/8/2011 | Kevin Cackler |
| Q: Okay... here i am again. Got a big problem. (what's new?) lol What I am trying to do is get my ... A: I might be misreading the question, but I don't understand what the problem is. Here is how I would ... | ||
| Dynamic Web Site ( index.html or index.php ) ? | 8/21/2011 | Kevin Cackler |
| Q: Kevin, how are you doing Sir? My question is, when designing a Dynamic Web Site does one use ... A: Martin - The file extension is actually completely meaningless. A file of ANY extension can be ... | ||
| Preventing Form Re-Submission PHP | 8/18/2011 | Kevin Cackler |
| Q: I have a complicated form in that it has more than the usual contact form fields, including checkbox ... A: Sorry for the late reply. I had something all typed up, hit "Submit" and found that my session had ... | ||
| Automatic addition of word 'Array' in mysql | 7/30/2011 | Anthony Levensalor |
| Q: I am trying to insert image path, username and a caption in database. Following code I am using ... A: Sorry for the delay in response, things became very busy for me over the weekend. This line: ... | ||
| Array Construction | 7/25/2011 | Kevin Cackler |
| Q: I have 3 comma separated lists as given below. ID = '901,947,925' ; Month= '1,2,3' ; Sales= ... A: The most simple way to accomplish this, so far as I can come up with, is to convert each string to ... | ||
| Strict Standards: Non-static method Mail::factory() should not be called statically in C:\PHP\www\email.php on line 20 | 6/24/2011 | Ajay Raisinghani |
| Q: now however, these error messages pop up : Strict Standards: Non-static method Mail::factory() ... A: can i have the code, which is generating the error still i can suggest code like <? ... | ||
| require_once(C:\PHP\www\PEAR.php) | 6/23/2011 | Kevin Cackler |
| Q: I'm pretty new at all this still, and was wondering if anyone could point me in the right direction ... A: Pete - The error indicates that Mail.php is trying to include 'PEAR.php' and that it cannot find the ... | ||
| MUST ISSUE STARTTLS ERROR | 6/21/2011 | Anthony Levensalor |
| Q: Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command ... A: I normally see this with gmail smtp servers. Usually, the problem comes down to bad ini settings for ... | ||
| insert different URL's into page, based on | 6/19/2011 | Kevin Cackler |
| Q: I know some CGI, but trying to learn PHP, but messing it up a lot =( ... I really need your ... A: Sorry Sam (again) for the late reply. Your follow-up went to my spam folder. Anyway - Now that ... | ||
| insert different URL's into page, based on "get" | 6/17/2011 | Kevin Cackler |
| Q: I know some CGI, but trying to learn PHP, but messing it up a lot =( ... I really need your ... A: and thanks for the question. First of all, please allow me to apologize for the untimely response. ... | ||
| redirects, google _link error | 6/15/2011 | Anthony Levensalor |
| Q: You've helped me before (thank you very much =) and I'm hopeful you can do it again. I like to ... A: Sorry for the delay in response, I've been super busy on a project and just now got the time. Add ... | ||
| Search Script Part II | 5/24/2011 | Anthony Levensalor |
| Q: this is a follow-up to a previous posting. your previous suggestions are partially working. ... A: $nativity = empty($_POST['nativity']) ? null : mysql_escape_string($_POST['nativity']); $wetland = ... | ||
| Search Script | 5/24/2011 | Anthony Levensalor |
| Q: I'm trying to use a form with drop-down lists to select specific items from a mysql database ... A: It looks to me like you might want to be doing an AND query instead of an OR. Change the instances ... | ||
| Search Script | 5/19/2011 | Anthony Levensalor |
| Q: I'm trying to use a form with drop-down lists to select specific items from a mysql database ... A: I wouldn't handle this entirely in the SQL query, I would generate and append to the query as ... | ||
| Get value from mysql | 5/19/2011 | Anthony Levensalor |
| Q: I have a web-based mysql database. I have a routine that can return a value from the database, but ... A: The trick here is to get the value to your local machine from a server-based language, or at least ... | ||
| PHP Checkbox form | 5/10/2011 | Kevin Cackler |
| Q: I need to make a list of checkboxes and have a submit button that will display the results of the ... A: John. This is a relatively simple problem to solve: In your form page: <form action="script.php" ... | ||
| PHP deadline date script | 4/21/2011 | Ajay Raisinghani |
| Q: I know how to set a date in PHP, for today or yesterday or in the future, but I don’t know how to ... A: <?php $d=date('d-m-Y'); $i=0; $day=""; while($day!='Friday') { $d=add_date($d,$i); $day=$weekday = ... | ||
| Create links with mysql search results | 4/14/2011 | Kevin Cackler |
| Q: I appreciate it very much! I'm teaching myself PHP/mySQL and other applicable tools for developing ... A: No need to thank me. I genuinely enjoy helping people out with these questions! :) And yours is a ... | ||
| Form Processing With PHP | 4/13/2011 | Marty Landman |
| Q: I am attempting to process a form on my web site, using a software package called Forms Expert. It ... A: Kathy, That's quite a lot of code. There are more lightweight form mailers you can try out, ... | ||
| Email Client | 3/24/2011 | Anthony Levensalor |
| Q: Sir i want to ask a question. I am using XAMPP Server and i want to create emil account for users on ... A: Assuming you are using an IMAP server to which you have admin access, there is the ... | ||
| MYSQL-PHP | 3/22/2011 | Anthony Levensalor |
| Q: how are you today. Iam trying to do a query on mysql from php and I have this $instruccion = ... A: Can you dump the POST to the screen and copy and paste for me? I feel like the date might be ... | ||
| MYSQL-PHP | 3/22/2011 | Anthony Levensalor |
| Q: how are you today. Iam trying to do a query on mysql from php and I have this $instruccion = ... A: While the date portion of the query itself is likely the problem, I need a little more information ... | ||
| Campo vacio php | 3/10/2011 | Anthony Levensalor |
| Q: I have a form php and a need send the info by email. there is posibility to do if any field in the ... A: 1. Storing the name of the file for use later in the script: When you create the file, do it like ... | ||
| Campo vacio php | 3/10/2011 | Anthony Levensalor |
| Q: I have a form php and a need send the info by email. there is posibility to do if any field in the ... A: Good question. There most certainly is an easy way to do what you're asking, but there are a couple ... | ||
| PHP Injection | 3/8/2011 | Hari Priya |
| Q: First and foremost... I thank you and value your time for the help you provide. I have an issue ... A: This is not sql injection, if it so only your database gets affected. This is nothing but a ftp ... | ||
| File upload error | 3/3/2011 | Ajay Raisinghani |
| Q: I have the following code: <?php $host=""; $username=""; $password=""; $db_name=""; ... A: in this line [] operator has more precedence then . operator, it may also be reason $uploadfile = ... | ||
| count number backwards | 3/3/2011 | Anthony Levensalor |
| Q: First, I’d like to thank you for your time. You are doing this for free and I’m just amazed at the ... A: For subdomains, you can set the cookie domain to '.domain.com' which will cover www.domain.com, ... | ||
| count number backwards | 3/3/2011 | Kevin Cackler |
| Q: First, I’d like to thank you for your time. You are doing this for free and I’m just amazed at the ... A: This has never led to a job opportunity for me (Not that I have much time for additional work ... | ||
| count number backwards | 3/3/2011 | Kevin Cackler |
| Q: First, I’d like to thank you for your time. You are doing this for free and I’m just amazed at the ... A: Sam - As I wasn't sure what you wanted to do with the data, I simply left it stored in a variable in ... | ||
| count number backwards | 3/3/2011 | Anthony Levensalor |
| Q: First, I’d like to thank you for your time. You are doing this for free and I’m just amazed at the ... A: If I am interpreting your question correctly, the countdown is per-user. So if I go to the page, I ... | ||
| count number backwards | 3/3/2011 | Kevin Cackler |
| Q: First, I’d like to thank you for your time. You are doing this for free and I’m just amazed at the ... A: First of all, thanks for the kind words. It's nice to be appreciated. Second of all, what an ... | ||
| Disabling a field | 3/1/2011 | Marty Landman |
| Q: I'm trying to develop a website that allows registered users to create a wish list. I'm using Drupal ... A: Paul, The approach I'd look at first would be setting up a custom content type. The CCK module will ... | ||
Answers by Expert:
Top Expert on this page
I can answer questions related to developing PHP applications, OOP in PHP, procedural style coding, networking with PHP, integration with other systems, linux administration questions related to the LAMP stack, configuration and compilation of PHP, and have some experience with PHP extension development.
I have been programming professionally on the LAMP stack for 6 years, and have been programming in a wide variety of languages on a varied array of platforms for 25 years. Software is my life.
Education/Credentials
I dropped out of high school to pursue a GED and college-level training in software engineering. I dropped out of college when one of my professors hired me to work at his company, and I regret neither.

©2012 About.com, a part of The New York Times Company. All rights reserved.