52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for utsavjoshi95

problem with this code is, it is printing only first element,how can i print all elements which are added using addrow() <script language="javascript"> function addRow(tableID) {var table=document.getElementById(tableID); var rowCount=table.rows.length; var row=table.insertRow(rowCount); var cell1=row.insertCell(0); var element1=document.createElement("input"); element1.type="checkbox";element1.name="chkbox[]"; cell1.appendChild(element1); var cell2=row.insertCell(1); cell2.innerHTML=rowCount+1; var cell3=row.insertCell(2); var element2=document.createElement("input"); element2.type="text"; element2.name="txtbox[]"; cell3.appendChild(element2); } function deleteRow(tableID){ …

Web Development php
Member Avatar for rpv_sen
0
158
Member Avatar for AntonyRayan

Hi, I need a php code for converting from any format to pdf by clicking a button called convert to pdf. How to do?

Web Development pdf php
Member Avatar for cereal
0
136
Member Avatar for charlie.kirk.140

Hi guys, I want to insert data(integer OR decimal) into database record. should the data structure be integer? if so how do I print the value I enter (12.75 or 3)? thanks in advance.

Web Development data-structure php
Member Avatar for matrixdevuk
0
100
Member Avatar for jonlloydd

I have a search box and a dropdown box. I am using these to filter data being displayed on my table from the MySQL table. I can type a county name in to the searchbox and all the records with that county name will be dsiplayed. THAT works fine, however …

Web Development html-css mysql php
Member Avatar for matrixdevuk
0
583
Member Avatar for toplisek

I have set container like: <div class="container" ng-app="myApp" ng-controller="tagsCtrl"> <h3>Angular Tags List Editor - Autocomplete</h3> <div class="row"> <div class="col-md-7"> <div class="panel panel-default"> <div class="panel-heading"><h4><i class="fa fa-tag fa-lg"></i> Tags</h4></div> <div class="panel-body"> <div class="row"> <div class="col-md-12"> <tag-manager tags="tags" autocomplete="allTags"></tag-manager> <hr> <h3>Current Tags</h3> <ul class="list-unstyled"> <li ng-repeat="tag in tags">{{tag}}</li> </ul> </div> </div> </div><!--/panel-body--> …

Web Development javascript javascript-jquery
Member Avatar for toplisek
0
680
Member Avatar for SpottyBlue

Hey, I wanted to generate a report (GenReport.aspx) containing the list of GridView items filtered from the entered data from report.aspx. When I was debugging, I selected the data I wanted to filter, but it shows me all the data on the table instead of the data filtered on the …

Web Development asp.net finance html-css
Member Avatar for tdrosiadis
0
421
Member Avatar for SeanKann

I'm trying to get this cronjob to work but it won't exec the the ffmpeg exec that I have in my controller file. When I try to run it via web browser it outputs the variables correctly but won't exec <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); …

Web Development php session web-browser
Member Avatar for cereal
0
3K
Member Avatar for OsaMasw

Hello guys have a nice day.. I have a problem need to be solved, I have upload script which save files in "/uploads" folder everything was going good until my boss decided to move upload file to storage server and need to store all files in "/etc/mnt/storage/uploads" so what should …

Web Development apache file-system php
Member Avatar for cereal
0
2K
Member Avatar for pranab2302

hi, can you please help me in writeing a code in javascript which will eneble javascript in browser. The code need to be in java script. i am using a performante testing tool "gomez" which supports java scripts only. its really urgent. Thanx in Advance. :icon_smile:

Web Development javascript
Member Avatar for ps1990
0
715
Member Avatar for jonlloydd

I am trying to create a search box that searches the county field of the database. If the criteria matches then the records will be displayed in the table. I have got the different counties in the dropdown box however when I click the record the table does not change. …

Web Development html-css mysql php seo
Member Avatar for diafol
0
369
Member Avatar for ala_2

my goal is to develop a workflow modeling web application can you give me some pointers on some usefull libraries Using ASP .NET Webforms with c#

Web Development asp.net
Member Avatar for pritaeas
0
117
Member Avatar for Niloofar24

Hello. I want to create a database on my pc localhost and then want to use PDO to connect with that database to creating table and so on... What should i do?

Web Development php
Member Avatar for Niloofar24
0
294
Member Avatar for vishalkumar1234

i have installed xampp server in my pc.i couldn't run programs in browser.when i write http//localhost then it screen comes with written iis7.please help

Web Development php
Member Avatar for lps
0
288
Member Avatar for TheEdsgurl

I'm using sockets.io, express and php and I was wondering if it is possible to push something of a page (that only a specific user can see at the time) to another page other can see. For example, if an admin has: <?php $a = $row['test']; //data from test table …

Web Development php
Member Avatar for matrixdevuk
0
264
Member Avatar for toplisek

I have to change $ into jQuery due to conflict validation. Please find code. It seems an issue with the line that jQuery validation passes an error. how to solve this ? Line with an error: Manipulator.prototype.setupEvents = function() { var self = this; jQuery('#add').on('click', jQuery.proxy(self.onAddClick, self)); jQuery('#randomize').on('click', jQuery.proxy(self.onRandomize, self)); …

Web Development javascript javascript-jquery
Member Avatar for toplisek
0
301
Member Avatar for malatamil

upload.php <form name="selectionForm" method="POST" action='query.php'> echo "<select name='$q2['type']'>"; //echo "<select name='selecttype'>"; echo "<option value='Regular Project'>Regular Project</option>"; echo "<option value='FSA Project'>FSA Project</option>"; echo "</select></td>"; echo "<input type='hidden' name='mid' value='$q2[0]'>"; echo "<td width='140'><textarea rows='2' name='comments[]' cols='20' ></textarea></td>\n"; echo "</tr>\n"; </form> query.php $selecttype = $_POST['selecttype']; instead of calling 'selecttype' i want to call …

Web Development file-system php
Member Avatar for diafol
0
251
Member Avatar for AntonyRayan

Hi, In a bootstrap page I have button called language known, by clicking that a popup checkbox modal will open in that I have two button called close and savelanguages, by clicking savelanguages button what are the languages that are selected nnear to the languages button in a textbox.. I`m …

Web Development javascript
0
149
Member Avatar for Tinnin

Hi All, I'm trying to convert a .p12 file to a .pem using php (because, as I understand it, soap needs to take a .pem format certificate) Am I going about it the right way? $certificate = array(); $pkcs12 = file_get_contents('certificate.p12'); if (openssl_pkcs12_read($pkcs12, $certificate, 'pass')) { if (isset($certificate['pkey'])) { $pem …

Web Development api file-system php
Member Avatar for gulshanmaurya
0
2K
Member Avatar for kalcio

I want to get data from my database table "Client",but I get this result: `[{},{},{}]` this is my code: <?php namespace OP\OPBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use OP\OPBundle\Entity\Client; class ClientAPIController extends Controller { public function indexAction() { $em = $this->getDoctrine()->getManager(); $personne = $em->getRepository('OPOPBundle:Client')->findAll(); // $personne_tab=array(); // $personne_tab['nom']=$personne->getNom(); // $personne_tab['prenom']=$personne->getPrenom(); // $personne_tab['id']=$personne->getId(); $personntojson= …

Web Development php
Member Avatar for pritaeas
0
285
Member Avatar for AntonyRayan

For image upload , This is my code, What is the error, its not checking in else part if(!$('#upload').val()) { alert('Upload Your Photo'); $('#upload').focus(); return false; } else{ $('input[type=file]').change(function () { var val = $(this).val().toLowerCase(); var regex = new RegExp("(.*?)\.(jpg|jpeg|txt|png|docx|gif|doc|pdf|xml|bmp|ppt|xls)$"); if(!(regex.test(val))) { $(this).val(''); alert('Unsupported file'); } }); }

Web Development file-system image php
Member Avatar for AntonyRayan
0
184
Member Avatar for lily90

morning i have an issue and need help. i have a page that retrieve the information entered on a form every time you hit the button submit. the page display all the field form that was entered except from one which is a radio radio buton and give me that …

Web Development html-css php
Member Avatar for almostbob
0
441
Member Avatar for fireburner29

Hi there, I am stuck in the php validation. In my form have to show list banks by in my form, if the client may be enter the correct name or enter few char and select the bank name from datalist.if Suppose the client enter any name (except exist bank …

Web Development php
Member Avatar for edbr
0
404
Member Avatar for Siberian

A page I'm working on has a few minor hiccups with IE7. I've been informed to ignore IE7, can anyone give there added opinion ? I'd like to share the link to which I need help with !

Web Development javascript
Member Avatar for Siberian
0
149
Member Avatar for Sijeveux

Hi there, I've been struggling for several days now with datatables, and I don't know how to get my individual columns being searched thanks to their each own input. When I type something in my inputs nothing happends, no filtering is done. Many thanks if yo can take that thorn …

Web Development javascript regex
0
104
Member Avatar for stokie-rich

Hi Guys hope that you are all well. I have statred to use the bootstrap framework to create my website, I have got all of my pages working and linking correctly using bootstrap and its looking pritty awesome now! I have found a video on youtube to help me to …

Web Development html-css php video
Member Avatar for diafol
0
816
Member Avatar for kingwash

<?php $b=('some data from db') class one{ public $a=$b; } i want to initialize the $a with a variable outside the class, but it is not working. Please how can do this. Thanks in advace

Web Development php
Member Avatar for diafol
0
137
Member Avatar for Simon_4

I am maybe blind or so... just got nearly the same problem as before. I not get the values of the selectfields. I got 0 - 8 instead of some strings. Here is the url: http://web159.login-142.hoststar.ch/memberd/de/prices/ Here is my code I use to get it: # read size of one …

Web Development php
Member Avatar for bnmng
0
280
Member Avatar for malatamil

In this each member has 3 type of project selection. if one member has selected "regular Project" then remaining types should be displayed in dropdown for each member. But here i tried with this code.. example i have 6 members, then 6 members can have 3 type of selections.. if …

Web Development html-css php
0
109
Member Avatar for OsaMasw

hello guys, good morning one of our servers recently upgraded to Ubuntu 14.04 so for this PHP upgraded to 5.5.9 all scripts on this server stopped working because they use a functions not supported by newer version of PHP, I need to downgrade PHP to 5.3 so I can make …

Web Development php ubuntu
Member Avatar for diafol
0
644
Member Avatar for toxicandy

I am working on an internal in and out board for our work place. Our current application is having issues plus it is being hosted on Windows Serer 2003 which is losing support come July (2015). We are starting on a new application since our old one is now 7 …

Web Development file-system php
Member Avatar for mattster
0
571
Member Avatar for boney

Hi, I want to output a simple result. I join 2 tables and SUM one column in one, i get the SUM results correct but cannot get the num_rows proper. My Code: $clientid = 24; $query = "SELECT items.itemid, SUM(prices.priceid) as PR FROM items JOIN prices ON items.itemid = prices.itemid …

Web Development mysql php sql
Member Avatar for cereal
0
160
Member Avatar for Helder_1

I'm coding a simple portal do maintain work history and I'm facing a problem. While php retrieve data from mysql I would like that he create a btn or a link to download a file in a directory (path on mysql). 1- script: http://pastebin.com/mBHCdChK 2- script to retrieve path and …

Web Development mysql php
0
90
Member Avatar for null_pointer

I have been told to do a novice-level project on webservices. I surfed for a while to reach something called Microsoft SOAP development kit. I think it will be really helpful if somebody helps me figure out the theme for my project. Is it OK for a beginner to work …

Web Development api xml
Member Avatar for donz365
0
340
Member Avatar for Violet_82

Hello guys, totally new to MVC and I've built a small simple application with the help of a book I'm reading. But, needless to say it, I run into some problems. Let me run through what I did and what the problem is (by the way, I'm not so sure …

Web Development asp.net storage visual-studio
Member Avatar for Violet_82
0
381
Member Avatar for shahiduop

hi i have a newslist table that shows all news titles being published.news are displayed using while loop. i want to add a check box on left side of each news title, i want when users check multiple checkboxes,news id associated with theses checkboxes shold be taken and the selted …

Web Development php
Member Avatar for pushpatiwari
0
2K
Member Avatar for prafulla23

hello experts, I want to show .jrxml file in html div as a preview of created report. I am using eclipse luna and I was created a report in jasper soft studio 6.0. and i need to show this jrxml file in html <div> </div> So please help me. thank …

Web Development html-css java-jsp xml
Member Avatar for prafulla23
0
303
Member Avatar for reminem

Hello everyone, I have the following script: <?php $con=mysqli_connect("localhost","name","name","database"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $resultaat = mysqli_query($con, "SELECT `question` FROM databasename WHERE `id`= 2"); while ($row = mysqli_fetch_assoc($resultaat)) { echo '<table>'; echo '<tr>'; echo '<td>'. '<input type="text" value= '.$row['question'] …

Web Development mysql php
Member Avatar for diafol
0
553
Member Avatar for jonlloydd

Could anyone help me with code for a simple PDF file uploader in PHP I want to upload to a file on a server. Ive tried to write one several times and I simply can't get it to work!

Web Development pdf php
Member Avatar for diafol
0
542
Member Avatar for ggeoff

Hi I have been trying to get a google map on one of my websites. In the past I had no trouble. But now having forgotten what I did I googled the topic and found an explanation that required adding javascript to the head section and a div with map-canvas …

Web Development api google google-api javascript
Member Avatar for ggeoff
0
2K
Member Avatar for Wycky

Hello, I got this code: <?php //mysql connection $dbconn = mysql_connect("localhost","root","password") or die(); mysql_select_db("imaccs_v1") or die(); $sqlquery = "SELECT * FROM clerks"; // query on table $sqlresult = mysql_query($sqlquery, $dbconn); $count = mysql_num_rows($sqlresult); // count query result ?> <table width="400" border="1" cellspacing="1" cellpadding="0"> <tr><td> <form method="post" action="delete5.php"> <table width="400" border="1" …

Web Development php
Member Avatar for reminem
0
155
Member Avatar for brandon66

Hell everyone i have datatables set up right now and i want to convert it over to server-side processing [Link to Script](http://www.datatables.net/development/server-side/php_mysql) right now i am using this code which seems to be very inefficient now that the database is getting larger. Would anyone want to help me convert this …

Web Development php
Member Avatar for Sijeveux
0
2K
Member Avatar for harishprakash

how to use marquee in perticular div without change alnigment?

Web Development php
Member Avatar for pixelsoul
0
127
Member Avatar for gabrielcastillo

So I am trying to remove line feed within an array but not cariage returns. Having trouble using array walk, the ltrim function is not working. I need to remove ONLY the line feed("\n") not the cariage return("\r") so using trim will not work. I tried setting the chr(10) and …

Web Development php
Member Avatar for gabrielcastillo
0
327
Member Avatar for AntonyRayan

Hi, In one window by clicking a button(button name select) a pop up window, in that pop up window , I have only lot of check boxes. My query is, I want to show what are the values I selected in the pop up window that should display in the …

Web Development php
Member Avatar for AntonyRayan
0
87
Member Avatar for anithasalavadi

Hi all, <a href= "filename.xls" target="_blank">Open Excel</a>; by using above line of code i can able to open the excel file as separate file. But i want to open that excel file with in the same asp.net web page not separately.

Web Development asp asp.net
Member Avatar for Makara
0
5K
Member Avatar for rezajan

Hello, I am Reza and I have just started programming with C and C++. I am so interested in Network programming. I would like to know more about sockets and the concepts of it in C and CPP. Thank you in advance.

Web Development javascript socket-programming
Member Avatar for Squiva
0
116
Member Avatar for sickly_man

This is probably a stupid question, but I am new to this stuff and need some help. I have a form with a text box and a submit button, and I want to pass the user-entered contents of the text box to a php variable ($size) when the user clicks …

Web Development php
Member Avatar for Squiva
0
17K
Member Avatar for AntonyRayan

Hi Once again! I don`t Know. In a page I have a contact form in that The fields are ike name, email, subject, message. All are mandatory. I wont store in database. After clicking submit query , it should go to admin mail how to do? tell me with example?

Web Development php
Member Avatar for Squiva
0
142
Member Avatar for lionburn50

I'm having a problem with my XML and XSL pages. My XSL sheet is not complete yet, but when I go to view my XML to see how it looks so far, I get an error saying, "Error loading stylesheet: Parsing an XSLT stylesheet failed." Does anyone know why this …

Web Development web-browser xml
Member Avatar for Squiva
0
2K
Member Avatar for F-3000

I'm wondering is there anything specific I should take into account when writing CMS logging (debug/alerts) into a plain text file? To specify more what I have in mind, think of logging into SQL database, and how stuff need to be escaped to be sure there won't be injection-attack thru …

Web Development cms php
Member Avatar for Joel100
0
273

The End.