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...
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...
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...
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...
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...
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
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
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...
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...
...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...
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
...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...
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...
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
(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...
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...
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...
...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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.