Reputation Activity
-
oChapperZo got a reaction from wonton in Help with Dreamweaver CS5I'm sorry if this is not what your looking for - feel free to explain so I can help you out better.
Your HTML should look like this, depending on what header your after.
HTML
<h1>This is heading 1</h1> <h2>This is heading 2</h2> <h3>This is heading 3</h3> <h4>This is heading 4</h4> <h5>This is heading 5</h5> <h6>This is heading 6</h6> If you want to change the style so in this case the color and font size, you'll need to use CSS like this. Just change the h1 to the header you want.
CSS
h1 { color:#000000; font-size:12px; } If all fails, you could just create your own DIV and style it for your content.
HTML
<div id="whatever-you-want-here">your content here</div> CSS
#whatever-you-want-here{ color:#000000; font-size:12px; } Let me know how it goes.
-
oChapperZo got a reaction from wordpress12 in Problem regarding the speed of the websiteI have not read all the replies from people but just read your problem. There is a website I use which works like a treat and really does help so much.
The website is called GTMetrix and it's a website performance test and I ran your website through it and found all sorts of issues yous should look at, look at the link below which I generated for you and follow instructions to make your website faster. Good Luck!
http://gtmetrix.com/reports/www.wordpressonlinehelp.com/Q73dzuad
-
oChapperZo got a reaction from Nillervision in Problem regarding the speed of the websiteI have not read all the replies from people but just read your problem. There is a website I use which works like a treat and really does help so much.
The website is called GTMetrix and it's a website performance test and I ran your website through it and found all sorts of issues yous should look at, look at the link below which I generated for you and follow instructions to make your website faster. Good Luck!
http://gtmetrix.com/reports/www.wordpressonlinehelp.com/Q73dzuad
-
oChapperZo reacted to munchkin233 in client logo doesn't fit design - stumpedYeah that's it corporate logo on a fun design, I need to try persuade them to update the logo in some way coz it's very outdated. Just needed someone else to have a look and say there is definitely a mismatch so I can say to them it's not just me.
Thanks for the input guys
-
oChapperZo reacted to pippin62 in my button looks really strange on iphonesTry adding this to the CSS
-webkit-appearance: none;
-
Ah, sorry.. i read the post wrong slightly.. okay...
<?php $conn = ($GLOBALS["___mysqli_ston"] = mysqli_connect("HOST", "USER-NAME", "PASSWORD!")); $db = ((bool)mysqli_query($conn, "USE DATEBASE NAME")); ?> <?php $yourname = mysql_real_escape_string($_POST['user-name']); $xboxgamertag = mysql_real_escape_string($_POST['xbox-gamertag']); $game1 = mysql_real_escape_string($_POST['game1']); $game2 = mysql_real_escape_string($_POST['game2']); $game3 = mysql_real_escape_string($_POST['game3']); $check = "SELECT xboxgamertag FROM yourtable WHERE xboxgamertag = $xboxgamertag"; $res = mysqli_query($GLOBALS["___mysqli_ston"], $check; $count = mysqli_num_rows($res); if ($count=>1){ echo 'Sorry, this gamertag already exists'; } else { $sql = "INSERT into xbox values('$yourname','$xboxgamertag','$game1','$game2','$game1')"; $qury = mysqli_query($GLOBALS["___mysqli_ston"], $sql); if(!$qury) echo ((is_object($GLOBALS["___mysqli_ston"])) ? mysqli_error($GLOBALS["___mysqli_ston"]) : (($___mysqli_res = mysqli_connect_error()) ? $___mysqli_res : false)) ; else { echo "Success, $yourname! Your now added to GamerTag Finder with the gamertag $xboxgamertag and want people to add you for $game1, $game2 and $game3."; echo "<a href='xboxgamertags.php'>View Xbox GamerTags</a>"; } } ?> Not tested i am afriad but you get the general idea. just do a query on the database for the new username being added and if the amount of rows is more than 1, do nothing.. if its not.. then add it in.
-
oChapperZo reacted to A in PHP & MYSQL Table Entries DuplicationYou can use mysqli_errno() to get the error code, and translate it into something more useful for the user (if it returns 0 there is no error).
In this case I believe it would return '1062' (http://dev.mysql.com/doc/refman/5.0/en/error-messages-server.html) so you could try to check for that, then show a friendly message instead of mysqli_error();