Here is the situation:
1) I get one random url from database
Code:
$sql = ("SELECT url FROM url_table ORDER BY RAND() LIMIT 1");
while($row = mysql_fetch_array($sql)){
$url = $row["url"];
}
$sql = ("SELECT url FROM url_table ORDER BY RAND() LIMIT 1");
while($row = mysql_fetch_array($sql)){
$url = $row["url"];
}
#sideTopHeader {
background: #333333;
z-index: 1;
position: relative;
height: 50px;
margin: 0 -30px 0 0;
-webkit-border-radius:
<!-- Sidebar -->
Options +FollowSymLinks
mysql_real_escape_string($_REQUEST['foo'])
if isset($_REQUEST['foo']) {
$sql = mysql_query("INSERT INTO Favorites (article_id, user_id) VALUES ($article_id, $user_id)");
}
<?php
if (isset(//if user is logged in)) {
$addFavorite = '<input type="checkbox" id="favoriteIt"
[B]<div class="content">[/B] ...stuff goes here [B][U]</div>[/U][/B]
<div id="imgwrap" style="width:500px; margin-left:auto; margin-right:auto;"> <div id="image1" style="width:240px; float:left;"><!-- image here --></div> <div id="image2" style="width:240px; float:right;"><!-- image here --></div>
.pulse_votes_container thumb1 {float:left;}
.pulse_vote_buttons {line-height:25px;}
.pulse_result_format {line-height:25px;}
Leave a comment: