Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
PEAR isn't returning every column
Name: ShaqDiesel Date: May 21, 2008 at 19:39:51 Pacific OS: winXP CPU/Ram: amd64/1Gb Product: custom
Comment:
Here's a row from my database table: imageLink title author pages category Images/a.jpg a book joe 100 cooking
Title and category have values, but not author or pages! I am baffled because I am connected to the right database and according to phpmyadmin those columns are filled with values.
Name: ShaqDiesel Date: May 21, 2008 at 19:47:22 Pacific
Reply:
I double checked and my column values that I used in my associative array are exactly as they look in the database, capitalization and all.
This is really weird because I used PEAR in default mode(with numbers as indices) first and was getting missing values and the indices didn't match the values. For example, $result_row[2] was referring to the category column value.
0
Response Number 2
Name: ShaqDiesel Date: May 21, 2008 at 21:39:09 Pacific
Summary: Hi, could you post your entire script as you've got it now and the columns in the table? With that error, it *may* be that $res isn't returning any results from the similar zips query. Before the c...
Summary: Let me start by saying I am totally new to PHP and MySQL I am trying to create an intranet page that has an index, a random quote section and a search function. I am using Dreamweaver for the site lay...
Summary: Skips, I've read and re-read your post several times and it still isn't clear. I think Jamie interpreted it one of the ways I've read it. According to your post header "Javascript to save last page vi...