52,566 Archived Topics
Remove Filter ![]() | |
Hello, Is it possible to use a PHP code to create a drop-down list that automatically inserts a word from MySQL table after writing a character? For example when I type "a", all the entries beginning with "a" show in order, then I type "n", then all entries begins with … | |
Dear experties, I have a problem to insert checkbox value which is checked by user into multiple database..when I run this code, only one row inserted into database, but I had checked more than 3 checkbox.. Here is my code, please help me.. form.php <form id="form" name="form" method="post" action="dbase.php?id=<?php echo … Web Development php | |
I'm trying to create an xml document without converting html entities but when I create and save the file with DOMDocument the < and > characters are converted to < and > so trying to wrap copy within <![CDATA[]]> is proving problematic. Example of my code below: // Initiate the … Web Development advertising html-css php | |
Hi, Can anyone tell me alternatives to focus() and blur() events in jquery as they dont work in chrome? On focus I am adding a div and on blur that div is being removed. Thanks, VC Web Development javascript javascript-jquery web-browser ![]() | |
Hello, I am newb to c# and I am working on an example. The challenge is to dynamically set the text of the label using the textboxes' text. - There are 3 textboxes and a label. All are asp controls. - The text should be displayed in the label as … Web Development asp.net | |
Hey everyone, I was doing a search on good tutorials on how to use the mail function. I thought it would be as easy as what PHP api tells me how to use it. I stored the value of mail() in a variable if the variable is true then I … | |
Hi everyone, Has anyone had this issue that I'm having ATM? It is about getting the website to function properly using jQuery for mobile for UI. OK. When I added jQuery for mobile in the files, the behaviour of my websites is changing. It basically makes the website not function … Web Development javascript javascript-jquery | |
Hi everybody, I'm wondering where I went wrong. The idea is I'm trying to get data from the database and display in this format Question 1: Answer: Answer: Answer: Answer: Question 2: Answer: Question 3: No answers etc.. foreach($posts as $post){ $id = (int)$post['id']; $comments = get_comments($id); //getting the answers … Web Development php | |
Hi I want users to be able to upload new images that overwrite old images but I am struggling. The original upload and naming works fine but I want any new images to have the same name, so I unlink the original before uploading the new image, is this the … Web Development php | |
What's up everyone. A few months ago I followed a website tutorial on how to make a custom CMS and it worked for me on my web server. Well I just recently installed MySQL + phpMyAdmin on my laptop under the localhost of my machine (i have a mac if … Web Development cms php web-server | |
Hello Everyone, I am encountering errors when browsing the web application. When a single user is login, all in all is fine, inserts and updates command execute fine as well as reading the data. When 2 or more users are log, the application displaying random error messages like the pagers, … Web Development asp.net | |
Hi, I am creating an application using php. I want to send a mail from my application with attachments. I get the from-address and to-address from the user at run time. Then, how i set the SMPT, port number and other details of the from-address in phpmailer class or smtp … Web Development php | |
# Hello,# ##I'm new at this forum.The problem is that my footer is gone when i click the submit botton because of the die function in my php script. I want it to prompt for empty fields and if not empty, it will insert values into my database. I found … Web Development php | |
hey guys i am trying to send email using php mailer but the problem i think i have is the smtp whenever i changed in php.ini is not updated in the phpinfo (it still shows localhost) so i assume that i would have a problem connecting to a host and … Web Development php | |
Hello, My slider doesn't work on IE7. I ran out of solution. Im hoping you could tell me the problem. Here is hte website link: [Click Here to see the slider](http://67.23.238.162/~agranexc/timberlane/services.php) Note: Im using coin slider jquery plugin [Click Here to go to the plugin](http://workshop.rs/projects/coin-slider/) Web Development javascript javascript-jquery | |
Hi everybody, I have a container (DIV) which would be resized using the correct aspect ratio. favorite Now I would like to dynamically resize all the elements inside that container using jQuery, anybody plz help me. $('.movable') .draggable() .resizable(); $('.moveable') .resizable({ start: function(e, ui) { alert('resizing start') }, resize: function(e, … Web Development php ![]() | |
I'm Running xampp on windows 7 64 bit Proffessionial, I've searched google and everywhere, I just keep finding wanna be form builders that are super lame... I'm trying to host this form for our intranet, ( internal network ). My question is what do I need to replace in here … Web Development php | |
I know there are jquery snippets all over the internet showing how to show/hide <div> text based on whether a checkbox has been checked. Jquery is not a strong point of mine so I've really researched a lot to figure out how to do this. So far I'm able to … Web Development javascript javascript-jquery | |
Am trying to get my script to read in a directory and search for a a file, if the file doesnt exist it should print"that it doesn't exist" then add Notinfolder in an array. Please assist <?php $connection = ftp_connect($server); $login = ftp_login($connection, $ftp_user_name, $ftp_user_pass); if (!$connection || !$login) { … Web Development php | |
Help please -I am still learning Visual Web Developer in VB.Net code Sorry to ask, there is probably an easy fix or I have this completely wrong. I have a DropDownList2 (CustName) and a TextBox16 (for CustID) I want the command to look at the SQL Table and fill the … Web Development asp.net open-source | |
hi, im having an issue when using the .load() function of jquery. im using my index .php file to dynamically load contents in a div using the load function. but when i refresh the browser i taken to index.php. can u please suggest me? thank you Web Development javascript javascript-jquery | |
i added this code to my index.php (joomla ja-purity file 1.5) <?php if($this->countModules('user6')) : ?> <table class="nopad user6user7"> <tr valign="top"> <?php if($this->countModules('user6')) : ?> <td> <jdoc:include type="modules" name="user6" style="xhtml" /> </td> <?php endif; ?> <?php if ($this->countModules('user6') and $this->countModules('user7')) : ?> <td class="greyline"> </td> <?php endif; ?> <?php if ($this->countModules('user7')) : … Web Development php | |
Gulp, I hate to even ask because I think I know the answer... Has anyone ever, or does anyone know if ASP can be used to query a MUMPS database? Any information appreciated. Web Development asp | |
#Code for INSERT INTO into database and if fields are null, it will prompt for null fields.# Web Development php | |
Hi Team, This is my first thread from Daniweb.. I observed Daniweb is great support for PHP Developers... I am planning to integrate this Tiny Editor in my website for mathematical calculations. As per my observation Our math expression images saved in Codecogs server. In future is there any trail … Web Development php | |
Hi there, quick question about onchange method usage. I have a couple of checkboxes and when I check/uncheck them I want a function to be called, therefore I have decided to use the onchange method. But I am not sure I get how this works. Take the following example: HTML … Web Development apple javascript | |
Hey How do I run my web service as root? Yes, I know the security implecations of this. Thanks Web Development xml | |
I need to make a web component There have a link to control show / hide a div When user mouseover the link. The div will drop down. When mouse out of the div. The div will hide. Where can I find this script? Thanks~ Web Development javascript | |
Sorry people but I'm really struggling with this and I don't know why... but still. I have a stored unix timestamp. [a] I have the current timestamp not in unix format (YYYY-MM-DD HH:MM:SS) [b] I need to: 1) convert the current timestamp [b] into a unix timestamp 2) I need … | |
Can my dropdown menu produce a link instead of textbox? Is it possible? If so, how? <script type="text/javascript"> function fifa() { var frm = document.forms[0]; var abc = frm.browsers.value; if (abc === "A") frm.text1.value = "https://ical.bookeo.com/20212KWWNLA1396F7FEA1BWFW3J6/LHRAKRK63FAMPJP6/Z/I212JNW9WR139D70085E3/ical.ics"; else if (abc === "B") frm.text1.value = "https://ical.bookeo.com/20212KWWNLA1396F7FEA1BWFW3J6/LHRAKRK63FAMPJP6/Z/I21263C4FA139C15D7BAC/ical.ics"; else if (abc === "C") frm.text1.value … Web Development html-css javascript seo | |
Hi all, I have two dates: 1 = $last_check = YYYY-MM-DD HH:MM:SS (A SQL value) 2 = $datetime = YYYY-MM-DD HH:MM:SS (Called using PHP) How can I take away 1 from 2 and convert the minutes and seconds left over into seconds? Basically I'm running an uptime counter script that … Web Development php ![]() | |
Hey, I'm running a mysqli query, and would like to run a script if the query returns no results. this is my code <?php $SM_pro_info="SELECT * FROM special_marketing_ads ORDER BY id desc LIMIT 4"; $QSM_pro_info = $db->query($SM_pro_info)or die($db->error); $SM_pro=mysqli_fetch_array($QSM_pro_info); if($SM_pro){ while($SM_pro=$QSM_pro_info->fetch_object()){ ?> <table width="208" border="0"> <tr> <td width="129" height="35" align="right"><span … | |
Hi, I'm trying to find out why my code won't run. I passed my years variable to the function to multiplied by 365 and stored in my time variable which should be printed out. Should "toDays(21)" be declared in my function instead? <!DOCTYPE html> <html> <head> <script> var years; toDays(21); … Web Development javascript | |
Hi, I'm using InvisionPB to construct a query and basically generate a custom table. The following is what I have. I can get the query to echo prior to the switch/case but can't get it to display within the case itself. Any ideas? $this->DB->build( array( 'select' => "m.name", 'from' => … Web Development php | |
Hello, I'm trying to create exchange rates list with the data source of my National Bank, and my national Bank make it very complicated, data are stored with SOAP, and first of all I made rate.php that pull and show all data from web service od National Bank but like … | |
I have a chat script but when you submit it without writing a message it submits the only the name of a person. How can i stop this? here is the code : <? session_start(); if(isset($_GET['logout'])){ $ip=$_SERVER['REMOTE_ADDR']; //Simple exit message $fp = fopen("log.html", 'a'); fwrite($fp, "<div class='msgln'><i>User ". $_SESSION['name'] ." … Web Development html-css javascript-jquery php session | |
Hello guys I want to make my file upload form appear similar on all browser.I current use the code below.This will show differently depending on browser <form action="upload.php" method="POST" enctype="multipart/form-data" > <input type="file" name="image"/> <p><button name="submit" type="submit"></button></p> This is not a secret to anyone:D How can i make the following … Web Development file-system html-css php ![]() | |
pagelisting.php............. <html> <head> <h3 style="text-align:center;background-color:yellow">THIS THE LISTING PAGE</h3> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <?php include("home.php"); ?> </head> <body> <form action="" method="post" name="form1"> <br/><br/> <a href="fillup.php"><tr><th>Contacts</th></tr></a> <br/><br/> <input type="text" name="searchtext"/> <input type="submit" name="submit" Value="Search"/> </body> </html> <?php include("database.php"); $var=$_POST['searchtext']; if(isset($_POST['submit'])) { $sql="SELECT * FROM information WHERE fname LIKE '{$var}%'"; $q=mysql_query($sql) or die("some … Web Development php | |
I am using [Video overlay](http://flowplayer.org/demos/tools/overlay.html) How to close **Video overlay** when video is finished? Web Development javascript video | |
Hi, I'm working on a site and but have come to an halt. http://adam.synology.me/help1.png today I have a dropdown list (circled in red) which lets the user choose a row of data from my database to visualize in the area to the right in various graphs and such. I would … Web Development php | |
Hello everybody, I know it's a beginner's question (since I'm new to PHP), my question is how do you deploy your PHP website on the Web? Do you know any tool to host my site? This site FYI is a simple forum, that is to say, it's database-driven. So I'm … Web Development php ![]() | |
Hi all, I have a terribly frustrating issue I'm trying to solve and wondered if anyone would be able to help? I have a simple HTML / CSS website hosted on my webserver. This website has a basic web contact form that allows a user to fill in their details … | |
Hi all ive some ajax posting to the same php file to submit the post data to the database, the form data is posting, it just isnt following on to the database :/ way it currently works is that ive a form that submits the form to the PHP then … Web Development first-post 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> <title>Untitled Page</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <h2>Student Clearance Information</h2> <form action="students_clearance.php" method="post" name="form1"> <table> <tr> <td> Department Id:</td> <td> <select id="Select1" name="department" > <option>Select Department</option> <option value="IIT"> IIT </option> <option "IMS"> IMS </option> <option "BSChe"> BSChe </option> … Web Development php | |
Server Error in '/' Application. The connection name 'ConnectionString' was not found in the applications configuration or the connection string is empty. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated … Web Development asp asp.net web-server | |
Hi, I have a problem in making a query to make virtual columns in my query. I want to make a query that makes virtual column. for example I have a table with columns a,b and c and I want to make a query something like this SELECT a as … Web Development php | |
I have a gridview connected to a database and I added a checkbox next to each row. This is my code so far. <asp:TemplateField HeaderText="Assign" ShowHeader="True"> <ItemTemplate> <asp:CheckBox ID="assignCheck" runat="server" CausesValidation="false" CommandName="Assign"/> </ItemTemplate> </asp:TemplateField> Each row in my table holds a different user. My project is to assign a user … Web Development asp.net | |
Hi guys, Could somebody help me in decrimenting the letters cause code like below exists $let = 'A'; for($x=1;$x<256;$x++){ echo $let++.'-'; } //output: A-B-C-D-E....... i just wonder how about decrimenting it like $let--; but it didnt work does anayone has the idea on how to generate $let-- thanks, Web Development php | |
Hi, I am looking for a PHP script that can take an ip address and return the country where that ip address belongs to. If you know or have been using such a script, please let me know. Thanks Web Development php | |
Good Afternoon... I have an email function that I have been using for a long time to send mail to our membership. But now I need to be able to send a .pdf as an attachment to them. I expect that it should be a pretty simple process, but no … |
The End.