199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Owais_1

i need help in the following code i am trying to create dynamic radio buttons from mysql db and want to insert into another table its not echoing data and not even inserting i am just beginner please help me out thanks in advance <?php $dbhost = 'localhost'; $dbuser = …

Programming mysql php
Member Avatar for broj1
0
2K
Member Avatar for davy_yg

Hello, Sending messages to this contact address giving an error message. Can anyone interpret why the error message appearing? ----- Forwarded Message ----- This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is …

Member Avatar for cereal
0
207
Member Avatar for bharathi_2

i did one quiz application using php..in that i display 3 questions from database depending on the category the user select...i display one question per page..when user click on next button i display the next question...and i put timer for every question..when we click on next button every time..i display …

Member Avatar for diafol
0
188
Member Avatar for k_manimuthu

SAMPLE TABLE 1 =================================== product Division sales % =================================== product1 divsion1 99 product2 divsion1 51 product3 divsion1 50 product4 divsion2 98 product5 divsion2 41 product6 divsion2 40 product7 divsion3 97 product8 divsion3 31 product9 divsion3 30 =================================== Expected output 1 =================================== product2 divsion1 51 product3 divsion1 50 product5 divsion2 41 …

Member Avatar for diafol
0
556
Member Avatar for Saad_8

HI, I have recently upgraded my mysql database to version 5.1.72 community log. I am having an issue that all my select queries are showing the columns as NULL if there is no entry added for a specific column. For exmaple I have a table table_employee and the employee name …

Member Avatar for diafol
0
384
Member Avatar for Eugene_8

hi guys im new to c++ can i have some assist ? The manager of a football stadium wants you to write a program that calculates the total ticket sales after each game. There are four types of tickets box, sideline, premium, and general admission. After each game, data is …

Member Avatar for rproffitt
0
617
Member Avatar for massivefermion
Member Avatar for pty
0
515
Member Avatar for Violet_82

HI guys, I wonder if you can help me at all. I'm going to be involved in a "data visualization" project, meaning that I have to find a good way to visualize some data. What do you mean I hear you say? Well, we have some data and we have …

Member Avatar for pty
0
453
Member Avatar for codemonkey88

I have built a website for a client, which looks fine on my machine and in an emulator, but alas won't load for the client. They said it is fine on windows, but not on a mac, where they seam to be using chrome. Looking at the screenshots, it appears …

Member Avatar for codemonkey88
0
200
Member Avatar for Sergio_5
Member Avatar for davy_yg

Hello, I am trying to open pdf link that I place through tinymce. I add the link button through toolbar add or plugin in tinymce: https://www.tinymce.com/docs/plugins/link/ http://www.gsa-constructionspecialist.com/articles/article/detail/visi-dan-misi-training-names-gsa I wonder why I cannot open the pdf link that I place without having to enter the cpanel password? I already set the …

Member Avatar for diafol
0
282
Member Avatar for Jacob_10

Hi I'm new to php,i need a code for issue and edit in library management system can someone please help

Member Avatar for JamesCherrill
0
125
Member Avatar for phphp

Sir I have following codes on login.php <?php error_reporting(E_ALL); ini_set('display_errors', 1); require_once("../includes/connectsql.php"); require_once("../includes/functions.php"); $error = false; $cerror=""; $cur_id=0; $cur_user=""; $cur_email=""; $mypass=""; if(isset($_POST['login'])){ $muser=clean($_POST['username']); $mpass=clean($_POST['password']); $mypass=SHA1($mpass); if (!preg_match("/^[a-zA-Z0-9]+$/",$mpass)) { $error = true; $cerror="Password must contain only alphabets and space"; } if(!filter_var($muser,FILTER_VALIDATE_EMAIL)) { $error = true; $cerror = "Please Enter Valid Email …

Member Avatar for diafol
0
342
Member Avatar for davy_yg

How to change the text area size? I already try changing the col width but the size still does not adjust the real width. <div class="widget-box"> <div class="widget-title"><h5>Email Templates</h5></div> <div class="widget-content"> <form action="submitcontent" method="post"> <table border="0" style="width: 100%;"> <tr> <td>Title:</td> <td><input type="text" name="email_title"></td> </tr> <tr> <td>Body:</td> <td><textarea name="email_body" col="40" width="200">

Member Avatar for diafol
0
282
Member Avatar for shany0786

..... for (i = start_from; i < finish_by; i++) { var todayObj = new Date(); var current_hour = todayObj.getHours(); console.log(current_hour); var dateObj = new Date(date); if((dateObj.toDateString() == todayObj.toDateString()) && i<=current_hour){ /*no print*/ }else{ var time_in_12 = contvert_in_12_hours_time(i,(i+1)) content += '<div class="col-md-10 col-md-offset-1 avail_time">\n\ <input title="Book time slote" type="button" class="set_appoint_time unselected_time" …

0
170
Member Avatar for Nazneen_1

Hi, i am using visual studio 2015 and trying to export data which i am importing through excel by the user selected Excel file. Now the importing part has been successfully completed i am using OLEDB Connection but Stuck in exporting the same data to a new Excel file. tried …

Member Avatar for Reverend Jim
0
372
Member Avatar for Belén_2

Hi, I am creating a program that when you print an author, you must show all the information of all the books that the author has written. Add a new attribute in the Author class that will be "BooksWriting: List (Book)". I have expanded the program so that it also …

Member Avatar for JamesCherrill
0
292
Member Avatar for SaaDwTk

Well this script is working partially, when the script submit the login a MsgBox("The login is wrong!") appeared, but when the page load a MsgBox("The login is ok!") appears. Why the "The login is wrong!" is appearing? Can someone fix for me or tell me another way to do that? …

Member Avatar for Janzs
0
2K
Member Avatar for divinity02

hi everybody I am currently creating a simulation of a pizza ordering system in object oriented program. I have some question. the instruction and guideline is long but I will try and cut it down a lot. the instruction is to create a program that simulate a pizza restaurant using …

Programming gui java java-swing
Member Avatar for divinity02
0
2K
Member Avatar for Lloyd_4

Hi Everyone - I keep getting the following error messages in my log file [19-Jan-2017 22:16:46 UTC] PHP Notice: Use of undefined constant CURLOPT_httpsHEADER - assumed 'CURLOPT_httpsHEADER' on line 22 [19-Jan-2017 22:16:46 UTC] PHP Warning: curl_setopt() expects parameter 2 to be long, string given on line 22 This is the …

Member Avatar for Dani
0
463
Member Avatar for sweety

This is a program..to implement stack operations..it is working fine..but a warning message is being displayed..as " Functions containing for are not expanded inline". I would be glad if anyone can tell me the reason for this. Thanks for all the support. #include<iostream.h> #include<conio.h> #include<stdlib.h> #define max 5 [CODE]class stack …

Member Avatar for Tiger_3
0
15K
Member Avatar for davy_yg

Fatal error: Call to a member function get_where() on a non-object in C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\masterlinkci2\application\site\models\gallery_model.php on line 10 I try this : Line 10: $query = $this->db->get_where('galleries_pictures',array('pic_id'=> $pic_unique_id)); class Gallery_model extends CI_Model { public function get_picture($pic_unique_id) { $query = $this->db->get_where('galleries_pictures',array('pic_id'=> $pic_unique_id)); return $query->result(); } } IN Controller: public function index() …

Member Avatar for davy_yg
0
2K
Member Avatar for 고시퍼

#include <stdio.h> int main(void) int movieChoice; int seatNum; int seatPlan[5][10] = { 0 }; int rows, cols; char space; void seatDisplay(int a[][10]); void seatNew(int n[][10]); void seatDisplay(int a[][10]) { //this function shows the seat plan for (int i = 0; i<5; i++) { for (int j = 0; j<10; j++) …

Programming c c++
Member Avatar for David W
0
552
Member Avatar for glao

I have this tree format. > myapp-> > setup.py > tests -> > test_myapp.py > myapp -> > __init__.py > myapp.py And from test_myapp.py, I am calling: `from myapp import myapp` and when I run` python setup.py test` I am getting `No module named 'myapp'`

Member Avatar for glao
0
299
Member Avatar for Justin Kent

hello i have a code in vb.net and my logic is if i will input 13973.88 the nearest number is 10000 but the output was 15833 can you please help me solving this code please? Dim data(,) = { {0.0, 0, 1}, {0.0, 0.05, 4167}, {41.67, 0.1, 5000}, {208.33, 0.15, …

Member Avatar for tinstaafl
0
524
Member Avatar for irbaaz

cout << "What is your name?" << "\n" << endl; cin >> name; cout << "Have you got a full drivers license?" "\n" << endl; cin >> drivinglicense; cout << "what is your address?" << "\n" << endl; cin >> address; cout << "what is your telephone number?"<< "\n" << …

Programming c++
Member Avatar for rubberman
0
281
Member Avatar for UI

Fellow Php Developers, Googled but no luck to get Php 7 sample snippets for my learning purpose. Can you be kind enough to give me code snippets in Php 7 so I can learn Php 7 faster while gaining work experience building scripts ? I have tailored (but not built) …

Member Avatar for rproffitt
0
978
Member Avatar for kindofsudden

I have an existing table in an Access DB that I want my user to be able to copy by pressing a button. When the user presses the button, they should be prompted for what is to be the name of the table. The program should then copy the existing …

Member Avatar for JohnTheGrateful
0
2K
Member Avatar for rajesh_26

http://epds.telangana.gov.in/FoodSecurityAct/ this website is responsive but when iam zooming in and zooming out all html elements are messing up **any one any sugesstions are appreciated thanks in advance**

Member Avatar for ryantroop
0
220
Member Avatar for komal_5

write an assembly language code that will: Read a character (ASCII code) from keyboard using a BIOS interrupt. then have to print that ASCII character in binary number system using DOS interrupt. and have to invert that ASCII code and have to transmit it to a parallel port using a …

Member Avatar for rproffitt
0
170
Member Avatar for niobi

Hello, is there someone that can help me about the syntactic form of the file XML for the italian "FATTURA PA"? From 2017/01/01 is changed the file's form (rel 1.2), and the file created by my procedure is not accepted from the SDI system (outcome: "error 0200 - file not …

Member Avatar for cereal
0
844
Member Avatar for Justin Kent

hi i am using vb.net multidimensional arrays and i am getting the nearest or closest number i just want to ask if my code was correct or not ? for example i have an input of 13000 and nearest number should be on col 6 can you please help me …

Member Avatar for tinstaafl
0
461
Member Avatar for _1_14

I work in visual studio 2015 windows form . I have textbox for name and combobox for country and button and report viewer control I need when click button get value from text box name and combox country and show these values in report viewer ? How to do that …

Member Avatar for rproffitt
0
434
Member Avatar for UI

I would like to learn Php 7. Php 7 tutorials are available online (tutorialspoint.com, etc.) for those who already know previous version which I know not. Been aiting ever since late 2015 but no proper tutorials out yet. php.net is a reference manual and not a tutorial for beginner. Q1. …

Member Avatar for rproffitt
0
333
Member Avatar for mattyd

An odd thing I've never seen or had occur in all the years of web dev: The other day I got some code from Git-Hub and added it to my index page. I decided not to use the code and removed it. I then noticed that the Git-Hub favicon image …

Member Avatar for rproffitt
0
336
Member Avatar for Andera

I am trying to install Zend via a composer command in Linux. I am following the official Zend tutorial. And I am able to make a simple application, which is working perfectly. However, when I follow this tutorial's advice to use composer development-enabl e. But an CommandNotFound Exception is appearing …

Member Avatar for Daniel_69
0
395
Member Avatar for David_94

Hi, I am writing a library that does some heavy computation, and so I have been trying to speed things up with some low level parallelism. My machine runs Ubuntu 16.04, and is an old i7, but has four virtual cores. I tried to use openMP, and while it runs …

0
158
Member Avatar for Said_4

is there any one that making a nav menu for html5 web page without <list> <ul> <li> commands ?

Member Avatar for Dani
0
143
Member Avatar for ryantroop

NOTE: Viewed and tested in MS Edge 25.10586.627.0 MS EdgeHTML 13.10586 https://jsfiddle.net/qgg86g7y/1/ As you can see in the fiddle, if 50 elements are displayed and calculated, a scroll bar will appear. 51 or more and the scrollbar will not appear, and scrolling is impossible. Is anyone else seeing this behavior? …

Member Avatar for rproffitt
0
442
Member Avatar for kohkohkoh

Hi, I have been struggling on a project for few weeks but yet, still no fruity result. Having an app that is running on ios ipad. I have a requirement to remove inhouse app if the app was not logged in for x number of days. It is in-house app, …

Member Avatar for rproffitt
0
866
Member Avatar for davy_yg

The following code: <a href="<?php echo base_url('cpages/viewpicture/'.$this->uri->segment(3)); ?>" class="delete">BACK</a> Shows: BACK uri->segment(3); I am trying to erase uri->segment(3); part but do not know how to?

0
138
Member Avatar for phphp

Sir I have these codes <input type="text" size="11" name="f_date1" id="datepicker-13" value="<?php echo date('d-m-Y', strtotime($f_date1));?>"/> <input type="text" size="11" name="t_date1" id="datepicker-133" value="<?php echo date('d-m-Y', strtotime($t_date1));?>"/> <script> var ja = jQuery.noConflict(); ja(document).ready(function() { ja("#datepicker-133").datepicker({dateFormat:'dd-mm-yy'}).on("change",function(){ var f_date1 = $("#datepicker-13").val(); var t_date1 =$("#datepicker-133").val(); var data = { ff_date1: f_date1, tt_date1: t_date1 } alert(data) $.ajax({ url: …

Member Avatar for pty
0
5K
Member Avatar for Amr_3

I am creating a web service to interact with a database and it is supposed to perform the CRUD operations. Right now it works fine with the read and post operation the WCF service supposed to have a method that is called from within jQuery whenever the page completes load …

Member Avatar for Amr_3
0
308
Member Avatar for Jon_7

I'm trying to have a sentence at the base of my site that says how many langauges our members speak. I simply want that sentence to change from English to whichever language is hovered over. Can someone help me out? Thanks! <style> .languages { font-size: 70%; text-decoration:none; } .languages a{ …

Member Avatar for gentlemedia
0
355
Member Avatar for Lloyd_4

Hi Everyone - I have recently upgraded my hosting enviroment and the php version has changed to Current PHP version: 5.6.27 Now a number of queries do not work as they did before. The below query has stopped working, Any ideas how I can update the query so it works …

Member Avatar for diafol
0
270
Member Avatar for Qayyum_1

write a C++ program which take inputs from the user/keyboard and calculate his ZAKAT. get the input from user may include -Bank balance -Amount invested in business -Amount given to other business partners as loan and -Amount payable to others

Programming c++
Member Avatar for neon_2
0
4K
Member Avatar for Peter_36

I made a prime number finder, it finds the nearest prime that is above and below any integer (Does not work that well with giant numbers.) Made this in cpp.sh Why would I need the x=y+1-1;? x=y; just doesnt seem to work Why is this? And I know my coding …

Member Avatar for JamesCherrill
0
491
Member Avatar for vitaquous

there are five tables (personTb, addressTb,churchTb) each holds data pertinent to an individual; (personAddress,personChurch) each hold the primary key for the person table and corresponding table IE personAddress holds primary key for addressTb. ​ both snippets work, my question is;** Is my join correctly formatted? ** select concat(personTb.p_fName,' ',personTb.p_mName,'. ',personTb.p_lName) …

Member Avatar for rubberman
0
310
Member Avatar for koneill

In the following javascript/html - I'm trying to validate two items: 1) That if a user doesn't select a payment type - they are prompted to do so 2) That if Visa and Mastercard are selected and if the number or expire date is blank - they are prompted to …

Member Avatar for vsmash
0
309
Member Avatar for scheppy

Good Day Lets say i have a array of integers.... -always differs in length I need to know all the possibilities the numbers in the string have to add up to a certain number. let say 5; and my array contains 1,3,4,3,5,8,2,1; than the possibilites would be.... (3,2)(4,1)(3,1,1) But i …

Member Avatar for JamesCherrill
0
257

The End.