added submit weight php