199,113 Archived Topics

Remove Filter
Member Avatar for
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; } …

Member Avatar for SimonIoa
0
268
Member Avatar for jakesee

Hi everyone, I need some help with the lookat matrix... This is my code [CODE] Matrix Matrix::CreateLookAt(Vector3 eye, Vector3 target, Vector3 up) { Vector3 forward = target - eye; forward.normalize(); Vector3 side = Vector3::cross(forward, up); side.normalize(); up = Vector3::cross(side, forward); Matrix m; // Defaults to identity matrix m.m11 = side.x; …

Member Avatar for 传志
0
2K
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 …

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 …

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 …

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 …

Member Avatar for shashigowda
0
297
Member Avatar for Doogledude123

I want to iterate over a List in a 2D way, basically starting at the center and working my way around in a "circular" fashion. The List is a List of type Chunk and Chunks store a Vector 3 position. I also have a Player which has a Vector3 position. …

Member Avatar for overwraith
0
325
Member Avatar for anupamverma
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 …

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 …

Member Avatar for diafol
0
450
Member Avatar for egieboom12

problem#1 Create a program that will count from 1 to n, wherein n is a user-input number. problem#2 Create a menu and combine previously-created programs into one im a newbie programmer i need help in using looping constructs... any suggestions???

Member Avatar for rubberman
0
149
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 …

Member Avatar for dawbin
0
511
Member Avatar for Okere

i have created a customer table containing name and ID in datsbase and i want if i type in the customers ID number lets say in a textbox, (1)it should check the database to see if the ID exist and (2)then call up the corresponding name with that ID and …

Member Avatar for Joe-Guru
0
170
Member Avatar for Papa_Don

Hi group, I'm starting a test to see if I can automate some tasks. In this first test, I'm using System.Diagnostics to open a specific version (I actually have two versions on my computer - both are needed). After that's open, I want to open a specific file within that …

Member Avatar for Papa_Don
0
233
Member Avatar for ranTHE

How to get current Selected Row in dataGridview and print using crystal report? Print Only selected current row in data gridview

Member Avatar for Mamoundi
0
9K
Member Avatar for naz1234

How to count number in C language ? For example , I have have input 5 until 7 then it will print 3 or input 2 until 4 then it will print 3 here my code: #include <stdio.h> int main() { int n,count=0; printf("Enter an integer: "); scanf("%d", &n); while(n!=0) …

Member Avatar for nullptr
0
212
Member Avatar for ajit.nayak

Dear all, Here i have attached form window.I wanted to update form with relative data How to refresh the single form. When New project detail is clicked from loaded with project data , when panel button clicked form loaded with panel data. 1)I tried this method. I created a group …

0
192
Member Avatar for Cory_1

I am writing a program for extra practice from my book on finding the max element in array using Java Generics. My Code so far is: public class GenericMax { public static void main(String[] args) { Integer[] numbers = {1, 2, 3}; //Creates array of integers System.out.println(max(numbers)); String[] words = …

Member Avatar for JamesCherrill
0
6K
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> …

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 …

0
161
Member Avatar for naz1234

Hi, how to make counting numbers ? For example, I send command to HyperTerminal, then it will reply (print) counted values. Here the first example, send command: UI1-UI10 reply command: UI1-UI10_in_Hexadecimal:0x3FF The above example, Ui1 until Ui10, it count, one until ten. Then, the binary will have IIIIIIIIII (10bit), but …

Member Avatar for chriswelborn
0
242
Member Avatar for Shizza

i want to make an artificial system in c++ language for a doctor or any judge that will take input from the user and by using rule of inference it will display the result as true or false, can anybody help me to solve this problem

Member Avatar for pritaeas
0
315
Member Avatar for hwoarang69

How to get min/Max value of a all column in a two-dimensional arra so for example, lets say you have the following 2d array: 1 2 3 4 5 6 7 8 9 Than the out put should be: -- col 1 -- min value at col 1 is 1 …

Member Avatar for JamesCherrill
0
753
Member Avatar for COKEDUDE

Is there a way to split a string at different types of characters into separate strings? char str[] ="(I) 44like22 .cookies. ,This, /is\ ?tricky?"; Something like this? ( I ) 44 like 22 . cookies . , This , / is \ ? tricky ?

Member Avatar for David W
0
245
Member Avatar for blueshiftdani

I am trying to update several rows in the database using mysql statement. My code is as follows. <?php $query = mysql_connect("localhost","root","toor"); mysql_select_db("busticket",$query); $result=mysql_query("Select * from ticket_reservation WHERE validate_status='No'") or die(mysql_error()); while($row=mysql_fetch_array($result)) { echo "<tr><td><input type='checkbox' id='name' name='name[]' value=".$row['id']."</td><td>".$row['userid']."</td><td>".$row['busid']."</td><td>".$row['numberofseats']."</td></tr>"; } echo"<tr><td><input type='submit' name='submit' Value='Validate Tickets'></td></tr>"; if(isset($_POST['submit'])) { if(is_array($_POST['name'])) { $qry …

Member Avatar for pritaeas
0
375
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

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 …

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 …

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 …

Member Avatar for SimonIoa
0
255
Member Avatar for Dark_1

I'm building a board game. The game is played on a 4 by 4 grid in pairs, one player at a time. I would really appreciate if you could help me with this. Please help me. I'm new to Visual Basics. It has been only 1 month since I started …

Member Avatar for Reverend Jim
0
214
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?

Member Avatar for diafol
0
165
Member Avatar for Sayyo

Most of the traffic light is working by timer. But in some situation that is not performed well, and even it is a wastage of time without any trouble. So, I want to move from timer to motion detector traffic light. Could you say something?

Member Avatar for ddanbe
0
74
Member Avatar for samantha2015

I am using jodatime for datetime. When I persist the date in mysql it stores 2015-09-04 10:30:18 instead of 2015-09-04 14:30:18. My timezone is GMT+4 or UAE. Do you know how to change the timezone? I try to put GMT+4 but it does not work. I run this line on …

Member Avatar for samantha2015
0
280
Member Avatar for NurieDavis

Hi,I am very new to VB.NET and I need help with issue that I have. I have to make Last and First navigation buttons but I can't figure out the what to write. Here is my code: Imports System.Data.OleDb Public Class Form1 Dim provider As String Dim dataFile As String …

Member Avatar for hericles
0
309
Member Avatar for DigitalPackrat

I searched a lot but there seems to be no way to have additional color schemes in Dev C++. The existing ones are way too bland. Also, I am no good at colors, yet, it feels as if I don't have the control to choose enough colors in the Editor …

Member Avatar for Gabriel_8
0
4K
Member Avatar for Toby14

I have been trying to see what I did wrong in my code, but I counldn't find out. This is my second java program after the "Hello World". Could anyone help me to find out why I did not get the right answer for this. For example, if we enter …

Member Avatar for Toby14
0
143
Member Avatar for SimonIoa
Member Avatar for SimonIoa
0
344
Member Avatar for jakub.peciak

Hi, I have an app that displays specific folder file content in Window Forms and all this works fine. Problem is when I need to scan folder content again (it is read every 10 seconds), then I have "Not Responding" message if there is a lot of files to read. …

Member Avatar for Reverend Jim
0
212
Member Avatar for Proctor

Hello: this is my first window app in .net and have been assigned to create a form that contains a datagridview. I decided to leave it unbound, because I need it to populate in a slightly unconventional way. I also created each column and set them as drop-downs in the …

Member Avatar for Senthil Nellai
0
5K
Member Avatar for Vinolia

hi.i realy need help am a new beginner in java.so i have been trying to do a code in java that returns the largest counter,refering to my libraries.so i was trying to invoke the method comparTo,so i dont know how to use it to compare all counter arrays so that …

Member Avatar for JamesCherrill
0
252
Member Avatar for Stefce

I have a problem with installing Android Studio i followed thenewboston youtube channel for installing it and when i try to run it shows me some errors: `C:\Users\MONSTER\AppData\Local\Android\sdk\tools\emulator.exe -avd Nexus -netspeed full -netdelay none emulator: ERROR: This AVD's configuration is missing a kernel file!! emulator: ERROR: ANDROID_SDK_ROOT is undefined` i …

Member Avatar for samantha2015
0
290
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/' …

Member Avatar for diafol
0
307
Member Avatar for fugio

Hello my tables have a column type varchar(5) value = 10100 on a form I created five checkbox control corresponding to the value in column if the value =1 checkbox= true and vice versa, the value = 0 checkbox = false how I can upload the data forms correctly by …

Member Avatar for Reverend Jim
0
150
Member Avatar for Jun_2

Hi! I am trying to upload files (.docx, .pptx, .pdf) to an online MySQL database and later be able to save/download it locally to my pc. I am trying to develop a software that could do this particular task using VB.NET and MySql. I have a tbl_proposals with fields: - …

Member Avatar for Teme64
0
453
Member Avatar for James_43

Does anyone know if it's possible to intercept the button presses off a presentation remote, just like we are able to listen for keyboard strokes? In this case, the buttons on the remote don't appear to be linked to a keyboard button.

Member Avatar for James_43
0
122
Member Avatar for James_43

Hi there, I have two WPF windows. The first (Window1) has a timer that moves an item down a list, then passes the new current selection to a global variable I defined in App.xaml.cs Window 2 then has another timer that is set to .1 of a second after the …

Member Avatar for James_43
0
268
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" …

Member Avatar for daksh singh
0
7K
Member Avatar for Tanner_1

My code is getting a small error that is refusing to let me entire code compile. Take a look. //THIS IS ASSIGNMENT 4, MAIN METHOD import java.io.*; //to use InputStreamReader and BufferedReader import java.util.*; public class Assignment4 { public static void main (String[] args) { // local variables, can be …

Member Avatar for JamesCherrill
0
262
Member Avatar for boomtifier

i need samples on calculating average the average of "C Program=50" "Html5=70" "DreamWaver=70" "SQL Server=80"

Member Avatar for ddanbe
0
206
Member Avatar for Ahmed_62

#include <iostream> using namespace std; //Write a recursive algorithm to solve the towers of Hanoi problem. //move disc 1 A to c ACB //move disc 2 A to b ABC //move disc 1 C to b CBA //move disc 3 A to c ACB //move disc 1 B to a …

Member Avatar for Ahmed_62
0
179

The End.