Posts
javascript print div content
- Get link
- X
- Other Apps
<!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> <script type="text/javascript"> function printlayer(layer) { var generator=window.open(",'name,"); var layetext = document.getElementById(layer); generator.document.write(layetext.innerHTML.replace("Print Me")); generator.document.close(); generator.print(); ...
How to upload and display image from database using php mysql oops concept.
- Get link
- X
- Other Apps
index.php <?php include './classes/image_class.php'; $obj_image = new Image(); if(@$_POST['Submit']) { $obj_image->image_name=str_replace("'", "''", $_POST['txt_image_name']); $obj_image->image=str_replace("'", "''", $_POST['txt_image']); $obj_image->Insert_into_image(); $data_image=$obj_image->get_all_image_list(); $row=mysql_num_rows($data_image); } ?> <!DOCTYPE html> <html> <head> <title>NOvaeye </title> </head> <body> <CENTER><H1>Novaeyewear</H1></CENTER> <CENTER><H2>Sunglass</H2></CENTER> <CENTER> <form method="post" enctype="multipart/form-data"> <table border="1" width="80%"> <tr> <th width="50%">IMage NAme</th> <td width=...