Quote:
|
Originally Posted by redbullcola there must be an error in: You must first be a registered member to view any code.
and i suppose in her:
if($stroi->ripe != NULL || $stroi->ripe != "")
{
$ripeinfo = stripslashes($stroi->ripe); |
That code looks quite alright. How are you getting the info from the database though? Are you not using a query?
EDIT: Ah, by taking a closer look at it I noticed you're using the explode(); function in a wrong way.
What your code does is the following:
It tries to split the first $ripeinfo array into seperate variables ($ripeinfo[X] where x is a number). If you take a look at
this page and you'll see what I mean.
So you might want to rethink exactly what you want to display and look for the appropriate version. If you want to use all the info, I'd suggest using "bits".
__________________
Need some custom work done for your site, but can't find a (freelance) coder willing to take on the job? Good news: you needn't look further, as I'm currently accepting custom jobs! From a template fix to a completely new portal system, you name it and I'll make it exclusively for your site! Interested? Send me a PM for details. ;)
Please note that I will only provide support through the vBHackers.com Forums, not through MSN/email/PM.