Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Zilch
  • Order by date
  1. Zilch

    MySQL and a while loop.

    hos2's code did not work for what I was trying to do. However, DRJ478's fixed the problem perfectly. Thank you.
  2. Zilch

    MySQL and a while loop.

    I've a slight problem with my while loop. Although it is doing exactly as it is suppose to, I relized something. I need to contact the MySQL database, find the value of every line with a given username, then show the content of each of those lines one by one. I thought maybe an array or...
  3. Zilch

    INSERTING INTO MYSQL

    The line after $sql you'll want to put this: $result = mysql_query($sql,$dbh) or die(&quot;Information insersion fail.<br>Reason: &quot;. mysql_error()); I believe this should fix your problem.
  4. Zilch

    MySQL won't connect for any apparent reason.

    Okay, thank you everyone. The problem was the fact that I was using to and from, I changed them, and everything worked fine... just a few bugs I still need to work out though.
  5. Zilch

    changing white background to transparent

    The best way to remove a background that I've found is once you do what Kylebellamy said, you just hit Shift+Ctrl+I (Select > Inverse) then ctrl+X (cut) and finally ctrl+v (paste) this will put the image on a second layer with no background, you can then delete the bottom layer and do as you...
  6. Zilch

    MySQL won't connect for any apparent reason.

    I get the error &quot;Couldn't connect to send information.&quot; If you'd like the rest of the code sorrounding that bit, please tell me.
  7. Zilch

    MySQL won't connect for any apparent reason.

    Okay, I've checked, re-checked, and looked over my code what feels like a few hundred times now. I know it's connecting to the Database, but it won't add information! Anyways, here's my code: $sql = &quot;INSERT INTO pm (from,to,subject,message,date) VALUES...
  8. Zilch

    Passing variable in email message

    As far as I can tell, you're only giving the variable 'code' value, then doing nothing with it. I would just do what spookie said, except try it like this: $Message .= &quot;\n\n<a href=http://www.domainName.com/file.php?code=&quot;.$code.&quot;>Click here</a>&quot;; That way it doesn't look...
  9. Zilch

    Perplexing Paragraph Parsing

    Okay, I'm trying to write a pm system for my site. However, as far as I know (a friend of mine ran into this problem) MySQL databases don't store paragraphs. I'm wondering if maybe ASCII is stored (if so, the ASCII code is 12), or how I could fix this problem. Then I need to parse the...
  10. Zilch

    how to get the curent page

    I'd suggest just $PHP_SELF it's just the file name, no paths.

Part and Inventory Search

Back
Top