DannyCarlton.net Feedback Forums | register | login
phpBible.org

    Return to Main Page
re: keyword=Song+of+Solomon+3 doesn’t work
Nov. 3rd, 2008   7:13pm

Found the problem. Since Song of Solomon has three words, the the chapter reference, it wasn’t seeing the chapter reference. I fixed it. For those needing to fix it in their own installations, here’s the quick way...

Locate the code...

  if(ereg("[0-9]", $p_keys[1]))
    {
    $p_key2=implode(’ ’, $p_keys);
    $p_key2=str_replace($p_keys[0], ’’, $p_key2);
    $reference_key=ereg_replace("[^0-9:,-]", ’’, $p_key2);
    $book_key=$p_keys[0];
    }

...place immediately below it the following code...

  if(ereg("[0-9]", $p_keys[3]))
    {
    $p_key2=implode(’ ’, $p_keys);
    $p_key2=str_replace($p_keys[0], ’’, $p_key2);
    $reference_key=ereg_replace("[^0-9:,-]", ’’, $p_key2);
    $book_key=$p_keys[0].’ ’.$p_keys[1].’ ’.$p_keys[2];
    }

That’ll fix it.

Danny Carlton (72.198.68.182)


    Return to Main Page
This Thread

Post a Message
Name:

Subject:

Message:


page processed in 0.00168585777283 seconds
Return to DannyCarlton.net main page