52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for SimonIoa

I just installed ZEND STUDIO to make a mobile application out of my php files. Does anyone knows any good tutorial or examples?

Web Development php
Member Avatar for SimonIoa
0
352
Member Avatar for hell hansen

Hi guys, i'm tryng to check available when update a record! so i'm getting that the record is available! Bellow my class and my proccess //this is my function i use inside of my class function getInfonupdate($display_name) { $query = $this->link->query("SELECT * FROM tbl_types WHERE display_name != '$display_name'"); $rowcount = …

Web Development
Member Avatar for hell hansen
0
129
Member Avatar for coder91

Hi, so for my .net project I've to use HTML/CSS provided by another colleague. Ive copied this into the site master page in .net but it doesn't appear in the child pages, anyone have any ideas how I can fix this. The code is: <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" …

Member Avatar for coder91
0
319
Member Avatar for pritaeas

I have the following: <h1><asp:Literal runat="server" Text="<%$ Localize:LoginRequest %>"/></h1> <fieldset> <legend></legend> <input runat="server" class="form-control" placeholder="E-mail" type="text" /> <input runat="server" class="form-control" placeholder="Password" name="password" type="password" value="" /> <button runat="server" type="submit" class="btn btn-default"><asp:Literal runat="server" Text="<%$ Localize:Submit %>"/></button> </fieldset> `Localize` is a custom expression builder to translate my strings from a resource file. I …

Web Development asp.net
Member Avatar for pritaeas
0
195
Member Avatar for Mike Askew

... but I can't for the life of me figure it out. I have an object that comes from an application which has a Status property, and within that property is Name and Key. So I can do things like `object.Status.Name = x`. I have created another of these objects …

Web Development javascript
Member Avatar for Mike Askew
0
138
Member Avatar for coder91

The project i am currently working on has an HTML/CSS layout which consists of 3 columns, the first contains a menu to access the various pages. When one of these options is selected the page appears in the second column and the same for selecting anything from the second column …

Web Development asp.net html-css
Member Avatar for JorgeM
0
153
Member Avatar for Stefce

Hello i need little help overhere im confuzed getting user data from mysql database i want to update the `payCheck` column in the database but that column is located in the `receiver` or `where (in the code)` field i have this code please someone help me... <?php require 'connect.php'; require …

Web Development php
Member Avatar for Stefce
0
732
Member Avatar for coder91

Hi, recently started a new job where I will creating .net applications, however there is one person who designs the html and css in notepad++ and then puts it onto the local server which I can then pull down onto my own machine. I was just wondering how I link …

Web Development asp.net html-css visual-studio
Member Avatar for coder91
0
184
Member Avatar for EvolutionFallen

Hi folks, I have a situation that's most easily explained via example, I think. So here goes. Let's say I have the following URLs: 1. /page.asp?id=123 2. /page.asp?id=123&category=ABC 3. /page.asp?id=123&category=ABC&var3=X&var4=Y I need these pages redirected. Currently links 1, and 2 redirect correctly. Option 3 though can have an arbitrary number …

Web Development apache php seo
Member Avatar for mattster
0
418
Member Avatar for Lonestar Jack

When I remove or comment out the alert statement it fails. $(document).ready(function(){ $('#div_db, #div_tables, #div_data, #div_nav').hide(); $("#div_db").load("generic_get_dbs.php"); $('#div_db').show(); alert('line 5'); });

Web Development javascript php
Member Avatar for Lonestar Jack
0
136
Member Avatar for SHAHAB UDDIN

------------------------------------------------------ Main code: ------------------------------------------------------ public function forum_detail_info($post_id) { $data = array(); $this->load->library('pagination'); $config['base_url'] = base_url() . 'welcome/forum_detail_info/'; $config['total_rows'] = $this->db->count_all('tbl_forum'); $config['per_page'] = 3; $this->pagination->initialize($config); $data['about'] = $this->welcome_model->about_info(); $data['about'] = $this->welcome_model->about_info(); $data['forum_post_info'] = $this->welcome_model->select_all_forum_post_info($post_id); //---------------more $this->load->view('website/include/header', $data); $this->load->view('website/master_page', $data); $this->load->view('website/include/footer'); } ---------------------------------------------- I want code: ---------------------------------------------- public function forum_detail_info($post_id) { $data …

Web Development php
Member Avatar for Web Dev Rob
0
315
Member Avatar for santhoshweb

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/wwwjjtex/public_html/contacts.php:2) in /home/wwwjjtex/public_html/contacts.php on line 2 AND my code is margin-left: 94px; margin-top: -66px; margin-left: 94px; margin-top: -66px; max-width: 100%;"/></a></h1> <nav> <ul class="menu"> <li><a href="index.php">home</a></li> <li><a href="about_us.php">about as</a></li> <li><a href="product.php">product</a></li> <li><a href="<?php session_start(); if(isset($_SESSION['login_user'])){ echo …

Web Development php session
Member Avatar for Web Dev Rob
0
170
Member Avatar for riwakawd

When I click on my button add new row it creates a new row and with the same content as what is in orignal row. But for each img I would like to be able to have its own unique id / selector rather than the same id. How am …

Web Development javascript javascript-jquery
Member Avatar for Taywin
0
150
Member Avatar for Sophia_1

<?php $host="localhost"; // Host name $username="user"; // Mysql username $password=""; // Mysql password $db_name="pqa"; // Database name $tbl_name="improvement_plan"; // Table name // Connect to server and select database. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); // get value of id that sent from address bar $Ipid=$_GET['Ipid']; // Retrieve …

Web Development php
Member Avatar for Taywin
0
355
Member Avatar for AntonyRayan

this is my index.page <html> <head><title>Registration</title> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script> <script src='http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js'></script> <script type="text/javascript"> function validate() { if(document.register.name.value == "") { alert('Enter valid name'); document.register.name.focus(); return false; } if(document.register.email.value == "") { alert('Enter valid email'); document.register.email.focus(); return false; } else if(document.register.password == "") { alert('Enter Password'); document.register.password.focus(); return false; } if(document.register.repeatpassword.value …

Web Development html-css javascript-jquery php
Member Avatar for broj1
0
205
Member Avatar for alpa shah

Hi.. plz.. suggest me online mini project topic based on ASP language.....I am very confuse...plz help me...

Web Development asp
Member Avatar for rohit.gurjar.7798
0
799
Member Avatar for Sophia_1

<script> function calculateText(el) { var form = el.form; var idx = form.Selfrating1.selectedIndex; if (idx <= 0) { form.reset(); return; } if (form.Selfrating1.value == "Good") { form.T11.value = "#008000"; } else if (form.Selfrating1.value == "Satisfactory") { form.T11.value = "#9ACD32"; } else if (form.Selfrating1.value == "Mixed") { form.T11.value = "#FFFF00"; } else …

Web Development php
Member Avatar for Sophia_1
0
824
Member Avatar for AntonyRayan

hi, can any one tell me how to send mobile sms to some one,after registered successfully, in local host

Web Development php
Member Avatar for AntonyRayan
0
104
Member Avatar for SpottyBlue

I have problems with the enable/disable of textboxes if the radio button is selected/deselected. Normally, if I select "Others" from the radio button group "Project List", the textbox is enabled. But if I select other than "Others", the textbox is not disabled. This also happens on the radio button groups …

Web Development asp.net sql
Member Avatar for madCoder
0
2K
Member Avatar for RikTelner

I had test today about PHP. Really basic one, which probably won't give me A++ (10/10), because of strange question he asked, he asked us to translate: $temp = 10; if ($temp == 0) { echo "it's 0 Celsius"; } elseif ($temp < 0) { echo "it's chill outside"; } …

Web Development php
Member Avatar for broj1
0
118
Member Avatar for yoyo30

When user click on the button "back",it should go back to "HomeStudent.aspx",but unfortunately its not working and no error shown.Do help me. <%@ Page Title="Advertisement" Language="C#" MasterPageFile="~/AccommodationStudent.master" AutoEventWireup="true" CodeFile="Advertisement.aspx.cs" Inherits="Advertisement" %> <%@ Register TagPrefix="ajax" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"> <style type="text/css"> .style1 { width: 224px; } </style> </asp:Content> …

Web Development asp.net assembly c# dataset
Member Avatar for yoyo30
0
4K
Member Avatar for santunu23

*I am trying to get amazon product feed from marketplace i have download php client library file,and setup every additional setup like marketplace id merchant id (under the sample folder config folder) i got some error message and solve those problem.Now i get this error "Caught Exception: Could not resolve …

Web Development php
Member Avatar for santunu23
0
142
Member Avatar for redkowloon

Hi , i already build up a php form which is will sent data on same page, validate it , but i stuck how to switch to new display that become a preview data . My coding : <?php // dapatkan data dulu cha $fname = $_POST['fname']; $lname = $_POST['lname']; …

Web Development html-css php
Member Avatar for Bensirpent07
0
2K
Member Avatar for pritaeas

I'm looking for a user login (or identity) tutorial/example on MVC5 that uses an existing SQL Server database and user table, so NOT code first, and NOT using Entity. Can't see the forest through the trees apparently, because I cannot seem to find one.

Web Development asp asp.net
Member Avatar for pritaeas
0
1K
Member Avatar for Bile

-Hellow DANIWEB?... -I've been wondering if there is a way I can Use My Own Warning Message instead of that provided by Php during file include Failure... -**NOTE:**I dont intend to Mean Error Messages that We can write to a User when something goes wrong,like failure of inserting data inputs …

Web Development php
Member Avatar for Bile
0
245
Member Avatar for davidjennings

Hi all, I am trying to compare output from DB The code below works on 1 check, but I require to do this on multiple products like so `if rowProduct("GRPCODE") <> "Cross Hire" or rowProduct("GRPCODE") <> "Boiler Ancillaries" then` etc but the above line does not work as I have …

Web Development asp
Member Avatar for MaxMir
0
603
Member Avatar for AntonyRayan

This is my Index.php:: <html> <head><title>Registration</title> <script type="text/javascript"> function numbersonly(e,length) { var unicode=e.charCode? e.charCode : e.keyCode var maxlength=length; if (unicode!=8) { //if the key isn't the backspace key (which we should allow) if (unicode<48||unicode>57) //if not a number return false //disable key press } } </script> <script type="text/javascript"> function validation() …

Web Development javascript
Member Avatar for AntonyRayan
0
192
Member Avatar for floatingDivs

Hi Daniweb, I'm trying to create a basic, grid-based (table-layout) calendar using PHP. I'm in the planning stages currently, but need some help coming up with an effective way to display empty boxes (for instance, November starts on Monday, so the left-most box (Sunday) needs to be empty. December starts …

Web Development php
Member Avatar for diafol
0
111
Member Avatar for uchejava

I have this message table that allows users to send messages to one another. sender_id is the id of the person who sent the message. receiver_id is the id of the person who received the message. message_id adds the sender_id and receiver_id together. This is a sample below. id sender_id …

Web Development mysql php
Member Avatar for Taywin
0
188
Member Avatar for akhila.bhasker

I have code for shuffling images and display.Now i want to values of checked boxes will store on database.please help <?php mysql_connect("localhost","root",""); mysql_select_db("impass"); ?> <html> <body> <form action="" method="post"> <?php $images = array( '<input name="chk1" type="checkbox" value="1" /><img src="images/images (4).jpg" alt="" width="234" height="212" />', '<input name="chk2" type="checkbox" value="2" /><img src="images/images …

Web Development php
Member Avatar for lorenzoDAlipio
0
187
Member Avatar for kakalahori

hi DaniWEB users, it has always been a great support from dani web to answer questions and get feed back from every one. The issue i am facing is not a coding issue but a development platform issue,I have searched over the internet and was either unable to interpret my …

Web Development ide php
Member Avatar for pritaeas
0
265
Member Avatar for janicemurby

hya all i am getting the error in pic included in this post and i dont know what i could be i have found the following bit of code included below <tr> <td><?php echo date_diff($lastlogin['lastlogin']);?></td> </tr> then i have found the file where the coding for this sits see below …

Web Development php
Member Avatar for janicemurby
0
383
Member Avatar for soomro_moon

<?php if (isset($_POST['user_id'])) { // Not logged in :( setcookie("secondcookie[id]",$_POST['user_id'], time() * 7200, "/"); // Expiring after 2 hours setcookie("secondcookie[password]", $_POST['user_pass'], time() * 7200, "/"); //when to see if cookies is set or not echo $_COOKIE["secondcookie"]["id"]; //header("Location:verification_data.php"); } if (isset($_COOKIE['secondcookie']['id'])){ // Already Logged in go to page 3 header("Location:page3.php"); } …

Web Development php
Member Avatar for soomro_moon
0
153
Member Avatar for Ventech_IT

Hi Guys Please have a look at my model and then read below public function get_events(){ $query = $this->db->get('events',1, 1); return $query->result_array(); Okay so when i run the page i only get my message that no entry's are in the table! So when i insert a entry it displays the …

Web Development mysql php sql
Member Avatar for Ventech_IT
0
406
Member Avatar for coder91

Hi, I have an SQL database with data stored in it but I'd like to create reports that will allow the user to enter two dates and return the data in an excel spreadsheet. Not sure how to accomplish this in .net with C#. I've created PDF reports using ITextSharp …

Web Development asp.net pdf visual-studio
Member Avatar for coder91
0
112
Member Avatar for sriprasadk

Dear friends, I want to know if we can pass a text area value of great length from jsp to servlet as a url parameter. I have tried it but it sends a null value to the servlet. Please help me. It's urgent. Thanks and regards. Sriprasad Kannan.

Web Development
Member Avatar for sriprasadk
0
211
Member Avatar for anmol.raghuvanshi1

here is my code i want that what ever value is checked that value is inserted into database i have created database with name doctor table name diseases with 3 field id dis_name and Ans plz help its urgent <?php error_reporting(E_ALL); ini_set('display_errors', 1); require 'db.php'; if ( !empty($_POST)) { // …

Web Development php
Member Avatar for cereal
0
5K
Member Avatar for AntonyRayan

Index.php <html> <head><title>Registration</title> <script type="text/javascript"> function numbersonly(e,length){ var unicode=e.charCode? e.charCode : e.keyCode var maxlength=length; if (unicode!=8){ //if the key isn't the backspace key (which we should allow) if (unicode<48||unicode>57) //if not a number return false //disable key press } } </script> <script type="text/javascript"> function validation() { var a = document.form.phone.value; …

Web Development php
Member Avatar for AntonyRayan
0
238
Member Avatar for Deepak_27

How to develope a dropdown search list in ASP.NET

Web Development asp.net
Member Avatar for khong.coai.526
0
84
Member Avatar for ritesh0104

there is a report which am presenting to my web users in an HTML formatted table. i have been using ABCPDF component for exporting this report to pdf. BUT after an update that component work s irregulary. Please suggest any other simple solution for this, i tried referring all method …

Web Development asp html-css pdf
Member Avatar for khong.coai.526
0
372
Member Avatar for bskapoor11407

I am trying to bind the another dropdown list on selected item of dropdown 1. Please give me code, if some one has. **Dropwdown 1:** <select id="lst_consultantcontact" name="lst_consultantcontact" onchange="GetConsultantContactInfo()" > <option >.....</option> </select> ** Javascript Code:** <script language="javascript"> function GetConsultantContactInfo() { var ConsultantId = document.getElementById('lst_consultantcontact').options[document.getElementById('lst_consultantcontact').selectedIndex].value; var hiddenfield = document.getElementById('hidden1'); hiddenfield.value …

Web Development asp
Member Avatar for khong.coai.526
0
1K
Member Avatar for adsegzy

I got a script that convert convert my php string (combination of customized image & text) to image, zip it & popup for download with the scripts $format=$_REQUEST['format']; $viewArr = $_SESSION['productArr']; //the images in array $outputarr = $_SESSION['outputArr']; $pngoutarr = $_SESSION['pngOutputArr']; $downloadable = 1; if($format=='png'){ require_once 'png_output.php'; $downPath = genpng($pngoutarr,$downloadable); …

Web Development image php
Member Avatar for adsegzy
0
473
Member Avatar for rajeesh_rsn

Hi friends, In one of my project I want to convert tiff files to png/jpg using php for making a film strip. So if there is any way for doing that .... Please help me thanks in advance Rajeesh

Web Development image php
Member Avatar for monika1992
0
6K
Member Avatar for zebnoon1

Dear friends, I developin a webside in php where clients can send their enquiry of material.I have text boxs which clients will fill when click add button this enquiry will goto down table on a same page.. Please give me idea.??

Web Development php
Member Avatar for zebnoon1
0
367
Member Avatar for minitauros

Does anyone know how to install a new locale on Apache that comes with Xampp for Windows? I'm trying to find an answer with Google but it only shows results for "local" instead of "locale" -_-. (I want to install a Dutch locale. It might even be in there already …

Web Development apache
Member Avatar for minitauros
0
1K
Member Avatar for razamughal67

We add a Default Tweet Button API on my site. it's work perfect and load new window and send the tweet. but i want to get the value of the tweet count id. or if anybody click on the tweet button and submit a tweet . then my page show …

Web Development api javascript social-media
Member Avatar for razamughal67
0
388
Member Avatar for nadiam

hello. i have a div and a list of images. these images are cloned into the div by clicking on a button using `.append()`. the issue is that the elements gets cloned outside the div when it reaches the bottom of the div. and i dont want to have to …

Web Development html-css javascript
Member Avatar for Troy III
0
284
Member Avatar for jean_5

I have the following javascript code var list = [ { Date : '00/00/0000', DateStart: '00/00/0000', Name: 'string', ... ... }, { Date : '00/00/0000', DateStart: '00/00/0000', Name: 'string', ... ... } ]; var column = list.?; What can I do to the `column` variable has the Date value, for …

Web Development javascript
Member Avatar for Troy III
0
128
Member Avatar for jean_5

I have the following javascript code var list = [ { Date : '2014-12-31 12:23:43', DateStart: '1980-12-30 23:43:42', Name: 'Kate', ... ... }, { Date : '1978-05-21 23:43:65', DateStart: '1973-04-06 12:34:09', Name: 'John', ... ... } ]; And the following code to verify for regex pattern: for (var i in …

Web Development javascript regex
Member Avatar for Troy III
0
261
Member Avatar for Dhugalmac

Hello, I had a working ASP.Net (VB.Net) website which utilized a javascript routine during StartUp. It would do a document.getElementsByTagName("input"); to find all of the Input objects and then selectively work on their style values as initialization processing. It all worked fine. var elemInputs = document.getElementsByTagName("input"); for(var i = 0; …

Web Development javascript
Member Avatar for Troy III
0
253

The End.