52,566 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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" … Web Development angularjs apple asp.net cdn css-bootstrap html-css javascript-jquery | |
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 | |
... 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 | |
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 … | |
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 | |
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 | |
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 … | |
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 | |
------------------------------------------------------ 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 | |
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 … | |
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 | |
<?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 | |
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 | |
Hi.. plz.. suggest me online mini project topic based on ASP language.....I am very confuse...plz help me... Web Development asp | |
<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 | |
hi, can any one tell me how to send mobile sms to some one,after registered successfully, in local host Web Development php | |
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 … | |
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 | |
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> … | |
*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 | |
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']; … | |
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. | |
-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 | |
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 | |
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 | |
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 ![]() | |
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 … | |
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 | |
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 … | |
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 | |
<?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 | |
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 … | |
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 | |
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 | |
![]() | 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 |
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 | |
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 … | |
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 | |
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); … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 |
The End.