dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: store excel values in database

  1. #1
    Join Date
    Apr 2009
    Location
    Petersburg, NY
    Posts
    59

    resolved store excel values in database

    i upload.jpg

    This is the similar excel i use to store its value in the database. I need to insert the value of corresponding emp id whose weight-age is less than 100. I'm doing in joomla. Just i need a logic to insert the following values say,
    expected_result.jpg

    Please reply

  2. #2
    Join Date
    Dec 2012
    Location
    Lubbock Texas
    Posts
    5
    add a condition before the query----if $age=>100; {do query}else{do something else or die}

    Your query can handle the image link to the image file. Not sure if that is what you are asking? To insert the link assign a $value to it--->

    insert into employees id, excell_id, age, weight, image values "'.$id.'", "'.$exc_id.'", "'.$age.'", "'.$weight.'", "'.$image_value.'",

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles