52,566 Archived Topics
Remove Filter ![]() | |
i am trying to loop rows from my database but i want to loop the first three rows and place an ad on the fouth row then i continue with my main loop.Aany help will be helpful. Thank you | |
How can you pass command line arguments to the Node.js? Web Development node.js | |
Hi i get all information what i need but i dont know how to get facebook profile image and save to file and in mysql save path. Here is my code for call fb api : <?php session_start(); include_once("config.php"); // facebook id include_once("includes/functions.php"); //destroy facebook session if user clicks reset … | |
Hello Everyone Help needed, Has anyone implemented frequency analysis attack on caesar cipher in PHP and predicting the possible key for it. it should input the cipher text and predict the key using frequency analysis chart. Web Development encryption php | |
I think I find a few points that are quite good to utilize: index.php <meta name="keywords" content="Branding, Web Design, Packaging, Illustration" /> <meta name="description" content="This is One, a multipurpose website" /> <meta name="author" content="Davy Gunarso"> Another thing that I would like to ask is what is the purpose of using … Web Development seo web-design | |
How to remove duplicate mobile numbers from input text box1 and print the result into text box2. Example mobile nos: 7795012345 7795012345 7795012345 7411312354 7411312354 9900454321 9900454321 9632554123 9632554123 output should be: 7795012345 7411312354 9900454321 9632554123 <?php $myarray = array(); $myarray['numbers']=$_POST['numbers']; foreach($myarray as $num){ $numbers=$num; } $unique = array_unique($numbers); $output=implode("<br … Web Development php | |
I apologize if I asked this question before - I may have. I am hearing two sides to this issue: 1. .php files WILL display in a web browser 2. .php files will NEVER display in a web browser I find this very confusing. I am watching video tutorials and … | |
while running the phpunit project am getting error like "cannot open file src/autoload.php". i tried with this reference https://phpunit.de/getting-started.html. In cmd i used the below command line >> phpunit --bootstrap src/autoload.php tests/MoneyTest please anyone help me to solve this issue. Web Development php | |
Hi... Is there any other solution to use map but not google map, which works in offline also? Web Development javascript javascript-jquery mysql php | |
![]() | Hi, I can successfully use the upload form in codeigniter without jquery/ajax, trouble is I need it for a rich text editor. Any ideas how to go abou this. Ta. Web Development file-system javascript-jquery php |
Hi everyone, am trying to save excel/docs filename in mysql and then display the filename and open the file to edit. The filename can be save in mysql but unable to display the filename and open the file. Appreciate if you could advise. Thanks a lot. <div id="tabs-1"> <?php error_reporting(E_ALL … | |
Hi all, I have a multidimensional array [0]:[0], [1], [2], [3] and I want to try and find the min and max values of each index of that array over the whole array. I am using: for ($i = 0; $i < count($input); $i++) { $string1[] = $input[$i][1]; $string2[] = … Web Development php | |
Hey guys please help me with my code, I want to disable select drop down if $stat=a, this is my code. Thank You! echo "<select name='name' id='name' 'if ($stat =='a'){ echo ('disabled');}'>"; Web Development php | |
The following table query is not executing properly, what is the correct syntax? $m_query = 'Insert into'.$job_id.'(`mobile`,`routeID`,`status`) values ('$mobile','$routeID','Sent')'; | |
Hello Daniweb Community, I'm wanting to incorporate my Facebook pages reviews into my website but I can't see the manage to get a permanent access token. I've tried the same key (which is permanent) that I use to get the news feed but that doesn't work with the reviews. At … Web Development api daniweb-api php social-media | |
Hello, There is something strange about this website link: http://www.innovation.web.id/One/team-members.php The slides only works well on localhost IF I turn of the javascript. but only on localhost. NOT on online. I wonder why? I am taking the sliders from : http://flickity.metafizzy.co/ nav.php <link rel="stylesheet" href="bootstrap-3.3.5/css/custom.css" media="screen"> <script type="text/javascript" src="http://www.google.com/jsapi"></script> <script … Web Development css-bootstrap javascript javascript-jquery ![]() | |
Dear all, I am developing a website which can upload photos and also uploading Name, Descrptions etc using one form and one "submit" button. I found this below: http://plugins.krajee.com/file-advanced-usage-demo#comments The Example has some codes but I am not sure how to put it into a HTML Form and submit to … Web Development javascript mysql php | |
hi i just want to ask and ask your help . can you guys help to make timer in my quiz page. seriously i have no idea how to do it. plus im still new in this field around 7 month , so i dont know where to put the … Web Development javascript mysql php php-codeigniter | |
I needed a grid layout to display some images. I found this one online http://alijafarian.com/demos/responsive-image-grids-using-css Its displays but not like it should. Through a process of elimination i figured it was a js file causing this, two to be precise. init.js & skel.panel.min.js These js file came with the template … Web Development html-css javascript javascript-jquery | |
Hello, I have just created a form and the form data is submitting using Ajax as I wanted the user to be on the same page after he submits the form as there are bootstrap accordian tabs data is submitting properly and retriving as well no problem but when the … Web Development javascript php | |
hi i used a javascript countdown timer as: [CODE]<form name="counter"><input type="text" size="8" name="d2"></form> <script> <!-- // var min=5 var seconds=0 document.counter.d2.value='5' function display(){ if (seconds<=0){ min-=1 seconds=60 } if (min<=-1){ seconds=0 min+=1 } else seconds-=1 document.counter.d2.value=min+":"+seconds setTimeout("display()",1000) } display() --> </script>[/CODE] for clock ticking purpose. and [CODE]<SCRIPT LANGUAGE="JavaScript"><!-- setTimeout('document.tform.submit()',300000); //--></SCRIPT>[/CODE] … Web Development php | |
Hello, Created a query for getting users list excluding the logged in user well I thought about creating a simple one but huh that didn't worked for me. Okay so what logic and for what did I created for. I tried to show the users that are friends with each … | |
Hello i am kind of new to the wordpress world and i was wondering if some one would give me a hand? I am having an issue going to my site. I keep getting redirected to a different domain. Can someone send me a step by step guide to fix … Web Development wordpress ![]() | |
In a table, I show S.No , Name , Amount, Payable Amount, Balance Amount dynamically. So I need a calculation to show balance amount by subtracting payable amount with amount for all textboxes in onblur dynamically. Here is my code. But it does for only the first row, and how … Web Development javascript php | |
Hello i want to make a script so that users can record audio through their mic. I found this online https://github.com/streamproc/MediaStreamRecorder/blob/master/demos/audio-recorder.html but i how i can make the recorded audio to be stored on a table on my database? Web Development audio github javascript php | |
Hi All, This issue keeps reocccuring and I can not for the life of me figure out why. When I add ANY AJAX control to my ASP.Net project, I end up getting an error that a reference in the designer is not defined. For example, if I add an UpdatePanel, … Web Development asp.net javascript web-browser | |
Hi, I am trying to submit data and saving it to the database queries are inserting properly but the problem is that when I try to insert the data the message column Let suppose i Type in Hello World! In data base it show as undefined whhy is that so … Web Development javascript perl php | |
Hello, I would like to fix this slider: http://www.innovation.web.id/flickity-docs2/ If I scroll the slides it always place the starting picture in the middle, which left some blank space on the left side of the slides. It also works the same way for the ending of the picture. I would like … Web Development | |
How to decode and store the following code values like city, zip, region etc into separate variables in PHP a:14:{s:4:"city";s:7:"Bijapur";s:3:"zip";s:6:"586101";s:3:"lat";d:16.83329963684082;s:2:"as";s:33:"AS9829 National Internet Backbone";s:5:"query";s:13:"59.99.192.232";s:6:"region";s:2:"KA";s:10:"regionName";s:9:"Karnataka";s:3:"org";s:4:"BSNL";s:3:"isp";s:4:"BSNL";s:7:"country";s:5:"India";s:11:"countryCode";s:2:"IN";s:3:"lon";d:75.69999694824219;s:6:"status";s:7:"success";s:8:"timezone";s:12:"Asia/Kolkata";} Web Development | |
I have a problem when downloading the file i've uploaded on my local server. The file is successfully downloaded, however there is a problem on opening the file that i've download. For example i download a word file(.docx). The error is : The office open XML file 'filename' cannot be … Web Development client-server file-system pdf php | |
I am using CodeIgnitor and oracle db at model function add_new_emp_test( $x, $y) { $conn=$this->db->conn_id; // Execute the call to the stored procedure $stmt = "BEGIN emp_pkg.add_account(:x1,:y1); END;"; $lob = oci_new_descriptor($conn, OCI_D_LOB); $lob = oci_new_descriptor($conn, OCI_D_LOB); $stid = oci_parse($conn, $stmt); oci_bind_by_name($stid, ':x1', $x, 100); oci_bind_by_name($stid, ':y1', $lob, -1, OCI_B_BLOB); $lob->writeTemporary(base64_encode($y)); … Web Development oracle php php-codeigniter | |
How to set html css universal , means looks same as one brower , i have make an site in html but it shows dirent in dirent browsers :( Web Development html-css | |
Hi I have two tables property and property_images I join these tables with the following query: function get_residential(){ $query = $this->db->query("SELECT property.ID, property.property_name, property.property_slug, property.property_size, property.property_beds, property.property_bath, property.property_garage, property.property_type, property.property_state, property.property_price, property.property_address, property.property_description, property.date_created, property.active, property_image.image_name FROM property AS property INNER JOIN property_images AS property_image ON property.ID = property_image.image_id WHERE … | |
Hi,i have the following code,how can i count values -averages per row and column from this code: <?php $data = array( array(""=>"January", "ATL"=>rand(0,335) , "ORD"=>rand(0,335),"LAX"=>rand(0,335),"DFW"=>rand(0,335),"DEN"=>rand(0,335),"JFK"=>rand(0,335),"SFO"=>rand(0,335),"CLT"=>rand(0,335),"LAS"=>rand(0,335),"PHX"=>rand(0,335)), array(""=>"February", "ATL"=>rand(0,335) , "ORD"=>rand(0,335),"LAX"=>rand(0,335),"DFW"=>rand(0,335),"DEN"=>rand(0,335),"JFK"=>rand(0,335),"SFO"=>rand(0,335),"CLT"=>rand(0,335),"LAS"=>rand(0,335),"PHX"=>rand(0,335)), array(""=>"March", "ATL"=>rand(0,335) , "ORD"=>rand(0,335),"LAX"=>rand(0,335),"DFW"=>rand(0,335),"DEN"=>rand(0,335),"JFK"=>rand(0,335),"SFO"=>rand(0,335),"CLT"=>rand(0,335),"LAS"=>rand(0,335),"PHX"=>rand(0,335)), array(""=>"April", "ATL"=>rand(0,335) , "ORD"=>rand(0,335),"LAX"=>rand(0,335),"DFW"=>rand(0,335),"DEN"=>rand(0,335),"JFK"=>rand(0,335),"SFO"=>rand(0,335),"CLT"=>rand(0,335),"LAS"=>rand(0,335),"PHX"=>rand(0,335)), array(""=>"May", "ATL"=>rand(0,335) , "ORD"=>rand(0,335),"LAX"=>rand(0,335),"DFW"=>rand(0,335),"DEN"=>rand(0,335),"JFK"=>rand(0,335),"SFO"=>rand(0,335),"CLT"=>rand(0,335),"LAS"=>rand(0,335),"PHX"=>rand(0,335)), array(""=>"June", "ATL"=>rand(0,335) , "ORD"=>rand(0,335),"LAX"=>rand(0,335),"DFW"=>rand(0,335),"DEN"=>rand(0,335),"JFK"=>rand(0,335),"SFO"=>rand(0,335),"CLT"=>rand(0,335),"LAS"=>rand(0,335),"PHX"=>rand(0,335)), array(""=>"July", "ATL"=>rand(0,335) , "ORD"=>rand(0,335),"LAX"=>rand(0,335),"DFW"=>rand(0,335),"DEN"=>rand(0,335),"JFK"=>rand(0,335),"SFO"=>rand(0,335),"CLT"=>rand(0,335),"LAS"=>rand(0,335),"PHX"=>rand(0,335)), array(""=>"August", … Web Development php ![]() | |
Hello, I tried to created a social networking system in which I created a part of adding friends so the problem I am having if the firend is not in his are like he searched a friend normally so that friend is not in his system so it show as … | |
Hello, I have this code here. I am trying to show the different options with radio box. There is something wrong in my code, however I can't figure out what it is. Any help? <div id="questions"> <p><img src="images/pic_survey.jpg" width="279" height="104" alt=""/></p> <p>Please take our five second survey!</p> <h3 class="hSubtitle">Question 1</h3> … Web Development javascript-jquery json | |
Focus not working. What is the error in my code Dynamic Textbox Code: select query $i =1; while() { <input type="text" name="class_teacher_entry[]" id="class_teacher_entry<?php echo $i; ?>" class='marks' size="5" maxlength="3" onkeypress="return onlyNumbers(event);" onblur="markValidation(this.value,document.getElementById('marktotal').value,<?php echo $i; ?>);"/> } <Script> function markValidation(a,b,i) { var c = parseInt(a); var d = parseInt(b); if(c>d) { … Web Development javascript mysql php | |
Here's a fun one... How would you solve a basic simultanous equation with PHP? I have an array with a range [high,low] of [378,395] and I want to normalise the data in that array between the values of [-1, 1]. From that, using `x => ax + b`you get the … Web Development php | |
Hi, I am having trouble getting my clients website to send the form details to their email. Their email is not handled by their hosting but externally using Office 365. I have tested the site forms and they send succeffully to a wide variety of test email accounts ALL except … | |
The website has to connect to internet time, instead of the local time via computer. Any ideas? ![]() | |
Would be really appreciated your help.I have a code like this: i need to display a total figure for passengers carried on each route and in each month and highlight in green the best performing route and highlight in red the worst performing route.I constraced those tables and now stack. … Web Development css-bootstrap html-css php | |
Hi all, I am using a for statement to generate lots of arrays, example: Array ( [0] => 2 [1] => 395.0 [2] => 0.33 ) Array ( [0] => 3 [1] => 394.0 [2] => 0.81 ) But, I want to have them all within 1 array, example: Array … Web Development php | |
[CODE]<?php // CONFIGURATION ****************************************************************************** $dbHost = "Example.com"; // MySQL host $dbUser = "shen"; // MySQL username $dbPass = "XXXXXXX"; // MySQL password $dbDatabase = "shen_080892"; // MySQL database name $username = "shen08089296"; // Login Username $password = "XXXXXX"; // Login Password $logspage = 100; // Number of logs per page … | |
I am uploading max 5 images and i want to create the thumbnails of those 5 images i am successful in uploading and saving image name in database but can't able to make thumbnails. //controller $files = $_FILES; $cpt = count($_FILES['uploadfile']['name']); for($i=0; $i<$cpt; $i++) { $_FILES['uploadfile']['name']= $files['uploadfile']['name'][$i]; $_FILES['uploadfile']['type']= $files['uploadfile']['type'][$i]; $_FILES['uploadfile']['tmp_name']= … Web Development image mysql php php-codeigniter | |
Dear friends,help me please,i have a php array,how would i display table out of it,something went wrong : <?php $data = array( array ( "Hartsfield Jackson Atlanta International","Atlanta" , "ATL" ), array ( "Chicago O'Hare International", " Chicago", " ORD" ), array ("Los Angeles International", " Los Angeles", " LAX" … | |
Hello, I would like to erase the numbers list 1-4 in this sliders (Any clue how to ?) : http://www.innovation.web.id/slider2/ slider2/index.html <html> <head> <!-- jQuery library (served from Google) --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <!-- bxSlider Javascript file --> <script src="jquery.bxslider.min.js"></script> <!-- bxSlider CSS file --> <link href="jquery.bxslider.css" rel="stylesheet" /> <script> $(document).ready(function(){ … Web Development javascript-jquery | |
Hi. When trying to pass a parameter to the mehod I get error: not found I've been trying other url syntaxes (@url.action) but to no avail also. script inside input/index view <script> $(document).ready(function () { $("#btnSubmit").click(function () { var presc1 = $('#p1').val(); $.ajax({ type: "POST", dataType: "json", contentType: "application/json; charset=utf-8", … Web Development javascript json | |
Im coding webapp where user has ability to enter web-addr and script will enter desired webpage. When coding in WinForms, OK no problem Problem starts with ASPX/asp.net. Google showed some stupid webtutorial made by so called dev +/-10 yo. (based on voice). Complete crap. Whats an equivalent of WebBrowser in … | |
I want to upload file using php ajax then insert all the data such as chapter name, lesson name and id on database. How can i do that? pls help me guys. Thank you :) Web Development javascript mysql php |
The End.