Stuk tekst niet goed weergeven.

Gestart doorMilan11 reacties30 weergaven

12 berichten · pagina 1 van 1

Milan

Lid · Topicstarter

Berichten
8.602
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hoi,

Waarom wordt dit niet goed weergeven?

<table>
<td width=200 >Titel:</td> <td width=200 >Status:</td><br />

<br /><td width=200>[COLOR= #0000BB]<?[/COLOR]  [URL="http://www.php.net/while"]while[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$lus[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sel[/COLOR][COLOR= #007700]))
    {[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<a href=pagina/mijn_tickets.php?id=[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$lus[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000] >[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$lus[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]</a> [/COLOR][COLOR= #007700];[/COLOR] ?></td>[COLOR= #0000BB]<?[/COLOR]        [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$lus[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]status[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]1[/COLOR][COLOR= #007700])
        {[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<td width=200>In behandeling.</td><br />[/COLOR][COLOR= #007700];
        }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR] 
            [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<td width=200>Beantwoord.</td><br />[/COLOR][COLOR= #007700];
        }[/COLOR] ?></table>


#Milan
0
Rik

Lid

Berichten
18.393
Reputatie
0
Punten
0,04
Lid sinds
Laatst gezien
Probeer dit eens:

<table>
    <tr>
        <td width=200 >Titel:</td> 
        <td width=200 >Status:</td>
    </tr>
    <tr>
        [COLOR= #0000BB]<?php[/COLOR]  
            [URL="http://www.php.net/while"]while[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$lus[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sel[/COLOR][COLOR= #007700]))
            {[/COLOR] 
                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<td width=200> <a href=pagina/mijn_tickets.php?id="[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$lus[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]" >"[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$lus[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]"</a> </td>"[/COLOR][COLOR= #007700];[/COLOR]
                
                [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$lus[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]status[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]1[/COLOR][COLOR= #007700])
                {[/COLOR]
                    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<td width=200>In behandeling.</td>"[/COLOR][COLOR= #007700];
                }[/COLOR] 
                [URL="http://www.php.net/else"]else[/URL] 
                [COLOR= #007700]{[/COLOR] 
                    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"<td width=200>Beantwoord.</td>"[/COLOR][COLOR= #007700];
                }
            }[/COLOR] 
        ?>
    </tr>
</table>
0
Milan

Lid · Topicstarter

Berichten
8.602
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Als je dan 2 tickets of meer hebt staat hij nog niet goed helaas...
0
Erik

Lid

Berichten
7.109
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
<table>
    <tr>
        <td width=200 >Titel:</td>
        <td width=200 >Status:</td>
    </tr>
    [COLOR= #0000BB]<?php[/COLOR]  
    [URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$lus[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sel[/COLOR][COLOR= #007700]))
    {[/COLOR]
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<tr><td width="200"><a href="pagina/mijn_tickets.php?id=[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$lus[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]">[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$lus[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]</a></td>[/COLOR][COLOR= #007700];[/COLOR]
        
        [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$lus[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]status[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]1[/COLOR][COLOR= #007700])
        {[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<td width="200">In behandeling.</td>[/COLOR][COLOR= #007700];
        }[/COLOR]
        [URL="http://www.php.net/else"]else[/URL]
        [COLOR= #007700]{[/COLOR]
            [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<td width="200">Beantwoord.</td>[/COLOR][COLOR= #007700];
        }[/COLOR]
        
        [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]</tr>[/COLOR][COLOR= #007700];
    }[/COLOR]
    ?>
    </tr>
</table>
0
Milan

Lid · Topicstarter

Berichten
8.602
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Het wil nog niet werken...
0
Erik

Lid

Berichten
7.109
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Maak es een screen.
0
Berichten
1.950
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Je hebt status volgens mij verkeerd.

verander :

Quote:
if($lus[status] == 1)

In

Quote:
if($lus[status] == 2)
//of hoger

Ik kan het fout hebben!
0
Erik

Lid

Berichten
7.109
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Kan het niet aan liggen..
0
Berichten
35.796
Reputatie
1
Punten
0,00
Lid sinds
Laatst gezien
Wel die
edit:
regel 13 van t scriptje van Erik dan
0
Erik

Lid

Berichten
7.109
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Altijd handig. clown
0
Berichten
1.950
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Erik schreef:
Kan het niet aan liggen..
Ik zei tog volgens mijbiggrin
0
Milan

Lid · Topicstarter

Berichten
8.602
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
@Admir, er is alleen status 1 en status 0
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren