> The code I have got here works
Sorry that last message was wrong. The code doesn't work, it misses the last
value in the loop.
""Yo Bro"" <[EMAIL PROTECTED]> wrote in message
9at7b4$ruq$[EMAIL PROTECTED]">news:9at7b4$ruq$[EMAIL PROTECTED]...
: Thanks for your answer.
:
: I tried what you sugge
Thanks for your answer.
I tried what you suggested and got the result I expected. They all appear
fine. It is only when i loop the array after exploding it, and then
attempting to get it to load an image that it doesn't show the last value.
The code I have got here works, but the else statement
What does this do?
> $specs = $myrow['features'];
print $specs;
> $features = explode('|',$specs); //What the feild is delimited by '|'
print_r($features);
Does it include the missing last value within the $features array? Does
$specs look okay?
Regards,
Philip
--
PHP General Mailing
On Mon, 9 Apr 2001 15:12, Yo Bro wrote:
> Still no luck.
> There should be no reason why this doesn't work. I tried it the way you
> tested it, and it doesn't really demonstrate it the same as if using
> the (file_exists command.
>
> When using looking for the images it appears the if statement i
Still no luck.
There should be no reason why this doesn't work. I tried it the way you
tested it, and it doesn't really demonstrate it the same as if using the
(file_exists command.
When using looking for the images it appears the if statement is
interferring with the loop. This is a nightmare. F
On Mon, 9 Apr 2001 14:27, Yo Bro wrote:
> I do have a matching image, and all cases it does work with different
> records from the database. IE Where there might be an array of 15
> items, but it is always the last one that doesn't show. Even if the
> image is there, because it gets used if i add
I do have a matching image, and all cases it does work with different
records from the database. IE Where there might be an array of 15 items, but
it is always the last one that doesn't show. Even if the image is there,
because it gets used if i add another value to the array. IE
PS|PW|AC|CD
In t
On Mon, 9 Apr 2001 13:56, you wrote:
> Hi I have a feild in a MySql database called features. It is delimited
> by | the line above the \ key.
> Anyway, the feild has things like PS|PW|AC etc in it.
> I have the code below to explode that feild. It all works fine, but
> when it comes to looping t
Hi I have a feild in a MySql database called features. It is delimited by |
the line above the \ key.
Anyway, the feild has things like PS|PW|AC etc in it.
I have the code below to explode that feild. It all works fine, but when it
comes to looping the code below it always misses that last value.
9 matches
Mail list logo