52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for coder91

Hi, I have a stored procedure that I have to send one parameter to. I then have to use the same stored procedure to display results, I'm not sure how to do this. Basically the system should allow the user to select an item, push a button (which is when …

Web Development asp.net
Member Avatar for coder91
0
100
Member Avatar for AntonyRayan

how to pass id from one table to another table in php, can anyone tell me with example

Web Development php
Member Avatar for AntonyRayan
0
150
Member Avatar for PsychicTide

Dajia hao, daniwebians! Just a quick question, is it possible to focus on a textbox on an externally loaded website? My goal is to load an external website, focus on a textfield, auto fill it with the current date, then submit it to then run my newly created scraper tool …

Web Development asp.net html-css php
Member Avatar for PsychicTide
0
2K
Member Avatar for Tom_11

I have a table made up of time slots, when the user clicks maybe one or two and presses submit, i would like the date selected and the time slots chosen to be saved in to my sql. I am working on the query but a little stuck in regards …

Web Development php
Member Avatar for ryantroop
0
177
Member Avatar for Chris920

I wasn't sure where to put this. I put it In JS because JS is client side and that's what I'm technically looking for. I'm looking to create a Reddit type website....I want my Video and Image files hosted on a 3rd party sever. NOT on my hosting plan. What …

Web Development image javascript video
Member Avatar for pixelsoul
0
220
Member Avatar for Tom_11

I was hoping i could get some help in regards to a time slot calendar i am working on. I have created a calendar in php. I need a key for the calendar which shows what days are: Available to be book Partially booked Fully booked Closed All on a …

Web Development php
0
107
Member Avatar for Ventech_IT

Hi there i want to create a news item that posts to my database (this works fine) but i want to be able to upload an image in the same form and submit the file path to the news table where all the other content is placed. Here is my …

Web Development image php php-codeigniter
Member Avatar for Ventech_IT
0
242
Member Avatar for yssirhc

I have the following wcf service: namespace Scanner { [ServiceContract(Namespace="scan.rsna.org/WebServices/BarcodeScanner")] public interface IBarcodeScanner { [OperationContract] bool InsertScanEvent(BarcodeScanner.ScannedItem barcode); } } namespace Scanner { public class BarcodeScanner : IBarcodeScanner { string dbConnection = ConfigurationManager.ConnectionStrings["annualMeeting"].ConnectionString; [DataContract] public class ScannedItem { Guid _scanID = new Guid(); string _badge; DateTime _scanTime; string _computer = …

Web Development dns xml
Member Avatar for yssirhc
0
462
Member Avatar for Heanre

Our teacher tells us to add a crawl functionality that will get information from other databases online... is this legal, cause i think it's not

Web Development legal php
Member Avatar for Heanre
0
152
Member Avatar for dwlamb

I have an endless scroll application in PHP and jQuery. This my javascript: var base_url = window.location.origin; $(window).scroll(function() { if($(window).scrollTop() + $(window).height() > $(document).height() - 100) { var offset = $(".badge-item").length; console.log(offset); $.ajax({ url : base_url+'/index.php/display/jQuery_movies', type : "post", data : { offset_cnt : offset }, datatype : 'html', success …

Web Development javascript javascript-jquery
Member Avatar for dwlamb
0
204
Member Avatar for Tom_11

The error is on this line according to the browser console Uncaught TypeError: Cannot set property 'onclick' of nullcal.php:26 (anonymous function) When the a date is clicked other than in the january, april, novemeber the form doesnt opens. the code on like 26 is from the console browser is document.getElementById('trigger0').onclick …

Web Development php
Member Avatar for Traevel
0
403
Member Avatar for jean_5

I have the following code: //list is the result of the query of the database var list =[]; var _this = this, $div = _this.$div, opts = _this.settings, $table = $div.find(opts.tableSelector); var fieldsToShow = ["Right Identification", "Left Identification", "Total", "RIGHT IDENTIFICATION RELAPSE", "LEFT IDENTIFICATION RELAPSE", "Total", "IDENTIFICATION TOTAL IN "]; …

Web Development javascript javascript-jquery
Member Avatar for jean_5
0
328
Member Avatar for Stefce

Hello i im confuzed with this problem, i have converted the php code into the right format `MySQLi` and i get this wierd error `Notice: Array to string conversion in C:\xampp\htdocs\Training\core.php on line 25` So i dont know where is the problem in the `login.php` or `core.php` look at the …

Web Development php
Member Avatar for Stefce
0
223
Member Avatar for Ahmed_39

Hi i have crate an Partial view with name "_Menu" it's view items as menu and sub menu in my website _Menu Partial view Code: @model IEnumerable<MainCats> @using GoShope.Models.GoShopeDB; @{ IList<MainCats> mainList = Model.Where(id => id.IsCompany == true).ToList(); } <div class="panel-group category-products" id="accordian"> <div class="panel panel-default"> @foreach (var item in …

Web Development display software-architecture
Member Avatar for pritaeas
0
692
Member Avatar for Osagie_1

I've a json structure : { "Photos":{ "Photo":[ { "ID" : 111, "type" : "JPEG", "URL": "blabla" }, { "ID": 222, "type": "JPG", "URL": "blaaaaaaaaa" } ] } } Using php-jsonpath only (By stefan Goessner : http://goessner.net/articles/JsonPath), I want to insert a new data (array) into photo identified by 222 …

Web Development api data-structure json php
Member Avatar for Traevel
0
281
Member Avatar for AntonyRayan

How to focus cursor using jquery for text box, while moving to next field , if it is empty,

Web Development javascript
Member Avatar for Traevel
0
367
Member Avatar for mangel.murti

how we can display records 1-5 for 1 user. for 2nd user, we can display 2-6 for 3rd user, we can display 3-7 so on...

Web Development display php
Member Avatar for mangel.murti
0
188
Member Avatar for riwakawd

On my view I am trying to get it so if my input link[] is next to the upload button then that link post will be inserted into the database with image I use codeigniter for a mvc frame work. I can insert the links and images fine, but the …

Member Avatar for riwakawd
0
201
Member Avatar for SpottyBlue

When I was debugging the database page (Database.aspx), I encounter one problem. When I want to edit something by clicking the “Edit” button, some values were mismatched to other options instead to matching to the related option. ![help.png](/attachments/large/4/b0fcde48465b822d7f762bd21534c3cc.png "align-center") Actually, if I click the "Edit" button in the Item template …

Web Development asp.net open-source
0
127
Member Avatar for PulsarScript

Hi all ,how to create multiplication table,based on user input.User enters 1 value in one box,second value in second box and pressses the create table button for output? Regards

Web Development php
Member Avatar for pixelsoul
0
90
Member Avatar for samyakonline

ASP is a rigid language and it has tighter error checking tool than PHP has; its syntax is designed over VB. On the other side, PHP has wider range of in-built functions with better flexibility; its syntax is gained from C++. PHP is much friendlier than ASP. Which language has …

Web Development asp php
Member Avatar for JorgeM
0
133
Member Avatar for Tom_11

How would one create a hidden form on a web page and only open the form when the button is clicked?

Web Development php
Member Avatar for diafol
0
289
Member Avatar for Tom_11

Guys, Does anyone know how i can get the current day highlighted on the calender? ?php $monthNames = Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); ?> <?php if (!isset($_REQUEST["month"])) $_REQUEST["month"] = date("n"); if (!isset($_REQUEST["year"])) $_REQUEST["year"] = date("Y"); ?> <?php $cMonth = $_REQUEST["month"]; $cYear = $_REQUEST["year"]; …

Web Development php
Member Avatar for pixelsoul
0
181
Member Avatar for mf24k

looking easy way to input them in pc. i have hundres.is there a bar code machine thats hooks to pc?

Web Development php
Member Avatar for jhao1205
0
83
Member Avatar for superlucile

Hello ! I'm trying to build a link between an applet in java and php. My applet in Java sends data to php. And then php writes data in the database. I use json object my code in java : public static void main(String[] args) { // TODO Auto-generated method …

Web Development json mysql php
Member Avatar for diafol
0
339
Member Avatar for rhodoscoder

I've worked with alot of jquery galleries before but this one won't work.I'm using Twitter bootstrap and I wonder if it's JS bootstrap files are interfering with the JS file for the Unslider jquery gallery -> [Unslider](http://unslider.com/) that I'm using. ` <!-- Bootstrap Core CSS --> <link href="css/bootstrap.min.css" rel="stylesheet"> <!-- …

Member Avatar for rhodoscoder
0
270
Member Avatar for SimonIoa

i have formatted my pc i am trying to install Flash Builder again and i am getting an error. Installer User Inteface Mode not supported. The installer cannot run in this UI mode. To specify the interface mode, use the -i command line option followed by the UI mode identifier. …

Member Avatar for SimonIoa
0
163
Member Avatar for wawahida

i have a form that contain several disabled fields for date. what i want is the date fields should not return any values when i submitted. but, it returns 1970-01-01 values everytime submit the form. what should i do? please help me T____T

Web Development php
Member Avatar for Tpojka
0
143
Member Avatar for Ventech_IT

Hi guys i want to know how i would store uploads(path's) in the database here is my Controller, View what should go into the Model? Controller <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Upload extends CI_Controller { function __construct() { parent::__construct(); $this->load->helper(array('form', 'url')); } function index() …

Web Development image php
Member Avatar for diafol
0
232
Member Avatar for KhuramJan

I am using Visual Studio 2012 Ultimate , MySql Database , MySQL ODBC 5.1 Driver I have created a user DSN from Administrative tool in Control Panel (same on both my development PC and Server computer i-e Windows Server 2008) I have deployed web application from my PC to Server …

Member Avatar for KhuramJan
0
606
Member Avatar for Bensirpent07

So I am planning on being a full time web-developer. But at the moment I'm not sure really what kind of college options I have. I've looked but I haven't really found any kind of "web-developing degrees". I always thought I would go to college but uh... well I'm not …

Web Development
Member Avatar for pixelsoul
0
110
Member Avatar for coder91

Hi, trying to get the username of the user logged into a computer but it doesn't appear to be working. I was using `Label1.Text = User.Identity.Name;` to check if it did work but it wasn't displaying anything. The only reason I need the username is to send it through to …

Web Development asp asp.net
Member Avatar for JorgeM
0
166
Member Avatar for phfilly

Hi everyone, I'm wondering about a potential problem I might get. My problem is lets say I have 2 tables one called **speakers** and **clients**. In the client table the client has the speaker ID's of 1,5,8(SAVED in a STRING field) - *so I'm using explode() to get the values*. …

Web Development mysql php
Member Avatar for phfilly
0
217
Member Avatar for Siberian

Is it possible whether with JS or jQuery to take an image, make it fit a container proportionally if it's too big for the container, then export the results to a PNG image, saving the step of redoing the image from scratch in a smaller image size ?

Web Development image javascript
Member Avatar for Traevel
0
352
Member Avatar for santunu23

I am trying to collect data from amazon market place web service in Scratchpad i get all the values.I am downloading php client library from mws developer website and try to run the code for display those files into browser POST mws.amazonservices.com /Products/2011-10-01 AWSAccessKeyId=AKIAJP5PIHAAXLU6NLDQ&Action=ListMatchingProducts&MarketplaceId=ATVPDKIKX0DER&Query=shoes&SellerId=A2LZO1DGHI8M8V&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-01-18T06%3A24%3A58Z&Version=2011-10-01 and according to the post we …

Web Development php web-browser
0
168
Member Avatar for gcardonav

I cleaned up my code but now when I run it I am getting an error. I am not sure where it is coming from since it was working before I added the nested view and did not change the controller. Here is my [plunkr](http://plnkr.co/edit/vN06ZQYWW0cpO4izBtgT?p=info). Let me know if there …

Web Development angularjs javascript
Member Avatar for Troy III
0
282
Member Avatar for giao.can

I have a table like code html belows I want to store value of check box and corresponding text value into 2 array in PHP For example if i check box ID_1, ID_2 the values of these check box are stored in $array_box ( 74, 75) and values of corresponding …

Web Development android ios php
Member Avatar for Mashetty
0
5K
Member Avatar for riwakawd

When there should be a error it does not show. I can not seem to get the erorrs to work in the correct order How can I improve my file upload errors to work in correct order? public function upload() { $name = $_FILES['userfile']['name']; $tmp_name = $_FILES['userfile']['tmp_name']; $type = $_FILES['userfile']['type']; …

Web Development file-system php
Member Avatar for riwakawd
0
388
Member Avatar for blueguy777

Unable to execute the sql query, only dispaying blank page. <?php require('fpdf.php'); $today=date('d_m_Y'); $hostname = "localhost"; $database = "developer"; $username = "root"; $password = ""; $conn = mysql_connect($hostname, $username, $password) or die(mysql_error()); mysql_select_db($database, $conn); class PDF_result extends FPDF { function __construct ($orientation = 'P', $unit = 'pt', $format = 'Letter', …

Web Development pdf php sql
Member Avatar for pritaeas
0
201
Member Avatar for riwakawd

I would like to know if possible in my php codeigniter modelto be able to insert my file names where it matches up with the link insert post. The link post are in array i.e. <input type="text" name="link[]" /> Not sure whats best the name of the file inserts but …

Web Development php php-codeigniter
Member Avatar for mtho
0
6K
Member Avatar for riwakawd

On my readURL() function in my scrtipt. I would like to know what would be the best method in being able to auto get the ID from my img tag. Because I have mulitple img rows that get created with own id. What would you think so that the reader.onload …

Web Development javascript
Member Avatar for DaniWebUser_1
0
633
Member Avatar for Jack_11

I've been asigned to develop a website in php. I run windows, and I want to know what IDEs are good for this.

Web Development php
Member Avatar for Jack_11
0
98
Member Avatar for tNicknames

My localhost is running on self-certified HTTPS and I am using Stripe API. I am getting following errors: Warning: stream_socket_client() [function.stream-socket-client]: SSL: connection timeout in D:\xampp\htdocs\edplace_live\stripe\stripe\lib\Stripe\ApiRequestor.php on line 374 Warning: stream_socket_client() [function.stream-socket-client]: Failed to enable crypto in D:\xampp\htdocs\edplace_live\stripe\stripe\lib\Stripe\ApiRequestor.php on line 374 Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://api.stripe.com:443 (Unknown …

Web Development api php
Member Avatar for Jack_11
0
414
Member Avatar for robertlaar

Can someone help me in building Interactive map with the help of javascript

Web Development javascript
Member Avatar for robertlaar
0
66
Member Avatar for riwakawd

When I upload I can upload single files fine but, I cannot seem to upload if input is like **<input type="file" name="file[]">** I am not sure on my php upload function how to make it allow multiple files? Thanks in advance. public function upload() { $this->load->library('request'); $directory = FCPATH .'upload/'; …

Web Development file-system php
Member Avatar for riwakawd
0
254
Member Avatar for ken_6

I'm trying to do is send a temp password to the user email. It works fine but I just want to add images inside the message seems like it showing n/a image. My directory are correct, I even try using a URL image but still wont work. Please help here. …

Web Development asp image
Member Avatar for havok
0
200
Member Avatar for PinoyDev

Good day! I have a page let say page1.php and page2.php. In page1.php, I have build menus which names are taken from MySQL database like the code Ive made below: <ul> <?php do { ?> <li><a href="fullwidth.html"><?php echo $row_rec_tourismmenu['menuname']; ?></a></li> <?php } while ($row_rec_tourismmenu = mysql_fetch_assoc($rec_tourismmenu)); ?> </ul> I want …

Web Development php session
Member Avatar for PinoyDev
0
140
Member Avatar for Bile

Hi Daniweb,I'm trying to modify and upgarde My codes from Native mysql to mysqli. My trail seems to be somehow good as I got My hands with the Php Manual Documentation so forth. The Only point I got stuck is where I implimented the mysql's mysql_affeted_rows() and so changed it …

Web Development mysql oop php
Member Avatar for Bile
0
212
Member Avatar for Violet_82

Hello, I'm building an expenses application in asp.net and I'm attempting to insert some data in a SQL database in visul studio but I get the following error (screenshot here http://s13.postimg.org/4kjmn4nev/SQL_error.jpg): The INSERT statement conflicted with the FOREIGN KEY constraint "FK_expenses_ToexpenseCode". The conflict occurred in database "Applications", table "dbo.expenseCode", column …

Web Development asp.net sql
Member Avatar for djjeavons
0
3K
Member Avatar for azegurb

Hi all, i have web application and login form. i would like when i exit (logout) it automatically logs out from all devices (or browsers or PC). Can anyone help me?

Web Development php session
Member Avatar for broj1
0
264

The End.