Jump to content

scout1idf

Members
  • Posts

    131
  • Joined

  • Last visited

Everything posted by scout1idf

  1. scout1idf

    server database

    Try Easy PHP. I have it installed on a flash drive so I can use it where ever I need.
  2. A quick search go me https://en.wikipedia.org/wiki/Microsoft_Azure
  3. Try this...... <!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"> <title> Clickable Header </title> <style type="text/css"> /*<![CDATA[*/#masthead { min-width: 600px;} #logo { float: right; width: 100px;}h1 { display: block; font-size: 4em; margin-top: 1em; margin-bottom:1em; margin-left: 1em; margin-right: 2em; font-weight: bold; font-family: Bradley Hand ITC; color:#38761d; text-align: center;}a{ text-decoration: none;} #container { clear: both; min-width: 600px; }#left_col { float: left; width: 300px;} /*]]>*/ </style></head><body> <a href='###'> <div id='masthead'> <div id='logo'> <img alt='Relaxed Hair Care Guyana' src=' https://lh4.googleus...ircare2+(21.jpg '/> </div> <div id='header'> <h1> Relaxed Hair Care Guyana</h1> </div> </div> </a></body></html>Hope it helps...
  4. scout1idf

    Script tags

    Try using Wikipedia for some of your searches..... http://en.wikipedia.org/wiki/Module_pattern
  5. There are many very helpful people around here but also a few (one that comes to mind at the moment has responded to your questions) that don't have a clue but thinks they know everything about everything. Please don't let one fairly new member (despite his number of posts) make you think this isn't a good place to get answers to your questions..... EDIT: Strangely, davej hit on 2 posts that I read just before answering your post
  6. Can anyone say eduardar?? Sorry, I've been thinking this for quite a while now......
  7. scout1idf

    elastic div box

    Sorry, I'm not going to touch this one again.......
  8. It's very large and distracting.....
  9. Sorry, I don't own anything modern enough for touch screens. (still running windows vista )
  10. Is this what you are talking about??
  11. It has been pointed out several times already, NO ONE HERE HAS ANY CONTROL OVER THE SCHOOL!! I'm sure by now that the mod's are getting tired of telling you this and everyone else is getting tired of reading it. If you want something added, changed or deleted on the school site, please contact them. With a little research on your part, you would have found that you can contact them directly with your concerns here ==> support@w3schools.com Sorry if I seem a little short, but I've been trying to quit smoking and little things like this really get on my nerves!!!!
  12. I've never used them, but you could try.....
  13. Just a guess, but you have them out of order. You have... $dbcon = mysqli_connect(DB_HOST, DB_PSWD, DB_USER, DB_NAME);...and it should be...$dbcon = mysqli_connect(DB_HOST , DB_USER , DB_PSWD , DB_NAME);I'm pretty sure that it matters what order you put them in.....Hope it helps.
  14. I don't know if this will fix it or not, but give this a try..... <?phpif(isset($_GET['tweet'])){ $string = urlencode($_GET['tweet']); $crc32 = crc32($string); $con = mysqli_connect("localhost","USER","PASSWORD","DATABASE"); if(!$con){ die('Database Unavailable'); } $query = "SELECT * FROM redirect WHERE crc32 = $crc32"; if ($result = $mysqli->query($query)) { $row_cnt = $result->num_rows; if($row_cnt > 0){ echo 'This Click 2 Tweet Already Exists!<br /><br />'; } else { $query2 = "INSERT INTO redirect(crc32,tweet,created-by) VALUES ('$crc32','$string','$_SERVER['REMOTE_ADDR'])"; $mysqli->query($query2); echo 'Here is your Click 2 Tweet. Enjoy!<br /><br />'; } $result->close(); }}echo 'http://c2t.co/'.$crc32;?> I changed your `(back tick) to '(single quote) and removed what didn't look correct to me (following code I have used in the past). Also, it's not a good idea to use PHP short tags (so I've been told) even if they are turned on on your server. (ie... changed <? to <?php)
  15. scout1idf

    NoSgl

    I'm (very) far from an expert, but from what I read on Wikipedia, it sounds like it's more trouble than it's worth. (read the criticisms section.) You are probably better off learning MySQL or MSSQL (if you like Microsoft that is). Just my opinion.......
  16. scout1idf

    Slideshow

    Look on YouTube. Some of the tutorials on there aren't half bad. They can at least get you started. I got this example from a 12 minute video..... <!DOCTYPE html><html><head><style type="text/css">body{ background:#000; color:#fff; font-size:3em; font-family:Toledo;}#wss{ opacity:0; -webkit-transition:opacity 1.0s linear 0s; transition:opacity 1.0s linear 0s;}</style><script> <!--the array can contain anything you need, <html tags> , text , <images> , etc..... //-->var wss_i = 0;var wss_array = [ "smart.", "cute.", "funny.", "black.", "young." ];var wss_elem;function wssNext(){ wss_i++; wss_elem.style.opacity = 0; if(wss_i > (wss_array.length - 1)){ wss_i = 0; } setTimeout('wssSlide()', 1000);}function wssSlide(){ wss_elem.innerHTML = wss_array[wss_i]; wss_elem.style.opacity = 1; setTimeout('wssNext()', 4000)}</script></head><body> My dog is <span id="wss"> </span><script>wss_elem = document.getElementById("wss"); wssSlide();</script></body></html>
  17. Hi, I couldn't replicate your issue. They looked the same looking at either file on my system. I would suggest a change to your code though, add a doctype to your code...
  18. scout1idf

    xampp

    I've never tried to install xampp, but EasyPHP downloaded fairly quick and took about 45 minutes to install, if I remember correctly. I have it installed on a flash drive to make it portable.
  19. Look at the bottom of the page....
  20. I use EasyPHP. I like it because you can install it on a flash drive. When I'm done, I shut it down, eject the flash drive and put it away.
  21. Check out the CSS3 property for overflow.
×
×
  • Create New...