52,566 Archived Topics
Remove Filter ![]() | |
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.'); } ?> … | |
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 | |
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 | |
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 = … | |
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 … ![]() | |
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 ![]() | |
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 | |
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 | |
Am looking for case study or example of e commerce website developing by asp.net and what the strengths and weakness on it | |
![]() | 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 |
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, … | |
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 | |
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 | |
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 | |
How we open a ms word document file with php? Web Development php | |
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 … | |
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 | |
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 | |
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 … Web Development css-bootstrap display html-css mysql php | |
![]() | 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 … |
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 … | |
<?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 | |
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 … ![]() | |
please help on how to create Ajax countdown with PHP and save in database Web Development ![]() | |
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) { … | |
<?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 />"; ?> | |
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, … | |
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 … | |
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 | |
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 | |
How to load the images in different directions (top to bottom) Web Development | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
Reason why asp .net web app is capturing wrong logged in user name in Audit trail? | |
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 … | |
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 ![]() | |
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 | |
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 | |
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 … | |
I want to create a c++ compiler on my website using php. How do I do that? Pls help. thank you Web Development php ![]() | |
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 | |
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 | |
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 | |
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 ![]() | |
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 ![]() | |
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,  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 |
The End.