fullySanitize($_COOKIE['mystic']); $catpath = $input->fullySanitize($_GET['cat_path']); $gender = $input->fullySanitize($_GET['gender']); $trans->beginTrans(); $pdo = $trans->getPDO(); if ($gender == '') { ?> Dating Advice for Men and Women

Dating Advice for Men and Women

Dating Diversions | Dating Stories | Dating Jokes | Geographical Dating Tips | Great Gift Ideas
View our Privacy Policy Dating Advice for <?= $genderdesc ?>

Dating Advice for

Dating Diversions | More Dating Advice | Dating Stories | Dating Jokes | Geographical Dating Tips | Great Gift Ideas

View our Privacy Policy prepare('SELECT name, description FROM advice_cat WHERE cat_path = ?'); $stmt->bindParam(1, $catpath); $stmt->execute(); $catname = ''; $desc = ''; if ($myrow = $stmt->fetch(PDO::FETCH_NUM)) { $catname = $myrow[0]; $desc = $myrow[1]; } ?> Dating <?= $catname ?>

Dating Diversions | More Dating Advice | Dating Stories | Dating Jokes | Geographical Dating Tips | Great Gift Ideas

Visitor-Submitted Advice:

prepare('SELECT title, body, name, location, date_added FROM advice WHERE cat_path = ? AND admin_flag = \'A\' ORDER BY date_added DESC'); $stmt->bindParam(1, $catpath); $stmt->execute(); $count = 0; while ($myrow = $stmt->fetch(PDO::FETCH_NUM)) { echo '

'; if ($myrow[0] != '') echo '' . $myrow[0] . '
'; echo '"' . $myrow[1] . '" -' . $myrow[2] . ', '. $myrow[3] .'


' . "\r\n"; $count++; } if ($count == 0) echo '

No advice has been posted in this section yet. You can be the first to submit advice, using the link below.

'; if ($gender == 'men') { echo '

Are You a Woman? Post Your Advice to this Section

'; echo '

Are You a Man? Give Some Advice to Women

'; } else if ($gender == 'women') { echo '

Are You a Man? Post Your Advice to this Section

'; echo '

Are You a Woman? Give Some Advice to Men

'; } ?>
View our Privacy Policy commit(); $trans->disconnect(); ?>