Re: [PHP] Re: Getting Array to Display

2010-04-23 Thread Gary
I'm sorry for the delay in response, I was able to create the child table, 
which works great.

So thank you to everyone that responded  Helped.

Gary

ps: Yes Ashley, I was monitoring the DB itself and not just the display 
table I created...


Ashley Sheridan a...@ashleysheridan.co.uk wrote in message 
news:1271929872.20937.24.ca...@localhost...
 On Wed, 2010-04-21 at 14:18 -0400, Gary wrote:

 As an addition to the issue, when I do a SELECT FROM and call for a 
 specific
 keyword, it does not return any records..


 Gary


 Gary gwp...@ptd.net wrote in message
 news:70.50.63467.0020f...@pb1.pair.com...
 I have a form that I have a (ever growing) list of checkboxes,  Here is 
 a
  sample of  the code for it.
 
  input name=keyword[] type=checkbox value=fox /
 
  It seems to go in, when I say seems to, I get a result of Array in the
  table, the code is listed below.  I have tried various solutions I 
  found
  in
  searching the issue, but have only been able to so far get Array.
 
   echo 'table border=1thId Number/ththDate
  Entered/ththCaption/ththWhere
  Taken/ththKeywords/ththDescription/ththImage/th';
   while ($row = mysqli_fetch_array($data)) {
 
 echo 'trtd' . $row['image_id']. '/td';
echo 'td' . $row['submitted']. '/td';
 echo 'td' . $row['caption']. '/td';
 echo 'td' . $row['where_taken'] . '/td';
 echo 'td' . $row['keyword']. '/td';
echo 'td' . $row['description'] . '/td';
   if (is_file($row['image_file'])) {
   echo 'tdimg src='.$row['image_file'].' width=100px
  height=100px//td';
   }
 
  As a bonus question, does anyone have any idea why the image would show 
  up
  in IE8, and not FF?
 
  Thanks for your help.
 
  Gary
 
 
 
  __ Information from ESET Smart Security, version of virus
  signature database 5047 (20100421) __
 
  The message was checked by ESET Smart Security.
 
  http://www.eset.com
 
 
 
 
 
  __ Information from ESET NOD32 Antivirus, version of virus
  signature database 5048 (20100421) __
 
  The message was checked by ESET NOD32 Antivirus.
 
  http://www.eset.com
 
 
 


 __ Information from ESET NOD32 Antivirus, version of virus 
 signature database 5048 (20100421) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.com






 That's because you havn't stored any keywords in the DB! You've stored
 the word 'Array'. Have you actually looked at the data with phpMyAdmin
 at all?

 Thanks,
 Ash
 http://www.ashleysheridan.co.uk





 __ Information from ESET Smart Security, version of virus 
 signature database 5049 (20100422) __

 The message was checked by ESET Smart Security.

 http://www.eset.com

 



__ Information from ESET Smart Security, version of virus signature 
database 5053 (20100423) __

The message was checked by ESET Smart Security.

http://www.eset.com





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Getting Array to Display

2010-04-22 Thread Ashley Sheridan
On Wed, 2010-04-21 at 14:18 -0400, Gary wrote:

 As an addition to the issue, when I do a SELECT FROM and call for a specific 
 keyword, it does not return any records..
 
 
 Gary
 
 
 Gary gwp...@ptd.net wrote in message 
 news:70.50.63467.0020f...@pb1.pair.com...
 I have a form that I have a (ever growing) list of checkboxes,  Here is a
  sample of  the code for it.
 
  input name=keyword[] type=checkbox value=fox /
 
  It seems to go in, when I say seems to, I get a result of Array in the
  table, the code is listed below.  I have tried various solutions I found 
  in
  searching the issue, but have only been able to so far get Array.
 
   echo 'table border=1thId Number/ththDate
  Entered/ththCaption/ththWhere
  Taken/ththKeywords/ththDescription/ththImage/th';
   while ($row = mysqli_fetch_array($data)) {
 
 echo 'trtd' . $row['image_id']. '/td';
echo 'td' . $row['submitted']. '/td';
 echo 'td' . $row['caption']. '/td';
 echo 'td' . $row['where_taken'] . '/td';
 echo 'td' . $row['keyword']. '/td';
echo 'td' . $row['description'] . '/td';
   if (is_file($row['image_file'])) {
   echo 'tdimg src='.$row['image_file'].' width=100px
  height=100px//td';
   }
 
  As a bonus question, does anyone have any idea why the image would show up
  in IE8, and not FF?
 
  Thanks for your help.
 
  Gary
 
 
 
  __ Information from ESET Smart Security, version of virus 
  signature database 5047 (20100421) __
 
  The message was checked by ESET Smart Security.
 
  http://www.eset.com
 
 
 
 
 
  __ Information from ESET NOD32 Antivirus, version of virus 
  signature database 5048 (20100421) __
 
  The message was checked by ESET NOD32 Antivirus.
 
  http://www.eset.com
 
 
  
 
 
 __ Information from ESET NOD32 Antivirus, version of virus signature 
 database 5048 (20100421) __
 
 The message was checked by ESET NOD32 Antivirus.
 
 http://www.eset.com
 
 
 
 


That's because you havn't stored any keywords in the DB! You've stored
the word 'Array'. Have you actually looked at the data with phpMyAdmin
at all?

Thanks,
Ash
http://www.ashleysheridan.co.uk




[PHP] Re: Getting Array to Display

2010-04-21 Thread Gary
As an addition to the issue, when I do a SELECT FROM and call for a specific 
keyword, it does not return any records..



Gary


Gary gwp...@ptd.net wrote in message 
news:70.50.63467.0020f...@pb1.pair.com...

I have a form that I have a (ever growing) list of checkboxes,  Here is a
sample of  the code for it.

input name=keyword[] type=checkbox value=fox /

It seems to go in, when I say seems to, I get a result of Array in the
table, the code is listed below.  I have tried various solutions I found 
in

searching the issue, but have only been able to so far get Array.

 echo 'table border=1thId Number/ththDate
Entered/ththCaption/ththWhere
Taken/ththKeywords/ththDescription/ththImage/th';
 while ($row = mysqli_fetch_array($data)) {

   echo 'trtd' . $row['image_id']. '/td';
  echo 'td' . $row['submitted']. '/td';
   echo 'td' . $row['caption']. '/td';
   echo 'td' . $row['where_taken'] . '/td';
   echo 'td' . $row['keyword']. '/td';
  echo 'td' . $row['description'] . '/td';
 if (is_file($row['image_file'])) {
 echo 'tdimg src='.$row['image_file'].' width=100px
height=100px//td';
 }

As a bonus question, does anyone have any idea why the image would show up
in IE8, and not FF?

Thanks for your help.

Gary



__ Information from ESET Smart Security, version of virus 
signature database 5047 (20100421) __


The message was checked by ESET Smart Security.

http://www.eset.com





__ Information from ESET NOD32 Antivirus, version of virus 
signature database 5048 (20100421) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






__ Information from ESET NOD32 Antivirus, version of virus signature 
database 5048 (20100421) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php