Go Back   Free Porn & Adult Videos Forum > Help Section > Computer and Tech Help
Best Porn Sites Live Sex Register FAQ Search Today's Posts Mark Forums Read
Notices

Computer and Tech Help Discuss hardware, software, applications, malware removal, etc.

Reply
 
Thread Tools
Old 18th September 2009, 17:47   #1
Hell Yes!

Postaholic
 
-KA-'s Avatar
 
Join Date: Jun 2008
Location: Wet Basement
Posts: 9,222
Thanks: 6,006
Thanked 111,953 Times in 8,864 Posts
-KA- Is a God-KA- Is a God-KA- Is a God-KA- Is a God-KA- Is a God-KA- Is a God-KA- Is a God-KA- Is a God-KA- Is a God-KA- Is a God-KA- Is a God
Default PHP anyone?

Over 300k members, some one must know something about php. Ok here I go.

I have written a bunch of code which makes "data" from MySQL database to appear. With my current code, I've got all "objects" appearing.

See: http://saarepartner.ee index.

Also example of my written code:

PHP Code:
<?php
$aadress 
$valjund[aadress];
if(
$valjund[maja] != 0){
    
$aadress .= " ".$valjund[maja]."";
}
if(
$valjund[korter] != 0){
    
$aadress .= " - ".$valjund[korter]."";
}


$sisu .= "
<table width='100%' height='96' border='0' cellpadding='0' cellspacing='0'>
    <tr>
       <td height='13' colspan='3' background='images/kuulut1.gif'><strong>
$aadress</strong></td>
         </tr><tr>
            <td width='119' height='83' bgcolor='#F3F3F3'><div align='center'>"
;
$pildirada $class_sql->paringyks("SELECT uri FROM prefix_failid WHERE objekt = '$valjund[id]' AND banner = '1' AND tyyp = '1'""uri");
if(
$pildirada == ""){
    
$pildirada "images/nobanner.gif";
}    
$sisu .= "    <a href='/opositive/?t=2&k=$_GET[k]&o=$valjund[id]'><img src='/opositive/$pildirada' alt='banner' width='100' height='67' border='0' ></a></div></td>
            <td width='378' colspan='2' valign='top'><p>&Uuml;ldpind: 
$valjund[yldpind] m&sup2;<br />Hind: $valjund[hind];<br />
              
              
              </p>
              
                
                <a href='/opositive/?t=2&k=
$_GET[k]&o=$valjund[id]'>Vaata lisa</a></p></td>
   </tr>
</table>"
;
?>
What I want is the same data to appear only if database row called "soodushind" has a value (text input box has something written in).


So I want help with only one IF sentence, this might seem simple, but my brain can't take it anymore.

Simply I want all this code above to be wrap inside one If sentence if it's possible.

Something like if ($valjund[soodushind] == .........


FUCK IT. I solved it.. It's not perfect, but it works.
__________________
kavids.wordpress.com
Last edited by -KA-; 20th September 2009 at 13:25.
-KA- is offline   Reply With Quote
The Following User Says Thank You to -KA- For This Useful Post:

Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:05.




vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
(c) Free Porn

Online free porn at mobile phone


annanikovajulia paes porn videoleslie bibb pornlexi layo planetsuzyceca pornlady gaga porn videosaj cook fakebabyface porn starsnigella lawson porn picscandice michelle porn moviesalyssa milano naked imagescharmane star picturesjasmine james danny d home invasionterry farrell fakessnapchat adults usernamesnomi pornstarmichelle avanti pornstarbriana lee hdmccarty pornlexi wardnicki minaj porn hdmilf seeker 19keshia knight pulliam pornojayne wisener hotdillion carter planetsuzylaney barbydownload tubepornclassicjanet mason wallpaperporn videos of trish stratuslexi bardot porndefrancesca gallardo interracialmolly bennett iafddani jensensboobsuckersletha weapons vidspetra mis pornbrooke skye horserachel roxxx lesbianporns biggest dickinterracial cuckold imageskaitlin doubleday hungvenisse pussy picturestori black sloppy headclothesfree forummodel gabe videoskerr pornmilena d sunna videobrittnay andrewssimona halep upskirtmary alejo videovanilla deville sexyex gf revenge pictureslittle lupe pornbusty dusty videodasha astafieva picsbecca brantleyjenna presley planetsuzyshayla pornnicki minaj porno picturesmonsterboobs.blogspotbiggest ass in the porn industrykristina rose planetsuzycubana lust showerwww.monicamatospornashlynn brooke schoolgirl povmelissa joan hart nude picturesvictoria sin analcarol kirkwood fake picturesbrittany spring pornaleksa diamondkari sweet hdtia tnakamelissa joan hart fakeskaede maihamavicky vette videosjocelyne stone3wasonnet.com girl wallpapersthe hun gay comicsluba shumeyko picsmelanie thierry sexroxxy devilleJanci brandi love hd xxx video 720p 2007lisa del seirrakaren lancaume picsFreeperl.Ru maddy bellereon kandenaabela anderson hddaily masturbation instructionblowjobs gaggingkarla james forumwww.analdestruction.comsarasetsout.co.ukfoster home for imaginary friends pornodana hamm forumtammi ann porn