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 bkrike 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. scorpion4377

    Why does nobody use single quotes?

    Everybody uses double quotes, from the people at PHP.net to some people who make big open-source projects. But why? Its MUCH slower, and using single quotes in more professional. Why doesn't everybody use single quotes? Just wondering. Sorry if this is off-topic.
  2. scorpion4377

    Working with large numbers without GMP

    Since PHP can't compute anything with large numbers, and my server doesn't have GMP installed, I made a few quick functions that can add, multiply, and find the factorials of large numbers. With my function, the exact value of 51! can be evaluated in 3 seconds. Of course, since I rushed...
  3. scorpion4377

    Question on the amount of tables and queries a project should use

    I recently made a site in PHP and MySQL where you can, with a valid code, add a poll with 2-5 choices. Your poll is added automatically, and everybody can vote on it. I have three tables: -Codes (Stores valid codes) -Polls (Stores the questions, information about who added the poll, and the...
  4. scorpion4377

    Problem with arrays and variable variables

    $$name[1] = 2; // This will set a variable with a name of $name[1] to 2. But, I want to do this: $($name)[1] = 2; // I want it to make the variable to be an array. I know I can use $$name = array(), but that's not very dynamic. Thanks!

Part and Inventory Search

Back
Top