Forum Replies Created

Viewing 15 replies - 1 through 15 (of 105 total)
  • Thread Starter qim

    (@qim)

    Thank you

    Thread Starter qim

    (@qim)

    No, I started from scratch tryinf to copy Adventure-jounal without all the things that I did not want. I assume you are saying that if it is not theough the dashboard, you will not help.

    I understand. Thank you anyway.

    Thread Starter qim

    (@qim)

    started as Adventure-journal. In a way it is, with lots of modifications

    Thread Starter qim

    (@qim)

    Started as one and I deleted all the unwanted links, etc

    Thread Starter qim

    (@qim)

    Thanks

    Here it goes. Please, don’t laugh…

    https://www.pintotours.net

    Forum: Fixing WordPress
    In reply to: html from css
    Thread Starter qim

    (@qim)

    Thanks again

    i got the little image in the page. great!!! Now, for the next problem: there are over 200 of them. Do I have to bring thm in one at a time or can I devise a coimmand to bring them all together?

    Forum: Fixing WordPress
    In reply to: html from css
    Thread Starter qim

    (@qim)

    So:

    <div class=”flag”>
    <img src=”flags/ad.png>
    </div>

    something like this?

    Forum: Fixing WordPress
    In reply to: html from css
    Thread Starter qim

    (@qim)

    I’m sorry to go on but I’m a bit lost here. I have put the css stuff in the css file and there images which are in the server. How do I access those images? I must refer to the file where the images are and so far there is nothing and I don’t know how to do it.

    can you help?

    Forum: Fixing WordPress
    In reply to: html from css
    Thread Starter qim

    (@qim)

    could you tell me what i have to put in the html for the flag to appear, please?

    Forum: Fixing WordPress
    In reply to: Login procedure
    Thread Starter qim

    (@qim)

    well, i’ve now changed $result to $active in the line
    $count=mysql_num_rows($result);
    which is the field that changes from 0 to 1 when the visitor confirms the email address, and now I get as far as wrong name and password.

    I will paste the code again as it seems to have been truncated above

    $sql="SELECT * FROM $tbl_name WHERE user='$user' and password='$password'";
     $result=mysql_query($sql);
    
    echo "So far";
    
    // Mysql_num_row is counting table row
     $count=mysql_num_rows($active);
    
    echo "so good";
    
    // If result matched $user and $password, table row must be 1 row
    
    if($count==1)
    
    {
    
    // Register $username, $password and redirect to file "login_success.php"
     session_register("user");
     session_register("password");
    header("/Pinto/login_success.php");
     }
    
     else {
     echo "Wrong Username or Password";
     }
     ?>
    
     </body>
    </html>
    Forum: Fixing WordPress
    In reply to: Login procedure
    Thread Starter qim

    (@qim)

    I’ve managed to get to work, partly but I am stuck on a part of the code I picked up: I’ve introduced echoes “so far” and “so good” and they print out but then I get a white page. I’m womdering if the code $count=mysql_num_rows($result); must also reflect something in my table as I have not changed that.

    // Mysql_num_row is counting table row
     $count=mysql_num_rows($result);
    
    echo "so good";
    
    // If result matched $user and $password, table row must be 1 row
    
    if($count==1)
    
    {
    
    // Register $username, $password and redirect to file "login_success.php"
     session_register("user");
     session_register("password");
    header("/Pinto/login_success.php");
     }

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Forum: Fixing WordPress
    In reply to: Login procedure
    Thread Starter qim

    (@qim)

    Yes the table in the database is fine. My registry setup workd fine.
    Right now I want to connect what needs to be connected as far as the different files are converned. I came to the conclusion that it is the other way round: i have to tell the html file where the vivitor’s input is created to Post the data to the other file, which apparently and surprisimngly does not need to know where the data is comimng from…

    It is like this, yes?

    Forum: Fixing WordPress
    In reply to: href and php
    Thread Starter qim

    (@qim)

    Don’t worry, I’ve sorted it out

    Forum: Plugins
    In reply to: simple code
    Thread Starter qim

    (@qim)

    SOLVED

    Forum: Plugins
    In reply to: php simple code
    Thread Starter qim

    (@qim)

    Thank you. I solved it!

Viewing 15 replies - 1 through 15 (of 105 total)