52,566 Archived Topics
Remove Filter ![]() | |
Hello, I am trying to build a function that takes the input of the IBAN field (alphanumeric), counts them and compares the to the needed value (24). Then, if don't match it triggers an error message, if they match it does nothing. This is the code: <script type="text/javascript"> function checkIBAN(iban) … Web Development javascript | |
Hi Guys, I found a tutorial online on how to build an events calendar using PHP and Ajax. I am however a little stuck, I have ran debuggers and have error messages printed throughout the code and whilst the basic calendar functionality works, it does not actually display any events. … Web Development javascript php | |
hello everybody.i have made a website about a gym. and it contains a timetable of classes during weekdays. this page is static. and my professor told me to do it dynamic. how it can be done. and thanks. Web Development | |
I'm calling a simple e-mail validator in JavaScript as the below shows - this works fine as I'm calling it in my HTMl form as such: <form name="email" action="mail.php" onsubmit="return SubMail_Validator(this)" method="POST"> Then this code does the validation that an e-mail has been entered - however - I need the … Web Development javascript | |
Hi. i am trying to show a hidden element using a button. but i want to make it so that everytime the button is clicked the hidden element get shown that same amount as button clicked. example: <input type="button" value="Click me" id="clickme"> <input type="text" id="textbox"> <script> $(document).ready(function() { var element … Web Development gui javascript javascript-jquery | |
im new to php . plz help. i have a page where people fill in a form and check on checkboxes. i also have a page where i edit. i want to know if its possible that on my edit page i could see the checked box checked ? example … Web Development php ![]() | |
Greetings, can someone help me on this? I'm really out of ideas. What i need to do is when i click the link the value of it's ID should be pass on the label inside the modal. Here's my code: <div class="row"> <div class="large-12 columns"> <label id="devFont">-Device-</label> <div class="row"> @foreach … Web Development php | |
Hi, I am trying to take a number entry from a text field to use in some round Robin code to output the data. When I type a number for the variable num e.g. var num=12; the program works fine, but if I try to do it from text field … Web Development javascript | |
how can I drag or move my table td... any suggestion thanks in advance sir, Web Development | |
Im trying to explode the value of my query to input field so im able to edit them: this what I've got so far :: $temp = explode(',',$sizes); if($temp){ $ctr_size=''; foreach($temp as $size){ echo "<input type='text' value". $size.">"; $ctr_size++; } } please help.. Web Development php | |
Hello guys, I have a doubt regarding the tabs I have in my project. Its a user view page with multiple tabs in it. Each tab is having details like user basic info, social profile info, skills etc. The current setup is PHP tabs with $_GET['tab'] value. There are different … Web Development php visual-basic | |
Can someone help me with my problem? I try to make a sum with radio buttons in php, but it doesn't see my value This are my codes: <FORM METHOD="POST" ACTION="12.php" > <DIV>Kies uw product:<br> <INPUT NAME="product" TYPE="radio" VALUE="400" CHECKED>Opblaas rijdende Eend <br> <INPUT NAME="product" TYPE="radio" VALUE="15000">Opblaasbare rijdende televisie <br> … Web Development php | |
after login i want to display logout and username. but here if i login again its showing login. please some help me index.php <?php session_start(); $city=$_SESSION['city']; $userl = $_SESSION['username1']; <?php if(!isset($userl) == '') { ?> <div class="header_nav_left">Welcome <?php echo $userl; ?> | <a href="logout.php" id="clicklogin" title="Logout" onClick="NewWindow(this.href,'loginwindow','500','500','no','center');return false" onFocus="this.blur()">Logout</a></div> <?php … | |
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 … | |
Which type of dynamic website is useful in 2014 PHP or ASP.NET? ![]() | |
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 … Web Development html-css javascript javascript-jquery | |
Hi... I just want to ask What are requirments to make a portal system? Like student-portal system of a University? Web Development php | |
hello, <?php $q=$_GET['q']; //echo $q; $con=mysqli_connect("localhost","root","",$q); if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $abc=mysqli_query($con,"use $q") or die('cannot show tables'); $result=mysqli_query($con,"show tables"); echo "<select id='abc'>"; while($row= mysqli_fetch_array($result)) { echo "<option value='". $row[0]. "'/>" . $row[0] . "</option>"; } echo "</select>"; ?> i want to response … Web Development javascript ![]() | |
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 … Web Development html-css javascript | |
Why is Ruby so special? How does it impact Mobile App Development? I don't quite understand how or why rails and ruby is relevant. I'm very new to understanding how and why Ruby is very relevant in Silicon Valley. Web Development ruby | |
OK, this may be an elementary question, and hopefully there is a quick and easy resolution... I have always had this issue and previously just dealt with it, but want to get it working the way it should be. When I generate an email from within a PHP script that … | |
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" … Web Development html-css javascript-jquery php | |
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 … ![]() | |
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 … | |
Hello Daniweb Community, I was wondering if anyone could help or point me to a good tutorial on how to use Google Authenticator in PHP. | |
Hey guys I am grabbing URLs from the database. Then with each URL, I need to open that file, and only display the contents between <h1> tags and discard the rest. -- IMPORTANT -- I do not want to actually remove everything else from each file, I simply want to … Web Development php ![]() | |
I have a scroll function that I want to fire when the user scrolls to the very bottom of the page. However it is doing the exact opposite; it is firing at the top of the page. I have used this before, and everything on the web says to do … Web Development javascript javascript-jquery json | |
Hi i am developing Attendence mgt sys. and i have to insert name,section,class,status in database of n number of students. I am able to do listing by the code below: <?php @session_start(); include('config.php'); $sessionName = $_SESSION['NAME']; $sessionID = $_SESSION['UID']; if($sessionName == "" && $sessionID == "") { header('location:index.php'); } $class … Web Development php ![]() | |
1. <input type="hidden" name="BKIRIM" id="txt" value=""/> 2. <input type="text" name="BKIRIM1" id="txt2" value=""/> 3. <input type="hidden" name="distance" id="distance" value=""/> 4. <input type="hidden" name="distance1" id="txt1" value=""/> 5. <input type="hidden" name="distance2" id="txt1" value=""/> 6. <td><span class="man"></span>From:</td> 7. <td> 8. <?php 9. $query = "SELECT * from sfc"; 10. $res = @mysql_query($query); 11. echo'<select … Web Development ![]() | |
Hello There seems to be a problem with the editing and posting facility here - the page has asked me to start a new discussion and not allowing me to reply, but this is a follow on from: https://www.daniweb.com/web-development/aspnet/threads/484864/site.master-file-question#post2121613 Thanks madCoder for your explanation. That accounts for the wild difference … Web Development asp.net css-bootstrap web-browser | |
i am working on codigniter . i am developing basic cms.my view code of generating dynamic pages at front end is <ul id="jsddm"> <?php for ($i=1; $i<=$url['10']['10']['10']; $i++) { ?> <li><a href="<?php echo site_url($url[$i]['0']['slug']); ?>"> <?php echo $url[$i]['0']['page_name']; ?> </a> <?php if($url['11'][$i]['11']>0){ ?> <ul> <?php for ($j=1; $j<$url['11'][$i]['11']; $j++) { … | |
How do one go about opening a file in php by using the resources made available on a system. Take for instance that after getting the header content information of a file, one discovers that the file is a word document, or a pdf file, how do one use a … Web Development file-system pdf php | |
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 ? … Web Development html-css javascript | |
So I am currently working in ASP.Net and a bit stuck. I obtain the full html that I wish to render into the tab from a WSDL request and then need to find a way to load a new tab in the browser and display that information. I have currently … Web Development asp asp.net web-browser | |
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 … | |
Hello, I would like to make a table column editable that is written in PHP. And that edited value should be subtracted with the data in another column automatically to change the value of it. Eg: I have 3 columns, Pass/Fail/Blocked. $pass and $fail are taken from DB & Blocked … Web Development php | |
While coding for an e-commerce website. I received warning about this: Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\shopping\store\index.php on line 194 This is my code: <?php include "connect.php"; $result1= mysql_query("SELECT * FROM internet_shop"); while($row=mysql_fetch_assoc($result1)) { echo ' <a rel="facebox" href="orderpage.php?id='.$row['id'].'&transnum='.$transnum.' "><img src="img/products/'.$row['img'].'" alt="'.htmlspecialchars($row['name']).' " width="109" height="109" … Web Development | |
After publishing my project on local IIS it worked fine but on the web its keep poping the error [ArgumentException: Invalid value for key 'attachdbfilename'.] many forum i search said its connection string from my webconfig file but i went the extra mile by removing the whole connection string and … Web Development asp.net publishing visual-studio | |
i have a script which uses window.open to open multiple popups in browser. But when i run that script on android browser or any mobile browser it dont work. Is there a way to open multiple tabs in mobile browser on load. Web Development android | |
Good Day Daniweb, I am encountering a problem in php code meant to allow the user to update their profile picture. I am using jquery.min and jquery.js. The code below runs with no errors reported. The file has been successfully uploaded to upload path using this form. upload.php <form id="imageform" … Web Development javascript javascript-jquery php | |
Hello, Currently on my site the jquery masonry is loading quite oddly, it loads all the images first then it sorts itself into position. i want it to load just like it does in pinterest.com. Please help. Regards, Tamea Jquery Code jQuery( function($) { // Scroll back to top function … Web Development javascript-jquery | |
please help me how to compute the penalty.my want my system to automatically compute the penalty within the given time or with the time. Web Development php ![]() | |
Hi All, We have a project coming up, As i am eveluating the PHP frame works i found out cakePHP is most suitable for our project. I have not used it before but i am new to it and facing problem in configuring. I have completed the setup as per … | |
Greetings, i have this code that inserts an item on the table item_tbl and it should also get the added items primary key and insert it on table fields_tbl. My question is how can i get the primary key of the item that i will add and insert it on … Web Development php | |
Hi, I have en stdClass object array that looks like this Array ( [10] => stdClass Object ( [inlast] => 2013-02-15 00:00:00 ... etc Where the first number (10) is the uniqe identifier for that row, and the array contains all the rows in the table. So my question is … Web Development javascript php | |
Hi, I have been creating a round robin. This is similar idea to speed dating except everyone has to talk to everyone. Whilst I have been able to create this, there is a lot of repetition in my code and I wondering if any of you have recommendations for removing … Web Development algorithm javascript | |
Hello, using for each of jquery am fetching td's name but if try to test it by removing name from firbug and try to submit it then my code is breking. so first question, what should anyone do in such case? and another regarding my code is: $('#SkillDetails_table tr').each(function() { … Web Development javascript | |
![]() | Hi guys, Got a bit of a dilemma, I just recently discovered my VPS was sending spam, this was brought to my attention by my hosting company. And sure enough I went to check the mail queue log in my control panel, I'm using plesk btw, and it failed to … Web Development php-codeigniter queue |
The End.