Jump to content

pwes24

Members
  • Posts

    56
  • Joined

  • Last visited

    Never

Posts posted by pwes24

  1. I have a problem with links on my site. I have used css to define the link states(hover, active etc) but once it has been clicked, it doesn't change on rollover(hover). What am I doing wrong? Here's the code:

    a:link {
    font-family:Arial;
    font-size:12px;
    color: #333333;
    text-decoration: none;
    }
    
    a:hover {
    font-family:Arial;
    font-size:12px;
    color: #333333;
    text-decoration: underline;
    }
    
    a:active {
    font-family:Arial;
    font-size:12px;
    color: #333333;
    text-decoration: none;
    }
    
    a:visited {
    font-family:Arial;
    font-size:12px;
    color: #333333;
    text-decoration: none;
    }

  2. Hello everyone,

     

    I have an upload script that uploads resumes to the server. I'd like to make sure that only ms word documents are uploaded. What is the mime type for the ms word .docx? I know the mime type for the other .doc is application/msword.

     

    Thank you.

  3. Hello, I have this website where people can search for jobs. The problem is I don't know how to use the LIKE syntax and others like WHERE `column`=$myVal. Here's my code so far. I'd like to search using more variables. How do I do this?

    $squery = "SELECT * FROM `jobpost` WHERE `city`='.$city.' `title` LIKE '%$keyword%' "; 
    

     

    I'd also like to search with additional variables like state, industry.

     

    Thank you.

  4. Hello everyone,

     

    I have a drop down menu with a list of the 51 states using the <select></select> tags. The problem is when you click to select, the menu starts at the top of the screen instead of dropping down from the position of the menu element on the form. How do I correct this?

     

    Thank you in advance!

  5. Hello everyone.

     

    I'd like to create a user friendly admin file where one can change elements like coloron a different web page. For example, to change the background of a web page, the client just logs on to the admin panel and makes the change. How do I write code to go to the web page and update this information permanently?

     

    Your help will be apperciated.

  6. Hello everyone.

     

    I'd like to create a user friendly admin file where one can change elements like coloron a different web page. For example, to change the background of a web page, the client just logs on to the admin panel and makes the change. How do I write code to go to the web page and update this information permanently?

     

    Your help will be apperciated.

  7. Hello,

    Im a freelance web developer looking to connect and partner with other web developers in India. The main purpose of this partnership will be to help me finish clients' projects on time. I have an extensive network of client base and so to satisfy them,  I'm gonna need some more hands on contract basis.

     

    If you are interested, please shoot me an email at 'urbanclad@yahoo.com'.

     

    Thank you.

  8. session_start();

    //if you registered any session variables, you'll need to unregister

    session_unregister("SESS_USERNAME");

    session_unregister("SESS_USERID");

    session_destroy();

    //to completely destroy session variables, set the $_SESSION to an empty array!

    $_SESSION = array();

  9. I have a simple code that just doesnt work. Can you help me point out the problem? Thank you.

     

    $prod_id = $_GET['product_id'];
    $query = "DELETE * FROM `shoppingcart` WHERE `pro_id`='".$prod_id."' ";

     

    Here's the error it gives me:

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* FROM `shoppingcart` WHERE `pro_id`='1'' at line 1

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.