Jump to content

fugix

Members
  • Posts

    1,483
  • Joined

  • Last visited

Posts posted by fugix

  1. either that is not an actual input box or they are setting some sort of onchange event to display window.form.value=the names out of the db inside of a span or div

     

    The later of what you said is how they are doing it.  I think I've figured it out.  Now just time to do it!

    heh...yeah, shouldn't be too difficult, but im expecting to see you post another thread about it.  ;D

  2. Thank you fugix and web-developer for the nice comments.

     

    I do simple designs at dkntemplates.com but my expertise is on converting designs to html/css, Joomla template and wordpress themes.

    I've tried using joomla before, skill in its own..heh

  3. $(document).ready(function() {
    if (window.XMLHttpRequest) {
      xmlhttp=new XMLHttpRequest();
    } else {
      xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
    xmlhttp.onreadystatechange = function() {
    	if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
    		$("#news_feed).html(xmlhttp.responseText);
    	}
    }
    xmlhttp.open("GET", "../news_feed.php, true);
    xmlhttp.send();	
    });
    

     

    This will display the news feed automatically when the page gets loaded, and input what's returned in the div container "news_feed". Pretty self-explanatory, but if you want to use this function to load the data on triggered events, give the function a name and write it into your html.

     

    BTW, this uses jQuery, so I'd recommend downloading it before trying to use this code. Hope this helps!

    only problem with this is, the page will need to be loaded before the news feed loads. Could cause slow loading time if there is a lot of content on the page.

     

    I'll just go the php route to start. thanks

    no problem.

  4. make these changes according.

    if(mysql_num_rows($queryN) == 1)
        {
            $resultID = mysql_fetch_assoc($queryN);    
            $resultID['user_id'] = $_SESSION['user_id']; //change your $ID to $resultID
                            
    $_SESSION['user'] = $_POST['user'];    
    header("location:indexn.php");      
    }

  5. $(document).ready(function() {
    if (window.XMLHttpRequest) {
      xmlhttp=new XMLHttpRequest();
    } else {
      xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
    xmlhttp.onreadystatechange = function() {
    	if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
    		$("#news_feed).html(xmlhttp.responseText);
    	}
    }
    xmlhttp.open("GET", "../news_feed.php, true);
    xmlhttp.send();	
    });
    

     

    This will display the news feed automatically when the page gets loaded, and input what's returned in the div container "news_feed". Pretty self-explanatory, but if you want to use this function to load the data on triggered events, give the function a name and write it into your html.

     

    BTW, this uses jQuery, so I'd recommend downloading it before trying to use this code. Hope this helps!

    only problem with this is, the page will need to be loaded before the news feed loads. Could cause slow loading time if there is a lot of content on the page.

  6. background is nice, peaceful. I believe that the font at the top could be a bit smaller, as it is right now its a bit overwhelming. I like the hover effects. hover effects for the link at the bottom are hardly noticeable, would make them stand out more when hovered over, possibly underlined. Overall I would say that its clean, i like it

  7. But, this is an odbc query?  Can I still generate a MySQL connection, store mysql_real_escape_string() into a variable, and then use that value with my odbc query?

    i must have posted that without thinking, you cant call that function without a valid link established. maybe you can try using htmlentities() to insert data, and html_entity_decode()to draw them out of your db

×
×
  • 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.