PHP5/Questions Answered by Expert Hari Priya

SubjectDate Asked
PHP Injection3/8/2011
  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 ...
MySQL Help3/15/2010
  Q: Well you look like an expert that might be able to help me out. Please check this out... I have ...
  A: >>INSERT INTO user_pages (id, user_login, order, title, slug, content, notes) The word 'ORDER' is a ...
PHP/MySQL2/27/2010
  Q: I am trying to learn about PHP/MySql. I started with www.siteground.com video tutorials also got a ...
  A: You can either buy the scripts or start with some open source frameworks such as Joomla, CodeIgnitor ...
PHP/MySQL2/24/2010
  Q: I am trying to learn about PHP/MySql. I started with www.siteground.com video tutorials also got a ...
  A: First, I would like to appreciate your interest in learning something new. For the beginners in ...
Learning PHP, don't unserstand script2/18/2010
  Q: I am learning PHP from the internet with the hope of later gaining a qualification. I have come to ...
  A: Nigel, You need not worry about this example, as the tutorial seems to be a bit old. With lot of ...
php include2/15/2010
  Q: How are you? I'm building a website where different parts of html are brought together by php. For ...
  A: I am fine, thanks. How do you do? I understood your question completely. As such you cannot change ...
how to change while loop with SQL query2/14/2010
  Q: I was implementing gallery from one of the tutorials. In that tutorial function opens directions and ...
  A: So you want to display the thumbnail images from the database instead of displaying it from the ...
php2/9/2010
  Q: How to Avoid user re-enter system after logout by pressing back . When iam refreshing it redirect to ...
  A: You should check the session in each and every page. If the session expired, they should be ...
PDF TO TEXT CONVERSION1/18/2010
  Q: I have seen your response.When i am executing the code in the link i have provided.I get the blank ...
  A: I tested your code here. It is not working for me either. In the code you should change the line no. ...
Displaying different colors for rows1/13/2010
  Q: I want to display different colors for alternative rows in a table. The table is populated from ...
  A: You can use the count variable in your code to display the row colours alternatively. Try this ...
Is there any way that a script fill a specific form automatically and at runtime ?12/28/2009
  Q: Is there any way that a script fill a specific form automatically and at runtime, though i can just ...
  A: Yes, it is possible to fill the form using php script. You have not told how you will supply the ...
Image scrolling and outputting Images from IMAGE FOLDER12/24/2009
  Q: Again bothering you. I have made a Image Gallery with php. I have got a 'javascript' from net for ...
  A: Ok, try this: <html><head> <title>Scroller</title> <style type="text/css"> <!-- BODY { ...
Image scrolling and outputting Images from IMAGE FOLDER12/22/2009
  Q: Again bothering you. I have made a Image Gallery with php. I have got a 'javascript' from net for ...
  A: Rinki, I'm sorry, the information is not sufficient. Where are the images coming from in the ...
Image Upload12/11/2009
  Q: Again I need your help. I have used W3 schools script to upload image. Below the code I used <?php ...
  A: I am not sure what kind of mistake is in your code, If I see the full code I will be able to help ...
auto reply code12/9/2009
  Q: Hari- I am new to php and MySQL. I have a website hosted by godaddy. It was difficult, but I was ...
  A: I suggest you to use the email address associated with the domain. If you want to use gmail address, ...
Image Upload12/8/2009
  Q: Again I need your help. I have used W3 schools script to upload image. Below the code I used <?php ...
  A: Rinki, Attach your php page as an attachment. Will have a look at it. Also I would like to know how ...
php security essentials12/7/2009
  Q: -I'm keen of building my site with PHP. Bu I'd like to know how worried should i be with general ...
  A: There are many functions in php to secure your data. For example you can use md5() to encode your ...
auto reply code12/6/2009
  Q: Hari- I am new to php and MySQL. I have a website hosted by godaddy. It was difficult, but I was ...
  A: There was a mistake in the code I gave you. In line 42 there is a "," instead of "." which was ...
Image Upload12/6/2009
  Q: Again I need your help. I have used W3 schools script to upload image. Below the code I used <?php ...
  A: The best way is to store the image path in the database instead of image itself. After the line, ...
Dynamic dropdown list12/2/2009
  Q: I was wondering if you could help me with another problem? I want to populate a dropdown list with ...
  A: You cannot do the dynamic url with php alone. You should use javascript to redirect the page. I have ...
Help on getting Max and other values in corresponding rows12/1/2009
  Q: My requirement is to output the Maximum sale, Sales man-wise, Year-wise along with the other values ...
  A: Sorry for not replying immediately. Try this query: select id, year, month, name, max(sales) from ...
auto reply code11/29/2009
  Q: Hari- I am new to php and MySQL. I have a website hosted by godaddy. It was difficult, but I was ...
  A: Please find the code below that sends the email from the server when somebody signs up in your ...
Authorise an User from Admin to make his profile visible in the site11/28/2009
  Q: I used following code to hyperlink my 1st search page to detail search page. <?php ...
  A: Keeping two databases is not a good idea. There are lot of simple ways to do this. Keep the database ...
Hyperlinking mysql result11/27/2009
  Q: I used following code to hyperlink my 1st search page to detail search page. <?php ...
  A: I could not find any mistakes in your code. The code looks perfect. The reasons why you are getting ...
Uploading files11/11/2009
  Q: I'm trying to make a website with multiple file uploads. If the user selects small files (40-50 kb), ...
  A: Ok, I have modified your upload page code slightly. Check and let me know how it works. <?php ...
Uploading files11/11/2009
  Q: I'm trying to make a website with multiple file uploads. If the user selects small files (40-50 kb), ...
  A: I need to see all the functions in the class.easyzip.php to assist you more. However, at glance I ...
Pass combobox value to database table10/15/2009
  Q: I'm having trouble passing the valaue of a combobox back to the database table I'm posting the value ...
  A: You have to pass the value of the dropdown list correctly. You have given the value as $row[select1] ...
Updating record from a form10/13/2009
  Q: I'm trying to figure out how to update a database record from a form, here's my codes: (this works ...
  A: You should enclose the post variable names with ' and '. Fields should be separated by comma. Try ...
using passed variable as query criteria10/12/2009
  Q: your solution worked exactly as I had hoped. I have another problem now in that although the ...
  A: Can you do the following tests? First Let us check if there are any record exists for the field ...
using passed variable as query criteria10/12/2009
  Q: your solution worked exactly as I had hoped. I have another problem now in that although the ...
  A: The query doesn't return any results I guess. There is no need for parenthesis in this select query ...
passing variables with href10/10/2009
  Q: I have a dynamic table which is coded as follows: while($row = mysql_fetch_array($result)) { echo ...
  A: I have modified your code little. You have to assign the variable name to pass the row id value. I ...

All Questions in This Category

PHP5

All Answers


Answers by Expert:


Ask Experts

Volunteer


Hari Priya

Top Expert on this page

Expertise

I have 10+ years experience in software programming and web development. I can answer all questions related to PHP and Mysql. Basic knowledge in AJAX. Others Known: VB, ASP, Oracle, HTML, XML, JAVA SCRIPT and PhotoShop.

Experience

3+ years experience in PHP Programming. Developed several websites in PHP. I love debugging. Always like to learn new technologies.

Organizations
I work as a Software Engineer for a company located in Coimbatore.

Education/Credentials
B.Sc. Chemistry, Master of Computer Applications (MCA).

Past/Present Clients
I don't have any direct clients. I am a volunteer in many websites like this. Please save my bookmarks: http://delicious.com/haripriya2007

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