52,566 Archived Topics
Remove Filter ![]() | |
Hi. so i have this div like so:  see the "Add Spouse" link, when clicked will display another div:  the edit spouse works by submitting the data wihtout refresh using `$.post`: $(document).ready(function(){ $("#submitSp").live("click", function() { var id = $("#contactid").val(); var ssalut = $("#spouse-salute").val(); var sfname = … | |
I am trying to find out if it is possible to [B]edit/add to[/B] an existing PDF file with PHP. I have a PDF agreement document that needs to have the client's name inserted on the blank field. The document will then be printed for their signature. I've created PDF's with … | |
A client of mine wants his site done using php-nuke, I was wondering if this is a good idea as it seems like there's not much using it and the support community is almost non-existent. Anybody here is using or have used it? Web Development php | |
Please assist, I am trying to get get one page out of three to load a google map once its loaded. the code i have is below. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="refresh" content="600"/> <title>Pollutions App</title> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <style type="text/css"> html { height: 100% } … Web Development api data-structure google google-api html-css javascript-jquery listview | |
hello. so my boss gave me these cfm files to convert to html. i have zero knowledge of coldfusion. could someone help me out? a link or something that has a list of html/cfm equivalents? though from the few pages i opened the only tag i see different from html … Web Development coldfusion html-css ![]() | |
i have an rsvp page where the table is populated by guests according to event selected in the drop down list. the rsvp table has 2 columns: guest names and status. status(radio button) is divided into 3: unconfirmed(default status), attending and not attending. user has to choose either one. but … | |
Hi Everyone, I am trying to allow only numbers and dashes into one of my text inputs on a form. For example: 1-1, 1-0, 2-3 etc And I have the following to validate numbers only function validate_cscore($variable) { return is_numeric($variable); } the above works great with the following error checking … Web Development php | |
Hi I'm built a fairly basic add to shortlist function on my website similar to a session based add to cart. Here is the code for my add to shortlist button. <a href = "http://www.website.com/cart.php?action=add&id=' . $id . '" <b>Add to Shortlist<b> </a> Here is the code for my cart … | |
I am trying to send email which contains password of the user. i want to retrieve email id from database. and my password field and email field are in different tables. I have tried but mail is not going to the email id. Here is the code: HTML: UserName: <input … | |
update code if(isset($_POST["type"]) && $_POST["type"]=='add') { $product_id = (int) $_POST["product_id"]; $product_qty = (int) $_POST["product_qty"]; //product code $product_size_id = $_POST["product_size"]; //product size $prosize=mysqli_query($connection,"SELECT * FROM size where SizeID = $product_size_id"); $prosizename=mysqli_fetch_array($prosize,MYSQLI_ASSOC); $product_size=$prosizename['Name']; if(isset($product_size_id)){ $product_size=$prosizename['Name']; }else{ $product_size="default"; } $return_url = base64_decode($_POST["return_url"]); //return url //MySqli query - get details of item from db … ![]() | |
How to validate Jquery UI auto complete filed. Im using [bootstrapvalidator](http://bootstrapvalidator.com/) to validate filed.I tried with this code its not working. $('#f_flying_from') .change(function (e) { $('#flights-tab-form').bootstrapValidator('revalidateField', 'f_flying_from'); }); Web Development javascript | |
Hallo every bodies, i've problem that when i execute a form for update, that there is one of many fields as url input. Then response is forbidden, but when url's field is empty, all script are fine. I think it's so strange, I don't know how to do. Or is … Web Development php | |
I have another send email program that I am trying to fix. It's different from the previous one: index.php <form action="contact.php" name="contactform" class="row" method="post"> <h4>Request a FREE TRIAL CLASS!</h4> <div id="input_name" class="col-md-12"> <input id="name" class="form-control" type="text" name="stu_fname" placeholder="Full Name"> </div> <div id="input_email" class="col-md-12"> <input id="email" class="form-control" type="text" name="stu_email" placeholder="Enter your … Web Development php | |
Hi guys, Was wondering if you could help me please. So I have a list of menu elements from which I can drag elements into a div tag. This all works fine. But I'm struggling to replace the elements with each other. So say for instance I already have an … Web Development javascript | |
Hello, I am trying to get this to loop through all the available items in a database and return the results. <?php $qry = mysqli_query($con,"SELECT * FROM `favorites` WHERE `username` = '$id'") or die(mysqli_error($con)); while($rowa = mysqli_fetch_array($qry)) { $slugname = $rowa['slug_name']; $url = $rowa['slug']; echo '<a href="'.$url.'>'.$slugname.'</a>"'; } ?> I … Web Development php | |
Hello, I have been looking for youtube HTML5 player codes: I use this standard HTML codes for youtube that I thought it's going to work, but it doesn't: <object width="420" height="315" data="http://www.youtube.com/watch?v=IVdGD3s-JdY"> </object> I only see a blank white screen with that codes. Then, I thought perhaps because I am … Web Development html-css | |
Hi I wanna start working with ASP.NET with C# but want to do it in ubuntu. I have installed mono and XSP2 but have some problems and questions. The instructions I followed for installing XSP2 is [this page](http://www.howtogeek.com/howto/ubuntu/run-aspnet-applications-on-ubuntu-for-developers/). But when I type "sudo apt-get install asp.net2-examples" in terminal, I get: … Web Development asp.net debian ubuntu web-browser | |
I need to create a leaderboard for a online quiz that I am about to conduct.... I also need to setup a login and a seperate forum for users in the same level to interact with each other...and I should moderate their comments... pls helpme.. Web Development | |
The ajaxForm function is not working well. It returns an error. Here is my code: Html: <form class="t1-form" action="ajax/upload.php" method="post" accept-charset="UTF-8" id="form" enctype="multipart/form-data"> <textarea class="txtbox" placeholder="" role="textbox" title="" name="post"></textarea> <div class="photo-selector"><button type="button" class="btn btn-default" title="attach image"><i class="fa fa-camera fa-fw"></i> Upload</button><div class="image-selector"><input type="hidden" name="photoId" value="" id="photoId" class="file-data" autocomplete="off"><label class="t1-label"><span class="visuallyhidden">Add photo</span> <input … Web Development first-post html-css image javascript json | |
This is the first url: http://localhost/SquprimeRevise/administrator/admin/invoice_edit.php?group_id=7&type=new 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" type="text/css" media="screen" href="style/css/ie6.css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie7.css" /><![endif]--> <!-- … Web Development html-css javascript-jquery php | |
Hey I am trying to create forget password feature. When a user forget the login password an email address must be send to his/her email with a password reset link. I wonder how to do so? I have the user password stored in the database I can retrive it easily. … Web Development css-bootstrap email html-css php | |
I have a WordPress multisite using subdomains. I have created a new website, not using wordpress, which is on the root in a folder called 'home' I am trying to remove the 'home' from the url so that it appears that this folder is the root eg. mydomain.com instead of … | |
Hello, I am getting a weird error when i try to run this array: //leafly api keys $appID ='Blah'; $appKEY = 'blah'; //init curl $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://data.leafly.com/strains/".strtolower($data)); //change the strain dynamically of course for your app curl_setopt($ch,CURLOPT_HTTPHEADER,array('APP_ID:'.$appID,'APP_KEY:'.$appKEY)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $output = curl_exec($ch); //Clean it into an … Web Development api cdn data-structure php windows-api | |
Hi Guys, I'm a newbie to rails. I'm bit confused about the following. What is the difference between RSpec and Minitest? Which will be easy and effective to use? Thanks in advance... Web Development ruby | |
Hi, I have the below array (or is it called string?) with javascript date and a value. I need to sord the elements by the date but i dont know how to do this?! [1366754400000, 8], [1366840800000, 3], [1366927200000, 1], [1368482400000, 1], [1384383600000, 1], [1369951200000, 1], [1377554400000, 1], [1377813600000, 8], … Web Development php | |
//LOAD IMAGE TABLE $filename = $_FILES["file"]["name"]; $image_info = getimagesize($filename); $image_width = $image_info[0]; $image_height = $image_info[1]; echo "filename1 : ".$_FILES["file"]["name"]; echo "filename : ".$filename; echo "image info : ".$image_info[0]; echo "image info : ".$image_info[1]; echo "image width : ".$image_width; echo "image height : ".$image_height; filename1 : feature1.png filename : feature1.png image … Web Development php | |
Hi...i would like to save and edit some excel files located in server using php. The coding below upload the file but when i open the page again...the message 'no file chosen' appears. Please help on this matter...thanks a lot... <?php error_reporting(E_ALL ^ E_NOTICE); $_SESSION['Targetid']; $_SESSION["Progressid"]; $conn = mysql_connect("localhost","pqa",""); mysql_select_db("pq",$conn); … Web Development file-system html-css php | |
I have two arrays, and my problem is when I pick one value of first array it must also remotely picked the same value of the second array. Explain : array ("Volvo","BMW","Toyota"); array ("200","300","400"); It's like when I choose "Volvo" it must also remotely choose "200" OR when I choose … Web Development php | |
I am working on a quiz app image 1 shows the index.php page image 2 shows the first question image 3 shows the second question image 4 shows the third question image 5 shows the result after completing the quiz image 6 shows the database 'quizzer' and its tables image … | |
Hi, I'm trying to get the value from a javascript: `window.locaiton.href = "db/create_eoi.php?refNum=" + rNum;`. <?php if(isset($_GET["rNum"])){ $refNum = trim($_GET["rNum"]); } ?> the problem is that where ever I use `$refNum` I get an error saying Undefined Variable. To be more clear: what im doing is getting a value from … Web Development javascript php | |
Hi, I'm getting an url variable from this `test.php?ids=1,2,3` and need to transform it to Array ( [0] => 1 [1] => 8 [2] => 9 ) What I've tried is : `$ids = explode(', ', $_GET["ids"]);` but that gives me an array like this: Array ( [0] => 1,8,9 … Web Development php | |
Hi I have a problem in which an HTML/JavaScript page, using the excellent AblePlayer Audio Player, which runs perfectly on my Home server (Latest version of Wamp), but will not run when it is uploaded to our 1and1 shared server space. The code for this page is shown below, and … Web Development audio html-css javascript javascript-jquery | |
Im trying to convert mysql query to mysqli but it doesnt work...why? From: mysql_query("UPDATE views SET views=views+1 WHERE viewID='1'"); To: $q1=$mysqli->query("UPDATE views SET views=views+1 WHERE viewID='1'"); Errors: Notice: Undefined variable: mysqli in C:\wamp\www\SICS\home.php on line 5 Fatal error: Call to a member function query() on a non-object in C:\wamp\www\SICS\home.php on … | |
hi guys..i have a question...let me explain first..for my project i'm doing a checkbox for user to tick for several documents..after user click the checkbox..it will save in the database..based on that database..what i want is to display that checkbox..for example..if this checkbox have 10 ..then if the user tick … Web Development php | |
I want to get this picture [Click Here](http://i.imgur.com/hCeF8pl.jpg) to look like the picture on this website [Click Here](http://www.weblup.weebly.com). It looks cropped almost because it doesn't look scaled or anything, but I know it's not cropped because I got the image off of this website. So any ideas. I tried to … | |
Hi All, I am developing a website in which i am selecting some values form database by a query When i am running query on PHPMyAdmin i am getting desired results but when i am using this query in actual PHP code, i am getting value of Last row. Can … | |
Hi WebDev Guys, Ok, I have a very general question as the title suggests. I am very much a back-end developer and have only dabbled in web development. I would consider myself a total ammature when it comes to Web Development though am confident after playing with PHP, JavaScript, JQuery, … Web Development android android-development database-design javascript-jquery web-design web-server | |
i don't know how to refresh a textarea. if i have a text file opened on this textarea and i entre some lines into this file, i want to refresh my textarea in ..second automaticaly ..to see the new lines.. <textarea id="chat" rows='38' cols='189'> <?php $file1 = "test.txt"; $file2 = … Web Development php | |
I want to show a specific color based on the value i get from the Json response. i.e. if the temp = any number between 1 and 15 it will show a blue box below and... if the temp = any number between 16 and 25 it will show a … Web Development api javascript json | |
Hello. I'm preety new to php and web development and I've written a large scale development using php and I want to be able to work on it on my windows machine. But does anyone know of an istallation so I can just straight up run php scripts on windows??? … Web Development php | |
Hi All, I have a PHP code to display table data with a column of checkboxes used to click to mark the test case as Blocked. I am trying to save the state of checkbox after it is submitted, but I am unable to do so. Please help! echo "<form … Web Development php | |
http://www.conservancyonmayne.com Each main page of this site (other than "index.html") has had its main dropdown menus display via a php include statement - example www.conservancyonmayne.com/talks&walks.php - I have recently added a jslider sequence that appears below this main menu. The problem: when the full dropdown "content" is on the page … Web Development php | |
Hello, I'm having some problems with my jQuery script. It works correctly except it doesn't wait for the internal AJAX request to return before adding the variable data 'daa' to the HTML table variable. I debugged it a bit using 'alert' and I think it's adding the 'daa' data to … Web Development api javascript javascript-jquery json | |
Greetings pros :D. I am having problem with creating a directory on my linux server. When i download a file it display that error. (I migrated my php project from windows to linux using WinSCP.) Web Development php | |
i'm having a problem with parsing variables from previous page and saving to database on the next page. i have two pages . first page is where i view my data. i do a select sum, and it works. now on my second page i want to take the total … Web Development php | |
Hi Guys, I'm a newbie to ROR.and I'm developing a sample app for practising. My app is for Quiz game qith time constrains. But, I don't know how to set a timer control for questions. I'm seeking for a solution for that to add timer control. I hope you will … Web Development ruby | |
All, I'm trying to pass a hidden value into my php mail script - the img1 isn't displaying - in the e-mail it's coming across with just http://www.mysite.com/custom_clock/sills/ and not the img1 value The html form is here: <form name="customemail" action="mail.php" onsubmit="return SubMail_Validator(this)" method="POST"> <b>E-mail</b><br/> <input type="text" name="from" size="25"><br> <input … | |
Hi, to my understanding, `isset()` checks is the variable exist and have a value. But when I try the code below, _randNum() keeps on getting new values when it should already have a value because it already exist and have a value. <?php session_start(); if(!isset($_randNum)){ //Check if the variable dont … Web Development php | |
Hello I am trying to learn the differences from Java and JavaScript so I am trying to take a working simple program in Java and make it work in JavaScript. I keep getting undefined. Here is the JavaScript I am trying: <script type="text/javascript"> function _(x) { return document.getElementById(x); } function … Web Development javascript | |
Hi All, I have a application , which onclick of submit takes content in textarea and do some back end stuff and finally opens a .html in a iframe. My problem is, the .html in iframe should change on each submit button in coresponding to the content in the textarea.... … Web Development javascript json |
The End.