52,566 Archived Topics
Remove Filter ![]() | |
Hi I am trying to display count of a row using function with get values. Please help me to fix the issue **class** class Users { private $conn; private $db_name= "DATABASE"; public function __construct($db) { $this->conn = $db; } /*Join Two Tables with where condition and order by*/ public function … Web Development php | |
hi i have just started learning nodejs. i wrote this simple code var http = require("http"); var fs=require('fs'); var wbsocket = ('ws'); http.createServer(function(req, res) { res.write('2working'); }).listen(8889); console.log('listing to port 8080'); and run in cmd node filename.js in cmd doesnt give me any error and when i open webbrowser its … Web Development client-server javascript | |
Ok so I have the following code for a table with CSS rules designed to "collapse the table horizontally" on smaller screens... <table> <thead class="thead"> <tr> <th>a</th> <th>b</th> <th>c</th> <th>d</th> <th>e</th> <th>f</th> <th>g</th> </tr> </thead> <tbody> <tr> <td data-label="a">1</td> <td data-label="b">2</td> <td data-label="c">3</td> <td data-label="d">4</td> <td data-label="e">5</td> <td data-label="f">6</td> <td … Web Development file-system html-css php | |
The code below ensures that my entry is only numeric with 2 decimal. <input type="text" maxlength="10" name="numPrice" value="1.00"> $("input[name='numPrice']").keyup(function(){ if(!(/^\d+(\.{0,1}\d{0,2})?$/.test(this.value)) ){ this.value = this.value.substring(0, this.value.length - 1); } return this; }); However values such as 1&.0 is not rejected by the code above. Did I miss something? Web Development javascript javascript-jquery | |
Hi, I am newbie.I have seen projects where there are menus or links below it which are accessible as per the profile set for the logged in users.If there are A,B,C,D menus in project then some group of user will have only A and B Menu when logged in..while other … Web Development microsoft-access | |
$headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: testing <test@gmail.com>' . "\r\n"; $subject = "testing"; $content = " //html content question How to use foreach loop inside this ? "; $sent=mail("test@gmail.com",$subject,$content,$headers); Web Development php | |
Hi, thanks for viewing this thread. How to call MVC controller action method from ASP.NET webform and pass few parameter to the MVC? I have found this solution: http://www.codeproject.com/Articles/37539/Redirect-and-POST-in-ASP-NET and would like to know whether is there any other ways to do it. Just like to explore other solutions. Web Development asp asp.net software-architecture | |
I am trying to add a functionality of uploading image while adding new data but I am not able to achieve it. I will provide my code to you. Could you please help me to achieve it? Following is my code, I have three files namely index.php, script.js, func_events.php index.php … Web Development file-system image php | |
Hi, In a page, By selecting values I display a table using javascript ajax. The table looks like this: S.no name S1 S2 S3 S4 S5 Total 1 A 80 90 78 76 100 424 2 B 50 50 50 50 100 350 ;; . . . it goes like … Web Development ![]() | |
Hello, I'm seeking an onmouseover event to detect when the mouse hovers the top of the webpage. I'm only able to find onmouseover events for the whole page. How to restrict to just the very top of the page? Need only support modern browsers, simplest method possible. Thx! (also asked … Web Development javascript | |
Hello, I am using simple web application, But I want to upgrade the PHP version 5.25 to version 5.3 which is mostly recomended thank you Web Development php | |
am stuck on some lines even after reading several tutorials and answers. // set up a row for each record echo "<tr>"; echo "<td><a href='vieworder.php?ID='>" . $row->ID . "</a></td>"; echo "<td>" . $row->Subject . "</td>"; echo "<td>" . $row->Level . "</td>"; echo "<td>" . $row->Deadline . "</td>"; echo "</tr>"; the … Web Development display | |
Hi I'm trying to get reviewerid, firstname and last name through a drop down selection box in my html form. The code below is line 26-38 from the attachment. Currentl, it echoes to the browser much of what you see here, rather than pulling the data and displaying it in … Web Development php ![]() | |
All, I'm trying to call in my first dyanmic JavaScript function OpenDynamicPic the BreedVideoOpen(videopath) function so that the dynakic image appears on the left and a video appear on the right - however I seem to be getting the BreedVideoOpen functions output keeps appearing in the top left of my … Web Development apple javascript video | |
Hi, i have form in my jsp , which when submitted ,calls javascript which will inturn submit the form , this is working fine in IE. but when i submit from chrome , i get below error. -version:2.5]] Servlet failed with IOException weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request: '/integration/r5/wfsworklist/WFTaskUpdate' … Web Development first-post java-jsp oracle | |
Hi Everyone, I need some advice...i am building a website for a client and would like to integrate a feature where when he creates a new blog post on the site a link to that post is sent to all his social media platform how would i go about doing … Web Development php php-codeigniter social-media ![]() | |
How to search a string in table i.e. searchstring = "Gandhi Chowk" actual code: if(isset($_POST['companyId'])){ $companyId = $_POST['companyId']; } if(isset($_POST['RouteName'])){ $routeName = '%'.$_POST['routeName'].'%'; } if(isset($_POST['cityName'])){ $cityName = $_POST['cityName']; } // We Will prepare SQL Query $STM = $dbh->prepare("SELECT routeName FROM route WHERE routeName LIKE :route"); // bind paramenters, Named paramenters … | |
Hello All i'm new to jsp developing and i'm working on a site contain news page and allows user comments . i already do it but having 2 problems first that i have to refresh after submit comment to show comment second that every time i refresh the comment is … Web Development first-post java-jsp | |
*) when we click addmore and add content for the below code 2 textboxes will appear extra?? how to avoid that??please help <?php include_once 'config.php'; if (isset($_POST['submit'])) { $text1 = $_POST['boxes']; $text2 = $_POST['boxes1']; foreach($text1 as $a => $b){ if (!isset($text1[$a])) { $text1[$a] = null; } echo "<input type='text' name='boxes12' … Web Development javascript-jquery php ![]() | |
Dear all, I have a very strange problem I cant seem to make sense of. Here is the story... I created a product page which when visited performs an ajax request to a json file to obtain product data, I then have a js script while dynamically appends html to … Web Development json ![]() | |
I need to know if its possible to show a window.open pop-up while navigating away from the current page; currently based on event.returnvalue for any change in data we IE shows a confirm popup "Are you sure you want to navigate away?". On clicking 'OK' to the above question, i … Web Development javascript | |
I want to create a page that contains all searches from my Database. And want to create link for individual searches like- index.php?db=my_db&token=f019813a84dedee74a047b66f489d508 please help me.... Web Development php ![]() | |
Hi all, I am trying to develop client server web service using soap wsdl but my code giving proper out put where input given is correct.If any body can fix this? My code attached herewith...and I got the code from the link https://tommorrisblog.wordpress.com/2015/02/07/soap-wsdl-examples-with-php-and-python-scripting/ client.php <?php require_once "lib/nusoap.php"; //$client = new … Web Development client-server php raspberry-pi wordpress | |
Hi, I just prepared a basic html code for a login page and another webpage linked to the login page.I need to connnect it with a mysql database. But I am unable to do so. Whathave I done is made a html code with a javascript function which is further … Web Development html-css | |
Ok, i need your expertise on this. Would you still consider a procedural type of a php project that uses the obsolete mysql connect, as long as it works great and the ui is awesome? *someone used it.so i'm wondering Web Development php ![]() | |
Hey guys can you give some ideas for a web-based thesis? I really do need it at most.. Web Development | |
Hello, I am trying to style google map: like: http://www.akronyms.net/demo/arvin-html/v_1.5/ How? Here is a references: https://developers.google.com/maps/documentation/javascript/styling What I do not understand is to create a grey map I should include the following array variable: var styleArray = [ { featureType: "all", stylers: [ { saturation: -80 } ] },{ featureType: … | |
Hi, I'm a web developer for a small company, I had programmed using ASP about six years ago, thus my skills are very rusty at the moment...recently, my boss had asked me to export the database information from the ASP pages to an Microsoft Excel file, allowing the users to … Web Development asp microsoft-office | |
![]() | I am trying to populate dropdown with database what i am actually trying to do i have 3 drop downs country ,state and city and i want if user select any country crossponding states are shown in dropdown and crossponding cities releated to state are shown in city dropdown.I don't … Web Development html-css php php-codeigniter ![]() |
Hello all, I have a problem with geting the div content which was populated from a php/mysql script. please i need help. in the modal. the only echo i get is the last variable passed, regardless of the which ever dif i click. <?php require_once 'connect.php'; if(isset($_GET['userID'])){ require_once 'dbconfig.php'; $query … Web Development css-bootstrap javascript-jquery php | |
Hi please go through this issue and suggest me http://stackoverflow.com/questions/32294820/where-to-locate-facebook-sdk-v4-vendor-directory-in-codeigniter-3-0 Web Development file-system php social-media | |
Hello i am trying to user Autocomplete jqueryUI but i having trouble showing data from my database. I pretty sure that the problem lies there. Here is the code <?php define('DB_SERVER', 'localhost'); define('DB_USERNAME', 'root'); define('DB_PASSWORD', ''); define('DB_DATABASE', 'project'); $db = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD,DB_DATABASE) or die(mysqli_connect_error()); mysqli_query ($db,"set character_set_results='utf8'"); // if … Web Development javascript-jquery json | |
Ajax form submission not happening. **view:** <form method="post" name="addwishlists" id="addwishlists" enctype="multipart/form-data" > <input type="hidden" name="deal_id" value="<?php echo $deal_id; ?>" > <input type="hidden" name="cust_id" value="<?php echo $cust_id; ?>"> <input type="submit" value="Add Wishlist" id="addwishlist" class="btn btn-primary" /> </form> **My code is:** <script> //no need to specify the language $(document).ready(function(){ $("#addwishlist").click(function(e){ // passing … Web Development php | |
Please help me.... I want to upload up to 5 photos and save in database. I want by selecting photo it will upload automatically and then the selected photo will appear in the page. It will occure with one by one photo, up to 5 photos and the photos can … Web Development file-system javascript-jquery php session | |
I have web based inventory system written in PHP and going to attach barcode reader to the web interface. Any idea how to use webbased interface to extracting information from barcode data? Does anybody have expirience with barcode and webforms ? Thanks. Web Development php | |
my code cannot send all image data. it sends odd or even no of data.please help <?php session_start(); include("dbcon.php"); if (isset($_POST['submit'])) { $j = 0; //Variable for indexing uploaded image $a=0; $target_path = "uploads/"; //Declaring Path for uploaded images if (count($_FILES['file']['name'])<6) { $k=count($_FILES['file']['name']); } else { $k=6; } for ($i … Web Development file-system php | |
i have an array of usernames and if a specific name is entered then code should say i know you concatenated with input name...this part is working fine...the problem is in `if(!$knowyou)` this line of code is giving the error of **undefined variable** i'm not getting it i tried to … Web Development php | |
String contentType = request.getContentType(); if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0)) { DataInputStream in = new DataInputStream(request.getInputStream()); int formDataLength = request.getContentLength(); byte dataBytes[] = new byte[formDataLength]; int byteRead = 0; int totalBytesRead = 0; while (totalBytesRead < formDataLength) { byteRead = in.read(dataBytes, totalBytesRead, formDataLength); totalBytesRead += byteRead; } String … Web Development file-system java java-jsp | |
<body> <?php if(trim($_GET["submit"])){ if($_GET["uname"]){ echo "your name is".$_GET['uname']; } else { echo"please enter your name"; } } ?> <form> <label for="uname">Name</label> <input type="text" name="uname" /> <input type="submit" name="submit" value="Submit" /> </form> </body> hello, i'm new to php watching some tuts and trying to learn...my proble is when i load this … Web Development php | |
Hello i did a research about a import contacts script. The best script i find this is https://www.design19.org/blog/import-google-contacts-with-php-or-javascript-using-google-contacts-api-and-oauth-2-0/ On the last comment as Simon you ll see where i stuck with. Although i think its the best import gmail contacts script Web Development api google-api php | |
Hello, I have a file (01.php) <?php abstract class Sender { const E_NEW_APPOINTMENT = 1; /** * Send instant confirmation/notification emails. * * @param int $type (E_NEW_APPOINTMENT) * @param CustomerAppointment $ca */ public static function sendEmails( $type, CustomerAppointment $ca ) { list ( $codes, $staff, $appointment, $customer ) = self::_prepareData( … Web Development php | |
What is the use of tiny mce javascript library ? I m working on jsp project were it uses tinymce.js . i actullay dont know what it does . Web Development javascript | |
Hi guys, currently I have 3 groups of user which is A, B and C. A will handle tasks for first week, B will handle tasks for second week, C will handle tasks for third week, C will handle tasks for 4th week, A will handle tasks for 5th week, … | |
![]() | I have been struggling from last few days in this problem and also my css knowledge is some what got expired! I want full page bootstrap carousel slider and i want some images over this slider[4 * 4] as shown this my attempt if any one can help ?? **JS … Web Development css-bootstrap javascript-jquery php |
Appologies for posting this help thread here, but I think, DANIWEB communitty can help me out. We have developed an awesome website builder, at present we want some help to customize the back end with WHMCS [web hosting control panel software]. The requirement]: On registration page the user can select … Web Development web-server | |
I'm at my wits end, perhaps after working non stop for 7 hrs. I'm trying to develop a simple search engine using Php and Mysql. I have borrowed my idea of doing this from a wonderful [youtube tutorial](https://www.youtube.com/watch?v=OPmBJhhuwSM) by nick frosty. Unlike Nick, i'm not doing this the procedural way … | |
I am doing a project on greeting card designing interface(html). I have written code to make text draggable and resizeable but it it not resizing. please help html: <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script src="https://cdn.jsdelivr.net/canvas2image/0.1/base64.js"></script> <script src="https://cdn.jsdelivr.net/canvas2image/0.1/canvas2image.js"></script> <script src="https://github.com/niklasvh/html2canvas/releases/download/0.4.1/html2canvas.js"></script> <link href="https://code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css" rel="stylesheet"/> <link href="style.css" rel="stylesheet" /> <script src="https://code.jquery.com/ui/1.11.3/jquery-ui.min.js"></script> <head> <body> <div … | |
Hi all, I'm quite a new developer, and I've spent a long time trying to figure out what is causing this error: "SQLSTATE[HY093]: Invalid parameter number: parameter was not defined" As far as I can tell, all my parameters are defined? My code is below: $mySQL_query = "INSERT INTO vd_users … | |
Hello all, There is my table in database. want to delete multiple rows from MYSQL database. I have created this selectcon.php file to select various links and delete them using checkboxes. but it doesn't here is my code <!DOCTYPE html> <?php include("emty.php"); ?> <center> <?php include("dbcon.php"); $result = mysql_query("SELECT * … |
The End.