Go Back   Cloud Computing > Support > PHP Forum
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 08-04-11, 02:05
BOD Member
 
Join Date: Aug 2011
Posts: 76
Default mysqli_fetch_array problem

Hi
I have made a database on mysql and accessing through php. I can add values and retrieve it. But the problem is that, each time fetch the records (or I run while loop to fetch all the records using mysqli_fetch_array), It adds blank values in the last row of the database. how to solve this? please!!
Reply With Quote
  #2 (permalink)  
Old 09-03-11, 10:55
BOD Member
 
Join Date: Apr 2011
Posts: 82
Default

Do you mean it includes blank values in the last row of the DB? Or it inserts a new row into the DB?
Reply With Quote
  #3 (permalink)  
Old 09-03-11, 10:57
BOD Member
 
Join Date: Nov 2010
Posts: 57
Default

The question would be a lot simpler to answer if OP post his code ...
Reply With Quote
  #4 (permalink)  
Old 09-03-11, 10:58
BOD Member
 
Join Date: Apr 2011
Posts: 76
Default

Ensure the problem is not in the database itself. If the problem continues you may want to try rewriting your code to use fetch_all rather than fetch_array.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 01:13.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.