Search found 3 matches

by Jackpotgee
Tue May 01, 2012 11:38 pm
Forum: Javascript
Topic: Problem passing PHP variable into Javascript
Replies: 2
Views: 2174

Re: Problem passing PHP variable into Javascript

You are a genius, thank you. How to do that has been driving me nuts for ages.
by Jackpotgee
Tue May 01, 2012 1:58 am
Forum: Javascript
Topic: Problem passing PHP variable into Javascript
Replies: 2
Views: 2174

Problem passing PHP variable into Javascript

Hi all, I have the following php script $img2 = $img2_id.$img2_name; $img2_thumb = "thumb_".$img2_id.$img2_name; echo "<div id='viewadd_image2' class='smallimage'><img src='uploads/".$img2_thumb."' onclick = 'display_img($img2)'/></div>"; the output of $img2 will be a n...
by Jackpotgee
Thu Apr 26, 2012 12:32 am
Forum: PHP - Code
Topic: Display image from database into HTML table
Replies: 1
Views: 1384

Display image from database into HTML table

Hi all, If you can help me i'd be a very happy man. Been trying to get this working for too long now. I have an upload form where the user can upload an image. the form is [text]<form id="newaddform" action="newaddsubmit.php" method="post" enctype="multipart/form-d...