www.webdeveloper.com

Search:

Type: Posts; User: phphelp

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    2,482

    Update Wordpress theme

    Hi,

    I am trying to update an WordPress theme with new meta tags. The person that set up the theme used code:

    echo of_get_option('sc_metakeywords'). I am unable to find the information...
  2. Replies
    1
    Views
    608

    Second form not allowing input!

    Can't figure this out. Need some help.

    <?php

    require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/access.inc.php';

    if (!userIsLoggedIn())
    {
    include '../login.html.php';
    // include...
  3. Can't get select query to work with VARIABLE! HELP

    1 #
    I used echo to show the value in $msscc1 and it is equal to 10.
    I used echo to show the value in $msscc1 and it is equal to 10. The uncommented line does not work.
    See error message.

    ...
  4. Popup Message Won't Work With External CSS

    Anyone out there ever used this javascript app for popup messages?

    http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_120.html

    Demo is great and will do all that I want but it will not...
  5. Replies
    3
    Views
    6,105

    Center href image in new window

    I am using a thumbnail picture as an hyperlink to another image. I want to center hyperlinked image in new window. My code is as follows:

    <div>
    <p><a target="_blank" href="images/carter500px.jpg"...
  6. Replies
    3
    Views
    1,460

    Alert Works, but

    I would like to use the information from the form, like with
    var iCipher = getElementById('cipher');

    I was using the document.write to see if the input was beeing retrieved. The second value...
  7. Replies
    3
    Views
    1,460

    getElementById on returns the first Id

    When I run the following code the script will not display the second id field from the form:

    function enCrypt( code )
    {

    var form = document.getElementById( 'myForm' );
    ...
  8. Replies
    5
    Views
    2,373

    Can't get function to work!

    When using the following code, I press Sign Guestbook button and the alert does not show. The alert is there as a test to see if the function is being called.

    Any help would be appreciated.
    ...
  9. Replies
    5
    Views
    3,029

    You are correct.

    The $obitid was not defined. However I still don't have the obitid. Is there a way to creat a form and use PHP to include the next form which should pass the variable on.

    <form action="<?php...
  10. Replies
    5
    Views
    3,029

    echo give same response

    I am not using the include function to get the current page. Using the action of a form to get to this point. The file now has a .php extension and I am using the echo feature. The only thing that...
  11. Replies
    5
    Views
    3,029

    Preload Form Field with id

    I want to preload a hidden form field with the id of the SQL record. The value is available on the form but I am unable to creat the form statement to preload it.

    Tried:

    <td><type-"hidden"...
  12. Resolved this issue.

    Change the code around to have the array within the form within the table.
    Thanks for the help.

    <table border="0">
    <tr>
    <th><font="arial, Helvetica, sans-serif"></font></th>...
  13. Replies
    4
    Views
    1,519

    Problem Resolved

    Thanks guys for the information. The code was just what I needed. One little problem with the code

    $birth = date('F j, Y', strtotime ($date(['birthDt']));

    The "(" after $date is not needed.
  14. Replies
    4
    Views
    1,519

    [RESOLVED] Date formating nightmare

    I have a mysql date of 1925-02-15. Trying to format it with php code

    $birth = date('F j, Y', $date(['birthDt']);

    It returns "December 31, 1969" everytime for every date.
  15. [RESOLVED] Creating a table within a form within an array

    In the following code I am trying to create a form for each line of code returned from a MySQL database. After the page displays I would like to display the obituary when the obituary button is...
  16. Replies
    1
    Views
    1,650

    Scrubbing pasted input into MySQL

    Is there a way to scrubb the form input that has been pasted into the form, before inserting into MySQL? After posting the data that was pasted into the form I see a large amount of filler junk in...
  17. Replies
    9
    Views
    1,777

    Figured it out from good advice.

    I went back to ground zero. Reinstalled MySql, Apache, and PHP. Started Apache service and now I can do a "SELECT * FROM obit_table" and see all the fields. Still don't understand why I was able to...
  18. Replies
    9
    Views
    1,777

    Tried mysql with same results

    I did try the mysql, but received the same results. I am able to do the select * in the command prompt without any problems.
  19. Replies
    9
    Views
    1,777

    Thanks for help.

    Thank you for you advice. I will check for all updates to mysql and php. I am using the latest version of apache 2.2.17.
  20. mysqli_fetch_array will not work with select *

    $result = mysqli_query($link, 'SELECT * FROM obit_table');

    //$result = mysqli_query($link, 'SELECT id FROM obit_table');

    if (!$result)
    {
    $error = 'Error fetching spencer records: ' ....
  21. Replies
    9
    Views
    1,777

    Crash Error Message

    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: httpd.exe
    Application Version: 2.2.17.0
    Application Timestamp: 4cbbe9e8
    Fault Module Name: php_mysqli.dll
    Fault...
  22. Replies
    9
    Views
    1,777

    multiple field select in php crashes apache

    $result = mysqli_query($link, 'SELECT * FROM obit_table') or die("SELECT Error: ".mysqli_error());
    echo ('Here we are!');
    if (!$result)
    {
    $error = 'Error fetching spencer records: ' ....
Results 1 to 22 of 22
HTML5 Development Center



Recent Articles