6,574 Topics
![]() | |
error Please select an imageError: Duplicate entry '' for key 'img' ` //file properties $file = $_FILES['image']['tmp_name']; if(!isset($file)) echo "Please select an image"; else { $image = addslashes(file_get_contents($_FILES['image']['tmp_name'])); $image_name = addslashes($_FILES['image']['img']); $image_size = getimagesize($_FILES['image']['tmp_name']); if($image_size==FALSE) echo "That's not an image."; else { { if(!$insert = msql_query("INSERT INTO shop (id, img, … | |
hello, I use a script I found on this site [Click Here](http://www.html-form-guide.com). I don't think the htmlentities check work and I don't know what's wrong. the .php file for the registration starts with <?PHP require_once("./include/membersite_config.php"); if(isset($_POST['submitted'])) { if($fgmembersite->RegisterUser()) { $fgmembersite->RedirectToURL("thank-you.php"); } } ?> and the user registration form starts with … | |
this is my code (html) i dont know how can i open the page in div , i try with iframe but is failed :/ plz help me! <html> <head> <title>Template</title> <script type="text/javascript" src="script.js"></script> <link rel="stylesheet" href="style.css" type="text/css" media="screen" /> </head> <body> <div class="PageBackgroundGradient"></div> <div class="Main"> <div class="Sheet"> <div class="Sheet-tl"></div> … | |
Hey everyone, I haven't been on here in a while and I have probably a stupid error somewhere but anyway, I have three files: one is a php(header) file and the other is a css file linked into the index page. I think I've coded the php and I'm pretty … | |
Hello people of daniweb. I'm new here :) Anyways, I have issue with my css. I have top picture which is exaclty of 570px height, and it has some gradient in it so it is not repeatable. I have middle (or center) picture which is 1 px height and same … | |
Hi, I have to add css attribute at runtime using jquery.. For example i have the following code: <table width='100%' cellpadding='0' cellspacing='0' > <tr> <td valign='top' width='70%'><span class='header-text'> </span> </td> </tr> </table> I need to add css style to the table. I can access span element of td within table. … | |
Hey I tried to access a cookie that has a [object HTMLImageElement] but I found out that cookies have a limit on size so Im trying to do this with pure Javascript I can store the value of what I want in a hidden div and now I want to … | |
I want to use while loop in html. I have the following php code. But it does not work. How can i solve this problem? Please any one help me. while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . $row['ID'] . "</td>"; echo "<td>"; echo "<input name="txtf" type="text">"; echo "</td>"; … | |
<html> <script type="text/javascript"> function show_hide(o){ if(o.className == "hidden"){ document.getElementById('menu').style.display = 'block'; o.className = "show"; }else if(o.className == "show"){ document.getElementById('menu').style.display = 'none'; o.className = "hidden"; } } </script> <a href="#" class="hidden" onclick="show_hide(this)">Bryn Blayne</a> <div id="menu" style="display: none;"> <ul> <li><a href="file:///C:/Users/Vince/Pictures/kinklive%20fan/brynabout.htm" TARGET="MAIN">About Me</a></li> <li><a href="file:///C:/Users/Vince/Pictures/kinklive%20fan/bryncontact.htm" TARGET="MAIN">Contact</a></li> <li><a href="file:///C:/Users/Vince/Pictures/kinklive%20fan/brynschedule.htm" TARGET="MAIN">Schedule</a></li> <li>Pictures</li> <li>Videos</li> </ul> … | |
i have a form in html. when user hit sumbit. i want to run top php code. when i run it it give me 2 errors Notice: Undefined variable: _SESSION in C:\xampp\htdocs\login_test\register.php on line 134 Warning: array_key_exists() expects parameter 2 to be array, null given in C:\xampp\htdocs\login_test\register.php on line 134 … | |
Alright, I just started trying to do some CSS (I know, I have too much time on my hands) in order to make my own theme for firefox, so it matches my windows theme a little better. However, I really don't know what CSS is, what the general syntax is, … | |
Hello, I have a HTML file, as well as I have an excellent program that can print anything to PDF. Although I have a HTML document with frames and I'd like to convert it to PDF but with the navigation links within the HTML transfer to the PDF. Does anyone … | |
Notice: Undefined index: HTTP_REFERER in C:\xampp\htdocs\cart\order.php on line <?php define('INCLUDE_CHECK',1); require "connect.php"; if(!$_POST) { if($_SERVER['HTTP_REFERER']) header('Location : '.$_SERVER['HTTP_REFERER']); exit; } ?> | |
Notice: Undefined variable: _SESSION in C:\xampp\htdocs\dl\index.php on line 117 here;s the code: <?php if ($_SESSION['username']) echo "Hello ".$_SESSION['username']." â™”<a href='logout.php'> Logout </a> "; ?> | |
Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\cart\ajax\tips.php on line 8 | |
Hey guys. I am new at programming and would appreciate any help I can get. I want to make a program that reads the HTML code of a web page, and writes a specific line into a document. So for example, I want my code to read the source of … | |
Hi everyone, I have been trying to write a php script to display a div and its contents depening on a result from mysql. Inside the div is a basic input form etc, nothing special, some error & validation checking. What I would like to do is, to only display … | |
Hi i need help if theres something in css codes that make the text float to the top.. tnx. | |
Hello, I need to generate a pdf and put information from an HTML form. I have a html form put the info into that form. As I submit the form all the information should go to PDF file. That PDF file should be resided on my server into a folder. … | |
i need help in HTML and CSS.... i want text in left side of slide and forum on rite side of slide..... when i made a forum on rite side. slide just down :( i attach css and html file plz help | |
Hello all, I have a simple html/css based drop down menu. It works fine in Chrome, however it doesn't work at all in IE 8. Does anyone have a fix for this? The link to the site is: http://cecvp.net.s41035.gridserver.com/ Thanks for anyone who helps me out! | |
Hi I have this code [CODE=php]<iframe src="http://playerplus.co.nu/ipp.php"> </iframe> [/CODE] can i catch the result of the page in some variable or but it in some text without get it direct from [url]http://playerplus.co.nu/ipp.php[/url] | |
I'm building a javascript application that uses CSS transitions to fade the content container before swapping out the content and fading back in. It appears that Chrome waits for about half a second before beginning the transition. It usually then completes the transition really quickly and jerkily. In all other … ![]() | |
Let's debate about the flaws and the benefits of Javascript and HTML/HTML5 and how effectivaly they work together. Lets also talk about what improvements you would like to see in future developments of both. i would love to see every ones opinions. ![]() | |
Hi, Am using index page with the iframe and redirecting to the login page(login.html). On going to the page, index.html, am getting redirected to login.html. In login.html, it's ask for USERNAME and the PASSWORD. On entering, wrong username or the password, my iframe size keeps on decreasing on each submit … | |
im making a program which uses binarys so convert decimal numbers, characters, strings to binary numbers and work with them. but i got stucked because i want to divide Bin with Bin. something like this: 11010110110000 / 10011 = 01001110110000 so the new number will the 1001110110000 / 10011... until … | |
hello every one i have created a code to create html table from php. simply user enter column and row no. and submit. this data will create a table for the same. now i want to put some names with this table. like each table column have a name from … | |
Hi,guys.Is that anyway to make sure the table inside a div is auto resize and 100% same as the width and height of the parent div when we resize the windows size by using css and html only?i am using height 100% and weight 100% for the table and the … | |
Hi, i am trying to add some realtime form validation for my registration page, however only my email input is displaying the either correct or error output that it should, and neither my username or password are, I have tried for the past couple of hours to see what is … | |
Hi, I'm having issues with the current page I'm working on. It works fine in IE, Chrome and Safari but not so much in Firefox. The problem I'm having is that the slideshow is positioned all the way off the screen (towards the right). It's supposed to be straight below … |
The End.