On Tue, 2010-06-22 at 10:41 -0400, Daniel P. Brown wrote:
On Tue, Jun 22, 2010 at 10:17, Mike Davies m...@integrawebdesign.co.uk
wrote:
[snip!]
Warning: reset() [function.reset]: Passed variable is not an array or
object in /home/b23aadf/public_html/news/details.php on line 72
[snip!]
Mike,
Little weird. I executed the same lines of code against my sample database
and did not got any warning. You might want to send the code for projects
and news to do any comparison?
*[I will silently wait for the PHP demi-gods (the Ashleys, the Pauls et al)
at hover their vigilant eyes on
On Wed, 2010-06-23 at 15:55 +0530, Shreyas Agasthya wrote:
Mike,
Little weird. I executed the same lines of code against my sample database
and did not got any warning. You might want to send the code for projects
and news to do any comparison?
*[I will silently wait for the PHP demi-gods
Hold everything, Mike!
On Wed, Jun 23, 2010 at 05:18, Mike Davies m...@integrawebdesign.co.uk wrote:
[snip!]
?php
mysql_select_db($database_general, $general);
$query_details = SELECT * FROM news WHERE news_id = '$_GET[id]';
/**
* Above line is placed here so that we can be
On Wed, 2010-06-23 at 09:09 -0400, Daniel Brown wrote:
Hold everything, Mike!
On Wed, Jun 23, 2010 at 05:18, Mike Davies m...@integrawebdesign.co.uk
wrote:
[snip!]
?php
mysql_select_db($database_general, $general);
$query_details = SELECT * FROM news WHERE news_id = '$_GET[id]';
On Wed, 2010-06-23 at 16:14 +0100, Mike Davies wrote:
On Wed, 2010-06-23 at 09:09 -0400, Daniel Brown wrote:
Hold everything, Mike!
On Wed, Jun 23, 2010 at 05:18, Mike Davies m...@integrawebdesign.co.uk
wrote:
[snip!]
?php
mysql_select_db($database_general, $general);
On Wed, Jun 23, 2010 at 11:14, Mike Davies m...@integrawebdesign.co.uk wrote:
Nothing is returned for SELECT query as there is nothing in the table as
yet. Perhaps this is the problem. Typically all projects would have an
associated thumb image but all news items may not. Perhaps a thumb image
On Wed, 2010-06-23 at 16:22 +0100, Ashley Sheridan wrote:
On Wed, 2010-06-23 at 16:14 +0100, Mike Davies wrote:
If you haven't in your code, then make sure you define $thumbsarray as
an array before you attempt to use it in the loop. This will have no
effect where rows are returned, but it
Hello,
This is my first post to this list and I am a novice at php coding. I
can generally follow the code but not good at writing from scratch.
I have recently been trying to add to a website which was originally
developed by someone else and is written in php and mysql. I am trying
to add a
Mike Davies wrote:
Hello,
This is my first post to this list and I am a novice at php coding. I
can generally follow the code but not good at writing from scratch.
I have recently been trying to add to a website which was originally
developed by someone else and is written in php and
Mike,
A couple of things that I could understand reading carefully at the error.
1. reset takes an array as the input and perhaps your $thumbsarray is *not *an
array? Reset will set the internal pointer to the start of the array.
2. Warning # 2 is very closely related to #1 since you can
On Tue, Jun 22, 2010 at 10:17, Mike Davies m...@integrawebdesign.co.uk wrote:
[snip!]
Warning: reset() [function.reset]: Passed variable is not an array or
object in /home/b23aadf/public_html/news/details.php on line 72
[snip!]
Is anyone able to help resolve this? If you let me know what
On Tue, Jun 22, 2010 at 03:17:53PM +0100, Mike Davies wrote:
Hello,
This is my first post to this list and I am a novice at php coding. I
can generally follow the code but not good at writing from scratch.
I have recently been trying to add to a website which was originally
developed
13 matches
Mail list logo