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 TouchToneTommy 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: *

  1. Karl Blessing

    update web site using php and mysql?

    You could quite simply use MySQL to store the markup, or you could use a flat file (flat file is usually preferable if you don't anticipate updates frequently) Right now I'm working on a site that the client requested just that much (being able to update some of the content on their own). The...
  2. Karl Blessing

    Converting Tab delimited to MySQL database

    Opening the book names since theres only like 20 of them, I can verify that it's clean before doing anything. The code works, and was only intended for a one time use, with a verification afterwards. Once the 6 or so versions were uploaded and verified, there was very very little need to ever...
  3. Karl Blessing

    PC or Mac for this complete newbie?

    I was mainly using PCs for years and such and while I can handle them just fine. I ended up getting a macbook for the new job (php/mysql/css/etc developer, yada yada yada). Now considering you're mostly familiar with microsoft technology (though you say moving to php/mysql) I would recommend...
  4. Karl Blessing

    DIV layout issue in IE7/8

    I don't know if this would be useful to you at all, but... If you put this in your head (or better yet the actual header return) <meta http-equiv="X-UA-Compatible" content="IE=7;FF=3;OtherUA=4" /> IE8 will automatically render that page as if it were IE7. While its often good to try to figure...
  5. Karl Blessing

    Converting Tab delimited to MySQL database

    Actually, remove stripslashes and it's good to go. Karl Blessing http://www.karlblessing.com
  6. Karl Blessing

    Converting Tab delimited to MySQL database

    Figured it out, I wrote this script. Basically... 1) Manually add a version, note the ID created 2) Change version # on top of script to that version 3) Upload the book_names file into the same folder for that version 4) remove comments and upload verses for that version 5) Run script 6) Done...
  7. Karl Blessing

    DIV layout issue in IE7/8

    Seeing as IE8 is beta right now, what are the chances that what you fix today for IE8, will be broken when it's no longer beta? Karl Blessing http://www.karlblessing.com
  8. Karl Blessing

    Converting Tab delimited to MySQL database

    I can't use the original book id, cuz there are already 3 other versions of the bible in the database ( as I said ), which have unique ids of their own, and using the one from the file would cause conflict. Karl Blessing http://www.karlblessing.com
  9. Karl Blessing

    Hi - HTML symbol for ?

    Probably based on your editor then too (I run into the same problem when someone cuts and pastes text from MS Word into html file, things like quotes and backquotes and such start showing up like question marks, so you gota go in remove em, then actually type the quote from your keyboard). But...
  10. Karl Blessing

    Hi - HTML symbol for ?

    Or in HTML directly (quick answer) &*9792; replacing * with a # (so that it shows up here) Keep in mind however, that wherever you store the symbol (especially if you don't do it by the HTML entity method) needs to be able to handle unicode characters. A webpage presented in iso standard or...
  11. Karl Blessing

    PHP and Mysql report

    ...want to do some research into JOIN clause that will join tables based on their matching parts to help format a better result. ie: [code] SELECT * FROM t1 LEFT JOIN (t2, t3, t4) ON (t2.a=t1.a AND t3.b=t1.b AND t4.c=t1.c) Karl Blessing...
  12. Karl Blessing

    Non-printing output - possible?

    Oh by the way, for the sake formating, Courier New is the safest monospace font to use, as it is also the most commonly installed. Karl Blessing http://www.karlblessing.com
  13. Karl Blessing

    Non-printing output - possible?

    ...appendstar($string, $length) { $strlen = strlen($string); $newstring = $string; for($i = 1; $i <= ($length - $strlen); $i++) { $newstring.= "*"; } return $newstring; } the string should now have trailing * but keep the same width of characters as the previous line. As for the web...
  14. Karl Blessing

    Converting Tab delimited to MySQL database

    I'm currently working on my church's website incorporating a couple versions of the bible into the site for an on-site searching and browsing capability. I currently already have King James, and some others from older text that I had (manually yikes!) parsed into the mysql database and actually...
  15. Karl Blessing

    Randomizing the Results.

    Ahh thanks for that bit. Appears to work, will know more once I start getting more church/pastors in for the working demo. Karl Blessing PHP/MySQL Developer http://www.karlblessing.com
  16. Karl Blessing

    Randomizing the Results.

    (I am using PHP on a *nix box) I would like to make the results returned from this query return in a random order. ie: 1 2 3 4 5 => 2 4 1 3 5 , and different each time the query is run. select f.ID as fid, d.Title as denom, c.denom as did, c.ID as ID, c.name, c.imgw, c.bio, c.imgh, c.city...
  17. Karl Blessing

    FullText Search Not Reliable

    Hrm, how would I let it do both? Karl Blessing PHP/MySQL Developer http://www.karlblessing.com
  18. Karl Blessing

    FullText Search Not Reliable

    Ok I have a database table, with some records in it, two fields make and model are both indexed as fulltext searchible ( together ). (MySQL 4.*, PHP 4.*, Apache, on a *nix server) Heres a Scenario, say Make is "Chevy", so I do a search for chevy using the following Mysql Statement. select...
  19. Karl Blessing

    Applying Text to Image with Transparency

    Most people know how to throw some text onto an image, but what about not only putting the text on the image, but also controlling the transparency of that image. Here is a simple code that does just that, edit the variables as needed. Header ("Content-type: image/png"); //The copy of...
  20. Karl Blessing

    Trying to make clean text-based watermark

    ...jpegs. To add a tiny bit of a touch I threw this into my .htaccess as part of a mod_rewrite to make the url a lil simpler. RewriteRule ^w/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/ /wmtest.php?gallery=$1&file=$2&red=$3&green=$4&blue=$5&tran=$6&position=$7&clear=$8 [L] (I'm not a regex...

Part and Inventory Search

Back
Top