Jump to content

ryanfilard

Members
  • Posts

    252
  • Joined

  • Last visited

Everything posted by ryanfilard

  1. Yeah, I could not think of one to use. I will use $queryoutcome
  2. This is my code: $req = $_GET['s']; $as = "SELECT users.username, users.fname, users.lname, users.tags FROM users.users WHERE "; $terms = explode(" ", $req); foreach($terms as $smart){ $a++; if ($a == 1) $as .= "users.tags = '$req' "; else $as .= "OR users.tags LIKE '$req' "; } mysql_select_db($database_Users, $Users); $query_Recordset1 = "SELECT username, fname, lname, tags FROM users"; $Recordset1 = mysql_query($smart, $Users) or die(mysql_error()); $row_Recordset1 = mysql_fetch_assoc($smart); $totalRows_Recordset1 = mysql_num_rows($smart); This is What I Get: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'nah' at line 1 URL: http://www.celbre.com/search.php?s=nah&button=Search
  3. I fixed my severs, you should be able to get on it now.
  4. I creates a section on my website called profiles. I am doing updates on it tell me what you think. Old But Current Site: http://www.ryanweekly.com/user/?p=nah New Site: http://www.celbre.com
  5. I have small images uploaded to mysql with blob. How would I display them Like This? <img src="<?PHP echo $row_rweek['image'] ?>" />
  6. hostgator.com
  7. ryanfilard

    Hello

    I don't know where to put this, but should I trademark my website name & logo?
  8. Is it possible to make the highlight on hover fade in and out? http://folkartdecoys.starsquad.info/index.php
  9. I am working on a website for a customer. How is it so far and how can I improve it. http://folkartdecoys.starsquad.info/
  10. <?PHP //Data to write $newsletterinfo = '_a'; $newsletterinfo = $_REQUEST['email']; //Open the file directory $fdir = fopen('created/1.txt', 'a'); //Write The Data fwrite($fdir, $newsletterinfo ); //Close the connection fclose($fdir); ?>
  11. This is the link to your site right? http://animatedgameplay.webs.com/
  12. Its great - By the way it says "Untitled Document" Remember to change that. (;
  13. Great website (=
  14. I want a script that can add +1 while creating the file if the file exists. Can I have help with this? Ex: 1.txt if exists create 2.txt
  15. I fixed the logo and site I did not publish it yet.
  16. It did not have them before. http://ryanweekly.com/
  17. <img src="image.png" title="Hover Text">
  18. I am making this for a client. Tell me if it looks alright http://design.ryanweekly.com/1/
  19. Try this code <style type="text/css"> img.bg { min-height: 100%; min-width: 1024px; /* Set up proportionate scaling */ width: 100%; height: auto; /* Set up positioning */ position: fixed; top: 0; left: 0; } @media screen and (max-width: 1024px){ img.bg { left: 50%; margin-left: -512px; } } #page-wrap { position: relative; width: 700px; margin: 100px auto; padding: 20px; background: mistyrose; -moz-box-shadow: 0 0 20px black; -webkit-box-shadow: 0 0 20px black; box-shadow: 0 0 20px black; } p { font: 15px/2 Georgia, Serif; margin: 0 0 20px 0; text-indent: 20px; } </style>
  20. try this <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title> - Welcome to our web site</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="styles.css" type="text/css" /> <style type="text/css"> .bodyContainer { border: 0px solid brown; float: left; width: 860px; } .header { width: 856px; height: 77px; color: #693E38; font-family: Broadway; border: 0px solid #EDB6B6; } /* #693e38 is (105,62,56) */ .menu { width: 100%; text-align: justify; font-size: 12pt; } .searchCategoryBox { border-right: 1px solid #EDB6B6; float: left; width: 130px; padding: 3px; font-size: 9pt; } .resultsBackground { background-image: url('images/D89-grey-c.JPG'); } .results { border-top: 1px solid #F0F0F0; border-left: 1px solid #E5E5E5; border-right: 1px solid #E5E5E5; float: left; width: 695px; margin-left: 10px; padding: 3px; font-size: 9pt; } .multiItemBoxes { border: 1px solid #E5E5E5; float: left; width: 155px; height: 180px auto; margin: 4px; padding: 4px; text-align: center; } .multiItemBoxesImg { border: 1px solid #F0F0F0; max-width: 130px; max-height: 100px; } .footerhosttext { color: #000; } .copyright { float: left; width: 33%; text-align: center; font-size:9pt; line-height: 16px; border: 0px dashed #000; } .footer { border-top: 1px solid #EDB6B6; width: 100%; font-size: 12pt; } .clearfloat { clear: both; } .productLineheight { line-height: 5px; } hr.smallDivider { color: #EDB6B6; height: 1px; } /* brown = #A52A2A */ .catListLineHeight { line-height: 12px; } a.cat { text-decoration: none; } a.cat:link { color: grey; } a.cat:visited { color: grey; } a.cat:hover { color: black; } a.activeCat:link { color: blue; text-decoration: none; } </style> </head> <body> <!-- start of pink --> <div class="bodyContainer">.. <div class="menu">Home Product About us Contact us</div> <form name="form1" action="cart.php" method="post"> <div class="searchCategoryBox"> <p>Total items in cart: 0<br />Grand Total: £0.00p<br /><br /><a href="cart.php?mycart=yes">View Your Items</a></p> <hr class="smallDivider" /> <p><strong>Search categories</strong><br /><input name="query" type="text" size="12" /><br /><input name="search" type="submit" value="search" /></p> <p>or <strong>Select by category</strong></p> <br class="catListLineHeight" /> </div> <div class="resultsBackground"> <div class="results"> <a href="cart.php">cart</a><br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> <br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> <br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> <br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> <br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> <br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> <br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> <br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> <br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah<br /> <br /> </div> </div> </form> <br class="clearfloat" /> </div><!-- end of pink --> </body> </html>
  21. When I add the data how do I make it so it does not do this: email@email.comemail@email.comemail@email.comemail@email.comemail@email.comemail@email.com I want it to do this: email@email.com email@email.com email@email.com
  22. I changed it but it still does not work. I am doing something wrong? <?PHP //Data to write $newsletterinfo = $_REQUEST['email']; //Open the file directory $fdir = fopen('newsletter.txt'); //Write The Data fwrite($fdir, $newsletterinfo); //Close the connection fclose($fdir); ?>
  23. I have to create a script that writes a user's email to a .txt file. I am using the code below and it does not seem to be working. <?PHP //Data to write $newsletterinfo = $REQUEST['email']; //Open the file directory $fdir = fopen('newsletter.txt'); //Write user email fwrite($fdir, $newsletterinfo); //Close the connection fclose($fdir); ?>
  24. It does not echo the text "Submit" when are the variables are set correctly.
  25. <?PHP if ((!empty($_SESSION['MM_Username'])) && $row_recordmeq['blockera'] == '1' && ($_SESSION['MM_Username']) == '$userverf') echo 'submit'; ?> It does not seem to be working
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.