Jump to content

angeloghiotto

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Everything posted by angeloghiotto

  1. class links{ private $mysqli; function __construct(){ $this->mysqli = new mysqli('localhost', 'xxxx', 'xxxx', 'xxxx'); } function foo(){ $this->mysqli->query("BLA BLA BLA"); } function foo2(){ $this->mysqli->query("BLA BLA BLA"); } } Is there a problem to decalre the var mysqli , create a new object and use it for whole class ?
  2. How can i configure my feedburner to show posts like this one: http://feeds.feedburner.com/AhNegao Look, the post are showed on the feed burner, my my feed only show the links to post with a little comentary, Thanks in advance.
  3. What this parameter 'absolute' in DateTime::diff does? I have done some tests but i cant percept what is different when i set this parameter 'true'. Can you explain to me?! Thanks a lot. Best regards.
  4. Yes, i'm creating a new table. Table structure: ( the both table have the same structure... ) Uploaded with ImageShack.us
  5. MySQL version 5.1.56 heelo, i want to merge two identical tables without get the duplicate values, and.. if a duplicate appears i want to plus 1 to the hit column... that's possible?! Like: Table 1 Columns : A - B Values: Hi - 0 Values: Hello - 0 Table 2 Columns : A - B Values: Hi - 0 Values: Nice - 0 New Table 3 Columns : A - B Values: Hi - 1 Values: Nice - 0 Values: Hello - 0 . Understand? Thanks in advance.
×
×
  • 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.