10,452 Topics
![]() | |
Hello, I cannot tell the difference between material.php and studentmgt.php material.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Squprime</title> <!-- CSS --> <link href="style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" /> <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie6.css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" type="text/css" … | |
Hi, say I have `<input type="checkbox" id="box1" />` and `<div id="createhere"></div>` and in a javascript file I have: function(){ var box=document.getElementById("box").checked; var s = ""; if(box){ s = "<input type="text" name="text" id="text" />" document.getElementById("createhere").innerHTML = s; }else{ s = ""; document.getElementById("createhere").innerHTML = s; } } Now this works BUT it … | |
So, my groupmate designed the look of our website...I was trying to integrate it with the other code....I decided to first do the login form....i dont know but I cant get it to work...-_- 1. lets start from the config.php: <?php ob_start(); session_start(); include('functions.php'); //database credentials define('DBHOST','localhost'); define('DBUSER','root'); define('DBPASS',''); define('DBNAME','sics'); … | |
Hi, so i found this topic on forum.jquery [Click Here](https://forum.jquery.com/topic/is-it-possible-to-set-id-to-dynamically-created-div) and there is a way to set and ID for a dynamically created div (copy paste from the forum): var x=3,y=3 for (var i=0; i<x; i++){ var line=$('<div>', {id:"X"+i } ).css({clear:'both',width:'100%'}).appendTo('body'); for(var j=0;j<y;j++){ $('<div>',{id:"X"+i+"_"+j}).css({float:'left',width:10,height:10,border:'2px solid red'}).appendTo(line) } } the question … | |
# #how can use file extension like .txt,.php,.html for the same script. # anybody can help# <?php if ($_POST['variable'] == '') { $variable = './'; // default folder } else { $variable = $_POST['variable'] ; } $folder = $variable; $uploadpath = "$folder/"; $max_size = 2000; $alwidth = 900; $alheight = … | |
Hello Everyone, Actually I have a good command on html, css, css3... Now I'm turning towards jquery and watching video tutorials. So, I want to get assignment on daily basis of Jquery. Is there any person who can give me the assignment, so that I can improve my jquery.... | |
I have a horizontal menu: "HOME" "DISCOVER" "STRATEGY MODEL" "PROFILE" "CONTACT US"  The "DISCOVER" has a drop-down submen (in green for clarity). The HTML: <ul id="menutop"> <li class="root"> <a class="bullet" href="http://www.clivestacey.co.za/"> <span> HOME </span> </a> </li> <li class="root"> <a href="#" class="daddy"> DISCOVER </a> <ul class="menusub"> <li> <a class="sub_menu" … | |
Hey guys. have a nice day.... can anyone tell me how to achieve something like this slider in background ? I used a full screen slider but can't write content in middle of it like this site http://psnprofiles.com/ | |
**I think this could be put at Web Design part, but maybe the JavaScript is more important** **I am reposting this at Web Design** **I posted it at JavaScript Forum, that was a mistake** Code: <script src="//code.jquery.com/jquery-1.9.1.min.js"></script> <!-- Simple Login Form ** Used with jQuery --> <form id='login'> <input type='text' … | |
Hello, I am trying to scretch right and left my header and footer but as far as now it only scretch right. #navigation {margin: -5px 0 0 10px; min-width: 100%; height: 120px; background-color:#655700; border-radius: 0; position: fixed; z-index:2;} #footer {background: url(images/footer.jpg) repeat-x; background-color:#d08e38; height: 135px; min-width: 100%; position: absolute; margin: … | |
Can someone help me with below script, this is script for change password. But it always can't recognize the old password. i'm really thankfull for your comments.. <?php include("plogin.php"); //$_SESSION["userId"] = $_POST['id']; //$userId = $_POST['id']; session_start(); include("config.php"); //Cek Login if ($_SESSION['level']==user) { $namaLgkp = $_SESSION['username']; if(count($_POST)>0) { $result = mysql_query("SELECT … | |
Hi guys, can anyone help me with this script. i would like to update password into md5. what should i do TQ <?php include("plogin.php"); session_start(); //Cek Login if ($_SESSION['level']==user) { $namaLgkp = $_SESSION['username']; ?> <?php session_start(); include("config.php"); if($_REQUEST["Submit"]=="Ganti") { $sql="update tb_user set password ='$_REQUEST[pwbaru]' where username = '$_SESSION[username]'"; //echo $sql; … ![]() | |
Hi, so i have this list of table seats like table of 6, table of 8 that kind of thing and i have images(width and height:110px) that correspond with those seats but by default they are hidden using `.hide()` and there is also a div(width:880px, height:350px) where these images would … | |
All, I'm wondering if their is a way to use the CSS clip to place my image propational within another image. In this case - I am giving users the ability to upload their own image: As an example - this URL shows the uploaded image: http://www.pinkcloud.com/custom_clock/submit.php?upload_message=image uploaded&upload_message_type=success&show_image=kmo_mikeg.jpg Here are … | |
Hello, I have this code and I try to print group_level before I record it and it doesn't appears: invoice_edit.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Squprime</title> <!-- CSS --> <link href="style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" /> <!--[if IE 6]><link rel="stylesheet" … | |
displaying blank page index.php // connection.php $server = "localhost"; $user = "root"; $password = ""; $dbName = "matrimony"; $conn = mysql_connect($server,$user,$password, $dbName) or die("There was a problem connecting to MySQL. Please try again later."); if (!@mysql_select_db($dbName, $conn)) { die ("There was a problem connecting to the database. Please try again … ![]() | |
The purpose of this class is to be able to create an html form with ease. This is inspired by the form helper in CodeIgniter. This can easily adapt to bootstrap or any css and jquery where id is required. To use this class, we need to include the class … | |
code works fine...but I have a bunch of photos which are jpeg and they cant be uploaded while the other jpeg photos are able too...its really weird..oh well here's the code... <?php error_reporting(0); mysql_connect('localhost','root',''); mysql_select_db('uslt'); ?> <html> <head> <title>Album Gallery</title> <link rel='stylesheet' href='style.css'> </head> <body> <div id='body'> <?php include('title_bar.php');?> <div … | |
![]() | Hi I have wordpress problem with banner going under content as you can see here: http://www.djeli.me/di/ZEJ9/slika1.png Code in header: <script type="text/javascript"> var clientWidth = window.screen.width; if(clientWidth >= 800){ document.write('<div id="divAdRight" style="position: absolute; top: 0px; width:100px; height:500px; overflow:hidden;"> <a href="http://yourwebsite.com" target="_blank"><img src="http://www./wp-content/plugins/float-left-right-advertising/rightbanner.jpg" width ="100" alt="" /></a></div><div id="divAdLeft" style="position: absolute; top: 0px; … ![]() |
Using AJAX is better then iFrames because things are dynamic, instead of making a call to the server to load an entire HTML page, you can do it dynamically, one question remains. Can I style the look of, and this ties into another thread I started, scroll bars etc ? … | |
I have the following form that I need the fields to be mandatory before submission: form name="application" id="applicatipn" method="post" action="send_mail.php" > <h2 class="title">form</h2> <p class="sub-text">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX </p> <table width="620px"> <tr class="bg-grey"> <td> <h3 >Personal Details</h3> </td> </tr> </table> <table width="600px" class="bg-light-grey" style=" margin-left: 10px"> <tr> <td valign="top"> <label>Title</label> <br /> <input … | |
Hi all. Relative newby to DW CC, looking at my site its fine localy, however cant view on www after upload to server? I, can see the dat files as data on host just dosnt want to display???? Please Help PS I may have currupted the folder layout but cant … | |
i am create html page in that i have to two div inside other My issue is one div is for container and other for header i made the margin 0px in both the div but it showing the gap between the main window and first div | |
hello everyone, how are you. I am much worried will you please help me in this regards, actually I'm a html developer and can write good html. Now i want to create a html template for themeforest. can anyone guide me how to write general html code for multipurpose themes … ![]() | |
Hello, I have been trying to move this box, but so far all common ways of moving the javascript box (whitespaces, CSS) have not worked. I have tried searching the web, amongst other things, and so far nothing has worked. Here is the code: <html> <head> <title></title> <style type="text/css"> #AgodaSearchBox{ … | |
Hello, I am having a problem with tables in email. I have several that I use with no problems. I am using Windows Mail 6 (formerly known as Outlook Express 6). The problem is with the code of the table below. It's this part: background="" . That's in the first … | |
This is what i want 2 form in my navigation bar. First is for Search Box second is for username and password.login button problem is if i put search box and login in same form then it gives weird look and formation error. Second Now I want to use buttons … | |
Hello I have a 'thank you for registering' page (success.aspx) for new users who have completed a 'new user registration form' and wish to use some CSS to make it more attractive. I intend to use these fonts, if possible, as follows: CSS <style type="test/css media="screen, projection"> @font-face { font-family: … | |
I'm learning to develop with ruby on rails and I'm having some problems with HTML and CSS. (which I thought would be the easiest part) For some reason I cannot get the test div to do what I want. I'm trying to make a webpage that will dynamically adjust to … ![]() | |
Like this https://pbs.twimg.com/profile_images/2209626429/photoshop_normal.gif | |
Hi all First of all I wana tell about my self,, im not a good coder you can say im newbie. I have a problem with jQuery autocomplete. I want to dispaly images in autocomplete. Image path save in DB and physically every image is in different folder. I have … | |
Hello guys, a while back I posted something about what was needed to build an overtime app that stored data permanently on the server (here is the post https://www.daniweb.com/web-development/php/threads/467433/change-content-of-html-page-with-php) and I was told to use PHP. I have to say I've never got around that, but now I'm looking into … | |
Hello, i have these files in main folder: *index.html probleme/p1.html probleme/p2.html probleme/p3.html probleme/p4.html* what link should I write to acces *index.html* from *p1.html* ? I don't want to write the long link *D:\Bogdan\Proiecte\...* | |
![]() | i am trying to draw an image on to a php page using the imagecreate function but the image is not showing, i cant see the problem with this code, please help me out, the code is as follows: <?php header('content-type: image/jpeg'); $fontSize = 30; $imageHeight = 40; $imageWidth = … ![]() |
Hello Everyone, I am looking to start taking courses again in HTML5 and CSS3 with the goal of obtaining employment. I will be building my portfolio and studying quite a bit on my own via Lynda.com, but I am very curious as to what the most respected online course cirtifications … | |
I am looking for table row alternating color. I already write the codes and the table does not appears yet. I wonder why? schedule.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Transdmin Light</title> <!-- CSS --> <link href="style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" … | |
I have a dedicated server and i need a short php script, that says if my dedicated server is "ONLINE" or "OFFLINE", and how many ram left, that will show it on a bar... =) Thanks | |
My page shows differently in Firefox and IE. Here it is as it SHOULD be rendered. In Firefox.  Her's how it renders in IE.  The site is [here](http://www.clivestacey.co.za/landingpage.html) The site is a Joomla 1.5 site that I've prepended a landing page on. I've simply used "Save … | |
messages.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Transdmin Light</title> <!-- CSS --> <link href="style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" /> <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie6.css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie7.css" /><![endif]--> <!-- JavaScripts--> <script type="text/javascript" src="style/js/jquery.js"></script> <script … | |
Hello, Can anyone help me troubleshoot this problem: This code suppose to work in someone else server, but when I place in my own server this code doesn't work I wonder why? I am using smtp.gmail.com and port 587. contact.php <!DOCTYPE html> <html lang="en"> <head> <!-- Basic --> <meta charset="utf-8"> … | |
Hi All, I´m using a QTextBrowser to display an external html document (and its image resources) which is placed in the same directory as the application. Everything works fine except that images are not displayed properly. Instead of the actual picture there is a "missing image" icon. I tried different … | |
I have a page with ul generated by handlebarsJS. It's like: <ul> <li><a href=#>asd</a></li> </ul> but with more li's. I want to change the background color of a li element when it is clicked to one color and change the previously clicked li's background color to another. All of the … | |
i have an issue with this new form im using based roughly on a design template that i found online, it looks great for the purposes that i need it for, but the problem is i cant seem to get the input data from the form to pass to the … | |
Hello to all, I am working on PHP, HTML, CSS and Joomla since 6 years, but now a days in INDIA many companies are looking for the Drupal Developers, I am lacking skills in Drupal, so can any one guide me to learn Drupal and start building websites using Drupal. … | |
Hello, I am trying to create an alternating table row color but it doesn't work. I wonder why? index2.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Transdmin Light</title> <!-- CSS --> <link href="style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" /> <!--[if IE 6]><link rel="stylesheet" … | |
Okay so a few days ago I finished a tutorial of photo gallery...I'm having problems of putting images other than jpg format...the one who made the tutorial said that you can add formats to be uploaded but he didnt show it..here was his code in his upload.php...I tried experimenting on … | |
Hello, I am trying to create a login page and after I enter the username and password this error appears. I still wonder why? Notice: Undefined index: username in C:\xampp\htdocs\SquprimeRevise\loginproses.php on line 95 Notice: Undefined index: password in C:\xampp\htdocs\SquprimeRevise\loginproses.php on line 96 line 95: $username=$_POST['username']; line 96: $password=$_POST['password']; The login … | |
Hello, I have for example a <div id="main"></div> and inside this div tag I load html content from extrernal file using jquery with .load() method. I can see evething has loaded normaly inside this div tag, but can not access any html tag loaded from the external html via css … | |
Hello guys, I want to put youtube video bar in my website... and i already found the way to do it. Using google ajax search api. Google already provide the wizard to generate the code. [URL="http://www.google.com/uds/solutions/wizards/videobar.html"]http://www.google.com/uds/solutions/wizards/videobar.html [/URL] The problem is, by default it shows only 4 videos for horizontal view. … | |
Hello, I am trying to record $remaining package to the database but it doesn't work. I wonder why? groupinfo_edit.php <?php // Check if session is not registered, redirect back to main page. // Put this code in first line of web page. session_start(); if(!isset($_SESSION['username'])) { header("location:index.php"); exit; } ?> <!DOCTYPE … |
The End.