52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for madmax9922

Hi, i have a " Deprecated: mysql_real_escape_string()" and a "Deprecated: mysql_query" error while running my webpage in function.php and users.php. I would like to know how to change this following code to be uptodate connect.php <?php $db = new mysqli('localhost','root','','madmax'); if ($db->connect_errno){ die('Sorry, we are having connection problems.'); } ?> …

Web Development mysql php
Member Avatar for madmax9922
0
560
Member Avatar for Aeonix

var _tmp = 0; for (var i = 0; sys.cores()[i]["sn"] != null; i++) { _tmp++; alert(_tmp); } alert ("Pretty sure, you have " + _tmp + " virtual cores."); This is the code that I'm working on. The loop itself is very simple. The output is: 1, 2, 3, 4. …

Web Development php
Member Avatar for Aeonix
0
192
Member Avatar for squeak24

Hey Everybody, I hope everyone is keeping well. I am trying to develop a search box on a website in JQuery/Ajax but I am running ino some issues. The problem I have is I have some very strict parameters that I can work to: I can not use PHP. I …

Web Development javascript javascript-jquery seo
Member Avatar for squeak24
0
211
Member Avatar for Tinnin

Hi All, I'm trying to implement an experian bank account checking facility on the systems at work. I'm trying to do this using php and Soap. This is my first time using Soap so I'm not entirely sure if I'm doing it correct. Here is my code: <?php $options = …

Web Development api php
Member Avatar for Nicolás
0
7K
Member Avatar for emilianjobs

Hello, I have a table with a filed Customers defined as int(10) I have the following query: SELECT * FROM 'table' where `Customers` = 'a' This query returns all entries which have 0 in this field, BUT a is not equal to 0 as we know? Also I can use …

Web Development mysql php sql
Member Avatar for diafol
0
207
Member Avatar for AntonyRayan

Hi good evening, In a page I show a list of students with checkboxes dynamically and one message box. When the user submit if no checkboxes (atleast one check box) selected, I want to show one alert meassage like "Please select atleast one student"; I did in javascript like this …

Web Development javascript
Member Avatar for diafol
0
123
Member Avatar for MrScruff

Hi! Is there anyway of creating a tool tip which will display an unlimited amount of text and stay displayed whilst the user hovers over an object? The alt text function doesn't seem to work in Firefox and disappears after a certain amount of time. And the title function doesn't …

Web Development display javascript
Member Avatar for John_79
0
321
Member Avatar for doctor_voyager

On several web pages I have made under different host the images usually don't show up. The paths are correct. Is it a problem with the server?

Web Development image javascript web-server
Member Avatar for John_79
0
134
Member Avatar for eman ibrahim

Am looking for case study or example of e commerce website developing by asp.net and what the strengths and weakness on it

Web Development asp asp.net
0
120
Member Avatar for anmol.raghuvanshi1

I am following this[ tutorial](http://carlofontanos.com/ajax-multi-file-upload-in-codeigniter/) but i am facing problem in uploading file i done similar as in tutorial.Below is my code Code: <?php echo form_open_multipart('upload/do_upload', array('class' => 'upload-image-form'));?> <div class="form-inline"> <div class="form-group"> <input type="file" name="uploadfile[]" id="js-upload-files" multiple = "multiple" accept = "image/*"> <br /> </div> <button type="submit" value="upload" class="btn …

Web Development javascript php php-codeigniter
0
149
Member Avatar for Sophia_1

Hi everyone, I wanted to display different data from the same table in 2 different tabs in php. When i select the Responsible person and click Notify in tabs-1, it will be saved and displayed in the improvement_plan table. But when i select Responsible person and click Notify in tabs-2, …

Web Development display php
Member Avatar for Sophia_1
0
2K
Member Avatar for bLuEmEzzy

Hey, I am trying to create a form where in I can input 3 or more values on it, but I do not know where to start I am planning to create a datagrid like in PHP, Guys can you help me? Thank you.

Web Development microsoft-office php
Member Avatar for bLuEmEzzy
0
235
Member Avatar for daisyy

protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter pw = response.getWriter(); InputStream inputStream = null; // input stream of the upload file // obtains the upload file part in this multipart request Part filePart = request.getPart("audio"); if (filePart != null) { // prints out some information …

Web Development file-system java java-jsp mysql
Member Avatar for jwenting
0
2K
Member Avatar for hell hansen

Hi guys i need some help. Im creating new invoice, and inside of invoice i've table. and in this table user can add new rows clicking add new row button. so in some table i have select field with drop down of prices, which the user must select the price. …

Web Development javascript
0
134
Member Avatar for fernandodonster
Member Avatar for Michael_44
0
8K
Member Avatar for new_2_java

Hello all, I have a J2EE application that displays a dropdown of items, in Arabic text. This data is stored in a table in underlying MySQL server. The DB character set is set to utf8 and I have in my JSP the carset encoding as utf8 as well. This works …

Web Development java java-jsp mysql
Member Avatar for new_2_java
0
1K
Member Avatar for anyashantu

How do I make my php contact form redirect the user to a thank you page after sending the email. ?php if (isset($_REQUEST['email'])) //if "email" is filled out, send email { //send email $email = $_REQUEST['email'] ; $subject = $_REQUEST['fname'] ; $message = $_REQUEST['message']; mail("info@website.com", "$subject", $message, "From:" . $email); …

Web Development php
Member Avatar for cereal
0
3K
Member Avatar for Joby_1

Now i can check the size of the image. But can't validate the image type(.jpg, gif etc..). Could you please check the following my code and give answer. <!--Form image validation--> <script type="text/javascript" src="js/jQuery-1.4.1-min.js"></script> <script> $(document).ready(function(){ $('#i_submit').click( function() { //check whether browser fully supports all File API { //get the …

Web Development api image javascript-jquery php
0
113
Member Avatar for learner001

i have a register and login page where the users can register and login. their details gets saved in the database. my requirement is that when the user will login to the account, they should be redirected to their profile page, where they can view all their profile details. Till …

Member Avatar for shashigowda
0
387
Member Avatar for anmol.raghuvanshi1

I am having registration form which is very long so i have divided into two parts at end of first part i have button continue.If user has filled all the fields and data in fields are correct he can click on continue button to fill remaining form.So after doing some …

Web Development php session
Member Avatar for cereal
0
2K
Member Avatar for Deimos161

Hey guys, I'm very new to this so please forgive me. I have a theme that I am trying to use to display some stats from my minecraft server (Yes I am one of those people :) ) The dashboard theme has a load of charts that are in a …

Web Development json php
Member Avatar for Deimos161
0
204
Member Avatar for mithesh

<?php printf("This is the first line. \n"); printf("This is the second line"); ?> This is the code but it isnt printing in new line.

Web Development php
Member Avatar for prabhjots226
0
5K
Member Avatar for Petranilla

hello there, i have a purchase requisition table in mysql like below: pr no qty items 1 10 pencil 1 5 ballpen 1 8 eraser I would like to display them in tabular form and eventually the users should be able to edit. But my program does not assign the …

Web Development mysql php sql
Member Avatar for diafol
0
474
Member Avatar for Azeez_1

please help on how to create Ajax countdown with PHP and save in database

Web Development
Member Avatar for diafol
0
84
Member Avatar for phoenix254

Hi, I have created real time script for my website. I wanted to ask u is it good or bad script? Here is my script: My php page:servr.php <?php set_time_limit(0); $con = mysqli_connect('localhost','root','') or die ("Could not connect to the Database"); mysqli_select_db($con,"msg") or die("Cannot find the database"); $last_id=null; while(1) { …

Web Development json php
Member Avatar for jkon
0
282
Member Avatar for theausum

<?php $ip = '59.32.28.65'; $url = "http://www.ipmango.com/api.php?ip=".$ip; $xml = simplexml_load_file($url); echo "IP address : {$xml->ipaddress} <br />"; echo "City : {$xml->city} <br />"; echo "Region : {$xml->region} <br />"; echo "Country Name : {$xml->countryname} <br />"; echo "Latitude : {$xml->latitude} <br />"; echo "Longitude : {$xml->longitude} <br />"; ?>

Web Development api php xml
Member Avatar for Pramod_7
0
3K
Member Avatar for ssreevidya.m

Hai , I used gridview for student list , and export it to pdf. But the 2nd column is not need to export. I make the gridview's 2'nd column visible false. [CODE] GrdStudent.Columns[2].Visible = false; [/CODE] But pdf file contain this column. Can you help me to solve it. Regards, …

Web Development asp.net pdf
Member Avatar for Rahuls45
0
2K
Member Avatar for malatamil

i have a URL like this example.com/index.php?param1=10,20,30,40,50¶m2=50,60,70,80,90,10¶m3=40,50,60,70,80 Using PHP,javascript,JSON i did this pentagon radarchart. If the values are changing then the pentegon image also will be change. and if the parameters limit is 3 only. if it is 1 parameter then the respective parameter values will display. By using the …

Web Development display json php
Member Avatar for malatamil
0
628
Member Avatar for UK-1991

Hello, I am using a bootstrap modal pop up box I just need to show the data from the data base in the modal box for that I hae used ajax to do that as in normal listing when ever users click on the records view button it should show …

Web Development css-bootstrap
Member Avatar for UK-1991
0
346
Member Avatar for Violet_82

HI guys, I'm just about to build a small, simple expenses application. Basically I'd like to keep track of how much money I'll make by selling some stuff, and therefore I have to input the income and have a total of it, the expenses (fee, refunds) and total it and …

Web Development asp.net
Member Avatar for Violet_82
0
194
Member Avatar for AntonyRayan

How to load the images in different directions (top to bottom)

Web Development
Member Avatar for rproffitt
0
73
Member Avatar for rpv_sen

Hi I am trying to create a update function. But it not updating in the database. Please help me to fix. **Test-2.php** $whereString = ''; $bind = NULL; if(isset($_POST['Submit'])) { if($_POST) { $SCYQ64UKID = $_GET['SCYQ64UKID']; $SCYQ64AVGP = $_POST['SCYQ64AVGP']*100; $searchFields = array('SCYQ64EMAL'=>$_POST['SCYQ64EMAL'],'SCYQ64EV01'=>$_POST['SCYQ64EV01'],'SCYQ64EV02'=>$_POST['SCYQ64EV02'],'SCYQ64EV03'=>$_POST['SCYQ64EV03'],'SCYQ64EV04'=>$_POST['SCYQ64EV04'],'SCYQ64EV05'=>$_POST['SCYQ64EV05'],'SCYQ64EV06'=>$_POST['SCYQ64EV06'],'SCUSER'=>$_POST['SCUSER'],'SCYQ64AVGP'=>$SCYQ64AVGP,'SCYQ64TZ'=>$_POST['SCYQ64TZ'],'SCJOBN'=>gethostname(),'SCPID'=>'SSWEB','SCUPMJ'=>$_POST['SCUPMJ'],'SCUPMT'=>$_POST['SCUPMT']); if($post = array_filter($_POST)) { if($fields = array_intersect_key($searchFields, $post)) { …

Web Development php
Member Avatar for rpv_sen
0
451
Member Avatar for SimonIoa

hello i want to show multiple values from the database in the same line using <span> like this: **value1** - **value2** - **value3** and so on. Here is the code public function Show_Advertisments($uid) { $query=mysqli_query($this->db,"SELECT a_title,a_desc,a_url,a_img, to_uid_fk FROM advertisments WHERE status='1' ORDER BY a_id DESC")or die(mysqli_error($this->db)); while($row=mysqli_fetch_array($query,MYSQLI_ASSOC)) { $data[]=$row; } …

Web Development
Member Avatar for SimonIoa
0
268
Member Avatar for lewashby

I just installed phpmyadmin with `sudo apt-get install phpmyadmin` but now I can't figure out how to get it started. The installation did place a phpmyadmin directory in /etc/ but I don't have anything in /var/www/html/ . I installed this several years ago and it placed a start icon in …

Web Development apache file-system php web-browser
Member Avatar for Ashley_9
0
292
Member Avatar for new_2_java

Hello everyone, I am populating a dropdown list in my webapp, from a MySQL database table. There are around 160,000 records in the table. When I start my webapp and when populating the content of the drop-down, it takes incredible amount of time, and eventually the browser crashes. I am …

Web Development java-jsp
Member Avatar for jwenting
0
700
Member Avatar for Caled

Hi, Im trying to display all the rows from a table (im running on Postgres and NetBeans 6.5). I only get one row.. my code: the actor class [code=Java] package appsClass; import java.sql.*; /* * To change this template, choose Tools | Templates * and open the template in the …

Web Development display java-jsp java-netbeans
Member Avatar for jwenting
0
17K
Member Avatar for shashigowda

Hi Good Morning every one.. This is my Html Code. <div> <img src="http://imgs.zinio.com/magimages/500299032/2012/416238969_170.jpg" alt="Nov-12" title="Food Network Magazine" class="cover"> </div> <select id="myselect"> <option value="B">Business Card</option> <option value="C">Corporate Card</option> <option value="D">Type #</option> </select> consoder i have three different images ,if i choose Business Card option it will show default image,if i choose …

Web Development image javascript php
Member Avatar for shashigowda
0
297
Member Avatar for anupamverma

Reason why asp .net web app is capturing wrong logged in user name in Audit trail?

Web Development asp asp.net
Member Avatar for gusano79
0
109
Member Avatar for phoenix254

Why my $last_id variable is null always ? i am using this scirpt for ajax..but i tried to excute without my ajax page,it works fine and the output give me `{"data_from_file":"ghjghj","timestamp":1441695735,"msg_id":"1190","reciver_id":"12","sender_id":"10"}` when i want to check my $last_id variable that was null, <?php set_time_limit(0); $con = mysqli_connect('localhost','root','') or die ("Could …

Web Development json php
Member Avatar for phoenix254
0
277
Member Avatar for d1stbee

hello, I am trying to make moodle communicate with an external system, I am running moodle 2.9, I know there are enrolment and authentication plugins from external database, but I would like to use the flat file upload for users Maybe the external connection/bridge failed for some reason), what I …

Web Development file-system php
Member Avatar for diafol
0
450
Member Avatar for dawbin

I cant find any decent examples of implementing the WinJS.UI.DatePicker control. Specifically I am not able to retrieve the "current" attribute from the "change" event. In my example below "eventInfo.current" is undefined? <h2>Date Picker Control</h2> <label for="datePickerDiv"> Enter A Date: </label> <div id="date" data-win-control="WinJS.UI.DatePicker"></div> <div id="datePickerOutput"></div> //datePicker Control var date …

Web Development javascript
Member Avatar for dawbin
0
511
Member Avatar for solomon_13000

I can't seem to make my menu work. **test.htm** <html> <head><head> <link rel="stylesheet" href="slicknav.css" /> <script src="jquery-1.11.1.min.js"></script> <script src="jquery.slicknav.js"></script> <script src="initialize.js"></script> <title></title> <body> <ul id="menu2"> <li>Parent 1 <ul> <li><a href="#">item 3</a></li> <li>Parent 3 <ul> <li><a href="#">item 8</a></li> <li><a href="#">item 9</a></li> <li><a href="#">item 10</a></li> </ul> </li> <li><a href="#">item 4</a></li> </ul> </li> …

Web Development javascript
Member Avatar for KoniKodes
0
2K
Member Avatar for farahinsamsudin

hi, I want to ask about how to declare dropdownlist in vb.net. actually I'm a newbie to this vb.net language. I'm try to insert selected item from dropdownlist into database. but the data is not inserted in the table. and I've try to change the code at dropdownlist area. but …

Web Development asp.net sql
0
161
Member Avatar for jeffersonalomia

I want to create a c++ compiler on my website using php. How do I do that? Pls help. thank you

Web Development php
Member Avatar for diafol
0
1K
Member Avatar for frank-mitchell

I have a problem displaying data on a ShieldUI JavaScript Chart. The values I want to show are entered by the user in some text fields. I made sure that the function is actually being called. Here is my code: var Participants = new Array(); Participants [0]=document.getElementById("ParticipantA").value; Participants [1]=document.getElementById("ParticipantB").value; Participants …

Web Development display javascript
Member Avatar for baker-thomas
0
208
Member Avatar for ekseks

Hi Guys, I am currently making a site again for a follow-up but now it needs date! I am currently testing it on a simple html, I found this simple code on the internet but as you can see for my title I need to like sort of "autoformat while …

Web Development javascript
Member Avatar for JonyGreen
0
3K
Member Avatar for SimonIoa

I have done a script that displays only an image of a the video when the user uploads one. The thing is that i want the video to start when the users clicks on the image but now when the user clicks the video appears with no autoplay. here is …

Web Development javascript video
Member Avatar for SimonIoa
0
255
Member Avatar for AntonyRayan

In a page, I have a table with user entering field. There are 4 fields, first three are user entering fields and the fourth field is auto calculating of the first three fields,if the user leaves a field the total field showing NaN. How to solve this problem?

Web Development javascript
Member Avatar for diafol
0
165
Member Avatar for FarrisFahad

Hello all, I created this image slider and I need some tweeking with the code to make it work perfectly. I can't seem to know what is the problem ... Here is the code: jQuery: $(document).ready(function(e) { images = ['picture-1.jpg', 'picture-2.jpg', 'picture-3.jpg', 'picture-4.jpg']; index = 0; function rotate_image(){ $('#Images').css('background-image', 'url(images/' …

Web Development image javascript
Member Avatar for diafol
0
307
Member Avatar for rjony321

Dear, I need help, how to import my Excel file into Mysql Database. I can successfully upload excel file but its not correctly formated uploaded or imported. please check this image, ![3b414cc2b0556bbd8691e2ecf29ce42f](/attachments/large/3/3b414cc2b0556bbd8691e2ecf29ce42f.PNG "3b414cc2b0556bbd8691e2ecf29ce42f") My HTML Form looks like, <form enctype="multipart/form-data" method="post" role="form"> <div class="form-group"> <label for="exampleInputFile">File Upload</label> <input type="file" name="file" …

Web Development microsoft-office mysql php
Member Avatar for daksh singh
0
7K

The End.