Just for Newbies
Subject: mySQL and Roxen problem
Posted on: 24 May 1999 by Robert Andersson
Post:When sending a query that will return nothing i can't seem to get this if statement in RXML to work. I have tried several approaches though nothing seem to work. :( Any suggestions? (NB the <cset>...</cset> is on one single row.)
<formoutput>
<cset variable=result><sqltable ascii host="fonetik" query="select förnamn from fonetiker where förnamn='#namn:quote=mysql#'"></cset>
<if variable=result>
<tablify preparse nicer>Förnamn
<insert variable=result>
</tablify>
</if>
<else>
Nope! Ingen #namn# här inte.
</else>
</formoutput>
Yours,
/Robert
[ New Post ] [ Post Reply ] [ Previous Post ] [ Next Post ] [ Previous in Thread ] [ Next in Thread ] [ Forum Index ]
Follow Up: