this line: echo '<a href="/812/editavatar.php">Edit Avatar</a>; should be echo '<a href="/812/editavatar.php">Edit Avatar</a>'; I hope...
post the db structure and an example about how you want it to be displayed so maybe I can help.
Just use filters http://www.php.net/manual/en/intro.filter.php and you will be safe.
Replace this: <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); }...
Your code can be optimized like this one: $sql = ' SELECT linkurl, linklabel...
Replace the first line with the line below. $query_ssl = 'SELECT * FROM advertisers WHERE hits_left <= 0';
$now = mktime(0,0,0, date('n'), date('j'), date('Y')); $day = date('w'); $current_week_start = date('Y-m-d H:i:s', $now-$day*86400); $sql =...
Can you look in the error log and provide the error (not just the number) ?
can you post your RSS feed structure please ?
Please reformulate so we can understand what you want.
function the_title_shorten($len,$rep='...') { global $wpdb; $title = the_title('','',false); $shortened_title = textLimit($title,...
$sql = "SELECT `id`, `views` FROM news WHERE date >= start_day_of_current_week ORDER BY `views` DESC LIMIT 0, 20"; replace...
Use antiword http://www.winfield.demon.nl/ to convert to text and count words
Use aliases like SELECT a.f_name AS first_f_name, b.f_name AS second_f_name ... etc
right now is set to 100 words .. if you want to modify the number find this line $html = str_n_words($html, 100); and replace 100 with your...
Separate names with a comma.