Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jay8abear

    How to declare div inside javascript variable ?

    agreed with the forum clarification, but to quickly answer the question, try this: var newdiv = document.createElement('div'); var divIdName = 'myDiv'; newdiv.setAttribute('id',divIdName);
  2. jay8abear

    Putting a canvas in a div

    out of curiosity, what is the grid used for? I'm wondering if it would just be easier to use a repeated background image?
  3. jay8abear

    Safety PHP

    another note is that the "mysql" library is deprecated as of PHP 5.5.0 in favor of the new "mysqli" library. You should update your code to reflect this. Take a look: http://www.php.net/manual/en/intro.mysql.php
  4. jay8abear

    login script being silly, sessions?

    Actually, session_start() is the very first function called by the master file- sorry, I didn't include that here... and from what I can tell, it's not throwing any errors o.O
  5. jay8abear

    object-oriented approach advice

    Hello, I'm building a website which connects several reporting APIs (like google analytics) and I want to write a centralized class which does stuff like saving the authentication tokens to the database, and then each API would simply extend these features for the specifics that the api is...
  6. jay8abear

    login script being silly, sessions?

    I wrote a simple login script- done this many times before. for some reason, it works on the second try, but not the first. .. Here's what happens... So I go to the login page, enter the correct usern/passw and it logs in successfully, but the session var is not saved, thus it gets kicked back...

Part and Inventory Search

Back
Top