Minggu, Agustus 08, 2010

XAMPP : XAMPP Windows 1.7.3 problem after installation

Case: Install / upgrade xampp to the new version (1.7.3)

Problem: After a successful installation, the . php files can not be read by browsers

Solution: Edit the php.ini, search for "short_open_tag" (default value: Off), make it "On
"









Credit to : dhanuxz senyum

Thank you

Kamis, Juli 01, 2010

MySQL : Merge two tables

using phpMyAdmin :

  1. select database
  2. create new table (note that the new table should have the same structure as the table that we want to merge)
  3. go to the SQL menu and type in the sql box :

    INSERT IGNORE
    INTO table_1
    SELECT *
    FROM table_2
    ;
















    doh !