$result = mysqli_query($con,$addtothedb); $cur = "USERS/"; echo $des = $cur.$email.'/'; if($result){ if ( mkdir($des,0777) ) { //http://pastebin.com/7J0BM5fD echo "<br/>"; echo "<br/>"; echo $file_name = $_FILES['file']['name']= 'mfix.png'; echo "<br/>"; echo "<br/>"; echo $file_tmp =$_FILES['file']['tmp_name']= 'mfix.png'; echo "<br/>"; echo "<br/>"; move_uploaded_file($file_tmp, $des.$mfix); echo "<img src='<?php echo $mfix ;?>' alt='Image' style='width:100px;height:100px'>"; /*echo "<img src=' mfix.png' alt='Image' style='width:100px;height:100px'>";*/ echo " <div id='success'> Account Successfully Created. <br> Now you can Login. </div>"; } why it doesnt working?

Member Avatar
Member Avatar
-1 forum 2

Hi, My question goes as follows : I need to replace an existing image, with another one, but without using jquery ie using javascript and using the id of the image as it is <asp:Image> tag and hence does not support name. The image supports the functionality of toggling the text as menu but image replacement is not happening. Kindly help.. Please !! My code in user control is : <tr> <td nowrap="nowrap"> <div id='h<%# DataBinder.Eval(Container, "ItemIndex") %>' onclick='visible(<%# DataBinder.Eval(Container, "ItemIndex") %>);'> <asp:Image ID="ArrowImageButton" runat="server" ImageUrl="~/images/downarrow.png"/> <%# DataBinder.Eval(Container.DataItem, "Header") %> </td> </tr> and the javascript I am trying is : …

Member Avatar
Member Avatar
+0 forum 2

The End.