52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for acrocephalus

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
Member Avatar for acrocephalus
0
175
Member Avatar for LaurenE

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
Member Avatar for LaurenE
0
352
Member Avatar for simon12

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
Member Avatar for ElliotNorton
0
308
Member Avatar for koneill

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
Member Avatar for koneill
0
887
Member Avatar for nadiam

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
Member Avatar for AleMonteiro
0
16K
Member Avatar for ernesto22

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
Member Avatar for diafol
0
354
Member Avatar for Jake.20

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
Member Avatar for Jake.20
0
8K
Member Avatar for piers

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
Member Avatar for piers
0
180
Member Avatar for markii.borabon_1

how can I drag or move my table td... any suggestion thanks in advance sir,

Web Development
Member Avatar for markii.borabon_1
0
98
Member Avatar for markii.borabon_1

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
Member Avatar for markii.borabon_1
0
209
Member Avatar for an00p

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
Member Avatar for veedeoo
0
437
Member Avatar for Jannezs

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
Member Avatar for toxicandy
0
1K
Member Avatar for malatamil

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 …

Web Development php session
Member Avatar for toxicandy
0
152
Member Avatar for ma.da.7140

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 …

Web Development html-css php
Member Avatar for Adrian_5
0
270
Member Avatar for Glenn Rodgers

Which type of dynamic website is useful in 2014 PHP or ASP.NET?

Web Development asp asp.net php
Member Avatar for diafol
0
274
Member Avatar for ma.da.7140

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

Web Development html-css php
Member Avatar for diafol
0
247
Member Avatar for nadiam

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 …

Member Avatar for nadiam
0
340
Member Avatar for haider885

Hi... I just want to ask What are requirments to make a portal system? Like student-portal system of a University?

Web Development php
Member Avatar for JorgeM
0
141
Member Avatar for ankit1122

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
Member Avatar for diafol
0
189
Member Avatar for koneill

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
Member Avatar for mattster
0
344
Member Avatar for CashFlowsToo

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
Member Avatar for L7Sqr
0
298
Member Avatar for showman13

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 …

Web Development email php
Member Avatar for mattster
0
268
Member Avatar for davy_yg

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
Member Avatar for mattster
0
181
Member Avatar for blueguy777

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 …

Web Development html-css php
Member Avatar for diafol
0
441
Member Avatar for RonKevinT.Manuela

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 …

Web Development html-css php
Member Avatar for RonKevinT.Manuela
0
180
Member Avatar for joshl_1995

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.

Web Development google php seo
Member Avatar for joshl_1995
0
411
Member Avatar for flynismo

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
Member Avatar for diafol
0
151
Member Avatar for dschuett

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 …

Member Avatar for AleMonteiro
0
303
Member Avatar for zeeshan009

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
Member Avatar for diafol
0
425
Member Avatar for edwinthomas25

I need to subdtring a paragraph in php, without breaking a word?

Web Development php
Member Avatar for diafol
0
167
Member Avatar for infoitmanoj

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
Member Avatar for diafol
0
226
Member Avatar for Blueie

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 …

Member Avatar for Blueie
0
839
Member Avatar for daniel36

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++) { …

Web Development cms php
Member Avatar for Nabeel_2
0
6K
Member Avatar for erabxes

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
Member Avatar for steelbrain
0
287
Member Avatar for Siberian

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
Member Avatar for Siberian
0
166
Member Avatar for Mike Askew

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
Member Avatar for Mike Askew
0
153
Member Avatar for seotheo

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 …

Web Development html-amp php
Member Avatar for veedeoo
0
344
Member Avatar for kaprikorn07

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
Member Avatar for kaprikorn07
0
1K
Member Avatar for batulanjanette

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
Member Avatar for hericles
0
197
Member Avatar for Dave_6

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
Member Avatar for hericles
0
589
Member Avatar for burhanahmed92

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
Member Avatar for AleMonteiro
0
140
Member Avatar for hanspeare

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
Member Avatar for hanspeare
0
5K
Member Avatar for Tameat614

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
Member Avatar for Tameat614
0
395
Member Avatar for celline

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
Member Avatar for diafol
0
97
Member Avatar for deepak.fugo

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 …

Web Development php ubuntu
Member Avatar for veedeoo
0
193
Member Avatar for Jake.20

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
Member Avatar for Jake.20
0
144
Member Avatar for adishardis

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
Member Avatar for pritaeas
0
206
Member Avatar for piers

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
Member Avatar for piers
0
3K
Member Avatar for Priti_P

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
Member Avatar for kaleemullah360
0
106
Member Avatar for iamthwee

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
Member Avatar for cereal
0
547

The End.