6,574 Topics

Member Avatar for
Member Avatar for mariaceline_21

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, …

Member Avatar for vibhaJ
0
156
Member Avatar for rogerg

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 …

Member Avatar for rogerg
0
202
Member Avatar for sara5454

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> …

Member Avatar for almostbob
0
387
Member Avatar for geneh23

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 …

Member Avatar for geneh23
0
139
Member Avatar for dinok

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 …

Member Avatar for dinok
0
187
Member Avatar for VenusCrystal

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. …

Member Avatar for VenusCrystal
0
173
Member Avatar for riahc3

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 …

Member Avatar for riahc3
0
172
Member Avatar for Shougat

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>"; …

Member Avatar for broj1
0
461
Member Avatar for spudly1987

<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> …

Member Avatar for spudly1987
0
124
Member Avatar for hwoarang69

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 …

Member Avatar for hwoarang69
0
319
Member Avatar for FireSBurnsmuP

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, …

Member Avatar for alikhanbaba
0
126
Member Avatar for Siberian

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 …

Member Avatar for lokibl
0
281
Member Avatar for mariaceline_21

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; } ?>

Member Avatar for mariaceline_21
0
230
Member Avatar for mariaceline_21

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> "; ?>

Member Avatar for vibhaJ
0
101
Member Avatar for mariaceline_21

Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\cart\ajax\tips.php on line 8

Member Avatar for mariaceline_21
0
241
Member Avatar for bo0ga

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 …

Member Avatar for NormR1
0
209
Member Avatar for DaveyMoyes

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 …

Member Avatar for pritaeas
0
179
Member Avatar for kit007

Hi i need help if theres something in css codes that make the text float to the top.. tnx.

Member Avatar for Sadao
0
128
Member Avatar for imranjavedpk

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. …

Member Avatar for broj1
0
84
Member Avatar for livefortech

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

Member Avatar for hericles
0
117
Member Avatar for edhardt

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!

Member Avatar for drjohn
0
204
Member Avatar for mr.python

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]

Member Avatar for Szabi Zsoldos
0
91
Member Avatar for benkyma

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 …

Member Avatar for diafol
0
194
Member Avatar for YCP1

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.

Member Avatar for diafol
0
244
Member Avatar for jacksantho

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 …

Member Avatar for fobos
0
106
Member Avatar for nyuszi

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 …

0
97
Member Avatar for sainigks

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 …

Member Avatar for whiteyoh
0
6K
Member Avatar for stanley87

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 …

Member Avatar for designershiv
0
121
Member Avatar for kaosjon

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 …

Member Avatar for kaosjon
0
230
Member Avatar for kimmi_baby

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 …

Member Avatar for buddylee17
0
231

The End.