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...
Agreed with jpadie, Also when you do post in the MySQL forum, you'll likely 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...
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
Not sure how you would get the dotted lines to end at the same place all the time on the client side. But I know with PHP you could do something like this.
function appendstar($string, $length)
{
$strlen = strlen($string);
$newstring = $string;
for($i = 1; $i <= ($length - $strlen); $i++)...
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...
I found a work-around of sort. Rather than trying to figure out how to make the text layer transparent, I just had to find a way to make it appear transparent, so what I ended up doing in the end was making two copies of the image. Wrote the text to one copy, then used the second copy to merge...
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.