CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [FishMonger] How to implement a checkbox that will send data to db: Edit Log



terrykhatri531
User

Jul 16, 2014, 6:46 PM


Views: 62800
Re: [FishMonger] How to implement a checkbox that will send data to db

Thanks Ron,

I changed the directory to /var/www/html/tmp and it works now, I see another issue now, later in my script I display the photo first before going ahead with the database update, that photo is not being displayed, here is the snippet :


Code
  

<form action="" method="post">
Select Employee name for photo update :<select name=empid>$options</select><br>
Enter full path with photo name :<input name="path" value="$upload_dir/$filename"><br>
<IMG SRC="$upload_dir/$filename" WIDTH ="350" HEIGHT="500" ALIGN="Right" BORDER ="10" BORDERCOLOR="#333"><br>
<input type="submit" class="tsc_c3b_large tsc_button tsc_c3b_blue tsc_c3b_input" name="go" value="UPDATE" />
</form>















Do you see anything wrong with the line in red, when I right click on the empty image it shows the right path and the name but there is no photo to see !

I gladly appreciate any help as I really don't have a clue why this is happening. Thank you.

Terry



(This post was edited by terrykhatri531 on Jul 16, 2014, 8:10 PM)


Edit Log:
Post edited by terrykhatri531 (User) on Jul 16, 2014, 7:24 PM
Post edited by terrykhatri531 (User) on Jul 16, 2014, 7:41 PM
Post edited by terrykhatri531 (User) on Jul 16, 2014, 7:57 PM
Post edited by terrykhatri531 (User) on Jul 16, 2014, 8:10 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives