1,186 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Mr.M
Member Avatar for ianhaneybs

I want to display different html tags on the php page they are visiting, for example on the homepage and the computer shop basildon page I want the html tag `<section class="testimonal-two pt-0">` and on all other pages I want the code `<section class="testimonal-two">` Below is the code I have …

Member Avatar for ianhaneybs
0
85
Member Avatar for Stefce

I am trying to make to display cells in a database that are not empty, i have URL links with images inside the table and i want to display only the cells that are not empty. For example if there is only 2 pictures added in the database i want …

Member Avatar for gce517
1
167
Member Avatar for John_165

I notice a bug.. ![Screenshot_2022-01-04_175310.png](https://static.daniweb.com/attachments/4/1bfc6ca4c5196e24cc1449ebfb4eea90.png) This post is not written by Dani, but it shows Dani is the writer ?

Member Avatar for Dani
0
85
Member Avatar for Raju_3
Member Avatar for collin_ola
Member Avatar for Muskan_9
0
8K
Member Avatar for Magic8Computing

I have a table in and MSSQL DB that list period and week start dates for any date in a financial year but the page is only display the week numbers and period number none of the dates does any body have any ideas please. <?php $serverName = 'DESKTOP-R7RU80H\SQLEXPRESS'; $connectionInfo=array('Database'=>'WebPortal', …

Member Avatar for Dani
0
459
Member Avatar for Immortal_1

hey guys can u please help me. My pc turns on, the fans are on and so are the lights. But my monitors says there is no signal. I tried everything, i search on the web for answers but no of them worked like, reseting the cmos (i think i …

Member Avatar for rproffitt
0
1K
Member Avatar for MickeyD

Unless I've missed one, I have selected every combination of Sort By and Group By for displaying files and sub folders in a given folder. I cannot seem to get the default display as was in previous versions of Windows That default display was: All sub folders first, in numerical, …

Member Avatar for Reverend Jim
0
887
Member Avatar for nanakumi75

I am trying to get the usernames of users to appear in the url so that I can use $_GET['username'] to grab the username to create a link to the user's profile which can be viewed by any logged in user. So far I can only the logged in user's …

Member Avatar for Dani
0
1K
Member Avatar for Ventech_IT

I have a form that uploads a news article with it's picture and then stores all the info correctly. I am using codeigniter with Active Record and would like to know how to display the image with the post it was uploaded with. here is my upload script: public function …

Member Avatar for Dani
0
18K
Member Avatar for Rooro

Hello everyone : ) i'm working on : [quote]Write a program that takes an input sentence from the user and on next line display the number of capitals letters in the sentence. Note: · User is not allowed to enter a sentence with more than 9 Capital letters. [/quote] what …

Member Avatar for Ebru
0
7K
Member Avatar for John_165

Question from codility test Write a function: class Solution { public int solution(int[] A); } that, given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A. For example, given A = [1, 3, 6, 4, 1, 2], the function …

Member Avatar for JamesCherrill
0
10K
Member Avatar for Phantess

I am trying to display this SQL query in a table. String query = "SELECT COUNT(`appointmentId`),EXTRACT(MONTH FROM `start`) FROM `appointment` WHERE YEAR(start) = '" + year + "' GROUP BY EXTRACT(MONTH FROM `start`)"; Unfortunately I cannot alter the database. I am trying to list the total appointments per month on …

Member Avatar for Phantess
0
1K
Member Avatar for Stephen_28

Hi, I am currently working on a VB form for a college assignment. I am trying to add quantities from a ListBox and then display the result in a TextBox for a pizza delivery order by using a button. So far, the Listbox shows: pizza type Quantity pizza price Total …

Member Avatar for Santanu.Das
0
2K
Member Avatar for munitjsr2

[CODE] #include <stdio.h> #include <stdlib.h> typedef struct filedata { char data[100]; }data_t; data_t * fname=NULL; //IS AN ARRAY OF the structure filedata REQUIRED HERE void quit() { printf("\nPress enter to exit"); fflush(stdin); getchar(); } int main() { char ch; fname=(data_t *)malloc(sizeof(data_t)); FILE *fptr=NULL; atexit(quit); printf("Please enter the file name to …

Member Avatar for AssertNull
0
3K
Member Avatar for random_1

Hi. I have a .raw file and I want to display it as hex. why? because i want to try and replicate what 010 Editor can do which is read any sort of file and display in whatever format user desires (plus it can be used to edit and stuff) …

Member Avatar for Gribouillis
0
9K
Member Avatar for patk570

6 ●4 I have a code that displays an array from GeoTab SDK, I am able to get the array to display in the console.log, and it populates the results like normal, However, When I try to populate the data in the table, nothing shows but the headings. Here is …

0
218
Member Avatar for islander7

Hey, I'm new to the forums but fairly experienced when it comes to computers. I've got a Dell Dimension 8400 and a 2001FP monitor. When i boot the computer up, the video card's fan is spinning and the computer seems to power on fine... except for the fact that there …

Member Avatar for Robert_65
0
10K
Member Avatar for tiwlip

Hi, bought a gaming PC tower (with a top class nVidia graphics card) for the kids, Xmas, but sent it back cos of a couple of probs. It's arrived back with me and some problems persist. When I switch on and boot-up (I assume it's booting up, as I can't …

Member Avatar for Imran_20
0
10K
Member Avatar for Zorrro

Hi, I wanted to setup dual monitor, before trying to purchase I looked up at few articles and forums and most of them had language suggesting it is easy and straight forward. I visited 4 stores and they wasn't sure what they are talking about, 2 of them directly denied …

Member Avatar for Zorrro
0
574
Member Avatar for Mugiwara

I want to see the penalties updating, but it's only see after you click the return button and wait for one day again that it will show the penalty. <?php $user_query=mysqli_query($dbcon, "select * from borrow LEFT JOIN member ON borrow.member_id = member.member_id LEFT JOIN borrowdetails ON borrow.borrow_id = borrowdetails.borrow_id LEFT …

Member Avatar for rproffitt
0
468
Member Avatar for tryphy

Hi guys... I want some help of how to call images from a folder.... Its like..v have a folder called images and it has many images in it.....but i need only 6 images to display in a php webpage...when the webpage is reloaded, it displays another images...its like its displaying …

Member Avatar for cereal
0
3K
Member Avatar for michael.dewitt.716

I know this title is rather confusing, but here it goes. I have a PHP cURL request and the return is in a string. Normally i can easily echo specific objects from the JSON response, but i have never dealt with string returns. Here is my php <?php $url = …

Member Avatar for michael.dewitt.716
0
22K
Member Avatar for shivya jain

Hello to all, I am trying to display the images on my page through php from mysql database Problem is - Images are repeating , It always display only first image. <?php include("header.php"); include("connection.php"); $sql = "select Image from flood_light"; $result = $conn -> query($sql); if ($result->num_rows > 0) { …

Member Avatar for shivya jain
0
472
Member Avatar for NicoleSqueak

Hello, I do not know a lot about computers, so I know this is a long shot. However I really need advice! I have just got a new computer tower (its second hand) and a monitor from a family member. Both monitor and tower were in full working order before …

Member Avatar for rproffitt
0
3K
Member Avatar for Stat_1

I wont to display other results according to one row: Country>>League HomeTeam AwayTeam Result **Italy>>Seria A** Juventus Inter [1-0] Inter Barcelona[2-0] **Albania>>Kategoria Superiore** Tirana-Kukes [2-1] What i have done till now displays this: **Italy>>Seria A** Juventus Inter [1-0] **Italy>>Seria A** Inter Barcelona[2-0] **Albania>>Kategoria Superiore** Tirana-Kukes [2-1] @foreach (var item in …

Member Avatar for Stat_1
0
332
Member Avatar for fuzebox40

Ok folks, I rarely log in to ask questions so forgive me if I'm in the wrong category. Ok, the pc is a laptop (HP Elitebook 8460p, i5-2520m CPU 2.50GHz, 4GB RAM, Crucial 240GB SSD) running Win 7 Pro 64. Now I've scoured the net and can't find a single …

Member Avatar for Pierre-Henri
0
3K
Member Avatar for devianleong

Hi guys, I am facing a little bit problem in mobile menu design. In android is working fine but in iOS safari or chrome has the same issue where I press on the Menu and press on dropdown menu, I cannot scroll to bottom of other <li> element This is …

Member Avatar for rproffitt
0
397
Member Avatar for tegaelam

Hello all, I am having issues with a homework assignment. My assignment is as follows: Write a program that uses a loop to display Pattern A below, followed by another loop that displays Pattern B. Pattern A: + ++ +++ ++++ +++++ ++++++ +++++++ ++++++++ +++++++++ ++++++++++ Pattern B: ++++++++++ …

Member Avatar for Reverend Jim
0
3K
Member Avatar for nadiam

Hello. I have an exercisse to convert from 24-hour to 12-hour clock. code: /*ALGORITHM READ INPUT VALUE IN 24-HOUR FORMAT DISPLAY THE EQUIVALENT 12-HOUR CLOCK WITH THE PERIODS AM OR PM */ #include<stdio.h> #include<conio.h> int InputValid24Hour(void); void Output12HourClock(int); void main() { int data; data = InputValid24Hour(); Output12HourClock(data); _getch(); } int …

Member Avatar for nadiam
0
483
Member Avatar for SimonIoa

Hello i want to do a count from 1 to 30 (1,2,3,4,5,6,7,8,9 etc) with javascript I did this var i = 1; if(i<=30) { i++; } '<span>#'+i+'</span>' all good but the count starts from 0 not 1 as wanted

Member Avatar for SimonIoa
0
201
Member Avatar for Stefce

Hello i got a wierd problem, when am opening my website on a PC the site loads well and its best of all websites (`:D`).. but when i try to open it on phone or tablet the front page of the website which is meant to show the featured pictures …

Member Avatar for Stefce
0
397
Member Avatar for manutd4life

Hello i had a datagridview with data in it and i wanted to display the selected row in textboxes here's the code i tried by i think its totaly wrong [code=vb.net] Private Sub DataGridView_CellClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellClick Dim i As Integer i = DataGridView.CurrentRow.Index …

Member Avatar for Muhammad Nauman_1
0
14K
Member Avatar for ajinkya112

Hey Guys, I have a question... I want to display data from two different tables into a single datagrid view. Problem is i dnt wana join the tables. pls check this code [code]private void bindgrid() { SqlConnection con = new SqlConnection(connStr); con.Open(); str1 = "Select * from wcl_et "; str2 …

Member Avatar for mohammed_35
-2
4K
Member Avatar for jeffersonalomia

Hello guys, I have a problem on using the image slider plugin called "Unslider" which is a jquery plugin. I follow all the procedures / instructions on how to set up the codes but sadly it seems that the next and preview button styling doesnt work even if i follow …

Member Avatar for jeffersonalomia
0
2K
Member Avatar for valatharv

Hi, a) I need to display list of ItemName, ItemLocation in a table row with a check box in the left-most column. b) User can select multiple jobs and on clicking "Submit" button I should pass the selected ItemName and ItemLocation to a fuction in java. I am able to …

Member Avatar for diafol
0
12K
Member Avatar for wad

[CODE]<?php header('Content-type: image/JPG'); $username = "root"; $password = ""; $host = "localhost"; $database = "image"; @mysql_connect($host, $username, $password) or die("Can not connect to database: ".mysql_error()); @mysql_select_db($database) or die("Can not select the database: ".mysql_error()); $query = mysql_query("SELECT * FROM img"); while($row = mysql_fetch_array($query)){ echo $row['image']; } ?> [/CODE] that code display …

Member Avatar for pritaeas
0
13K
Member Avatar for Jessica_16

HELP!!! No beep on my motherboard when i remove the RAM & HDD, i tried another RAM & HDD from another computer but still not working. I checked the RAM & HDD if its working on another, it works, i replace the wires(SATA especially) but nothing change,i also replace the …

Member Avatar for rproffitt
0
468
Member Avatar for Jollyyy100

Is there any way possible to display a slideshow of pictures on a vb 6 form? What steps are required? Thankyou

Member Avatar for Supermike
0
2K
Member Avatar for RafaelSousa.13

Hey there! I have a problem with my computer. When I start my pc, it loads fine, I can go to the BIOS, it passes the POST successfully and so on. I can run the Hiren's Boot CD with no problem and it doesn't lose signal or shuts down, but …

Member Avatar for rproffitt
0
2K
Member Avatar for VelagaManeesh

For example, In VB 6.0 - Object Browser If we click on any Classes or Members down side it will show multi line text. How can i do that?

Member Avatar for tinstaafl
0
984
Member Avatar for amith_ami

hi all, pls help... this is my code from where i can select multiple values and post... but it is not displaying the selected values in multiple dropdownlist... how can i solve this???? <?php $loc_con1 = array(1=>'ALL','Andaman and Nicobar Islands','Andhra Pradesh', 'Arunachal Pradesh','Assam', 'Bihar','Chandigarh','Chhattisgarh','Dadra and Nagar Haveli','Daman and Diu','Delhi','Goa','Gujarat','Himachal Pradesh','Jammu …

Member Avatar for rayearth_1
0
10K
Member Avatar for michael.dewitt.716

Good morning all, i have a somewhat complicated question; which i am trying to learn to answer myself. I have a couple of questions about what it is that i am trying to accomplish, ie is that a RESTful or WCF action that im trying to accomplish. So for the …

Member Avatar for michael.dewitt.716
0
2K
Member Avatar for wmc1956

How can I tell if my emachines monitor is the problem or if it's the cord. The monitor (which is about1 1/2-2 years old) all of a sudden quit working so I bought a new power cord (in the meantime I used an older monitor) which worked for about a …

Member Avatar for Nancy Hensher
2
637
Member Avatar for Lau_1

Hello, anyone have any idea on how to display selected image in popup box? and then upload. Currently, the basic way is to display the selected image in a <div> tag, and i want to change and display the image in popup/dialog/confirmation box. Below is the code to select image, …

Member Avatar for AleMonteiro
0
1K
Member Avatar for mrcniceguy

I want to create a single profile page for members. The way I want it is when any user logs in he will automatically be taken to that single profile page. I am wondering if there is a way I can make the code IN PHP extract only the profile …

Member Avatar for Carsten_1
0
7K
Member Avatar for fallout4player

my MacBook pro is old, 2011. it has 8gb ram 2.4ghz cpu and intel hd 3000. on the osx side it says 512mb of vram and on windows 10 i type dxdiag in command line it says i have 1.6gb. will i be able to run minecraft on the windows …

Member Avatar for CimmerianX
0
363
Member Avatar for ehpratah

Hi Guys! I cant find a way to show my data array the way i need it to be hope you can help me. i already tried using array_push(), json_encode() but still no result. basically what i am getting is like this Array ( [0] => Array ( [name] => …

Member Avatar for ehpratah
0
289
Member Avatar for Lalit Chattar

Hi I want to display text and image both on the same jsp page. but the code display only image, which is retrieve from database. can i display both on same jsp page. all data retrieve from database with image as blob. please help me..

Member Avatar for prabhu.cyberway
0
3K

The End.