2,720 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for larry29936

I know this has a simple answer that I should know, but for the life of me, can't remember. I have the following update statement in my code: $stmt = $pdo->prepare("UPDATE `files` SET `filename` = ?, `md5` = ?, `filesize` = ?,`logtime` = now() WHERE `id` = ?"); $stmt->execute (array($isoname, …

Member Avatar for larry29936
0
49
Member Avatar for les_5lesabrams

I am using phpmydirectory and am having problems logging in. We had a power outage yesterday and this morning i cannot access my Control Panel. I am just getting teh error message that i have used so many login attempts and when i get to 5 attempts i will need …

Programming mssql php sql
Member Avatar for Dani
0
40
Member Avatar for eazy_man

Hi Guys Im looking for someone who can translate this c++ code to pseudocode . [CODE]#include <algorithm> #include <cctype> #include <functional> #include <string> bool palindrome( unsigned long n ) { unsigned long x = n; unsigned long u = 0; while (x) { u *= 10; u += x % …

Member Avatar for Koushik_3
-4
17K
Member Avatar for humbug

i have made a program in school that chooses a random number and you need to guess it. you put in a number and it says higher or lower. the only problem is that i can't set RAND_MAX and its a 4 or 5 diget number (havent figured it out …

Member Avatar for yw_046
2
30K
Member Avatar for Jennifer_19

I'm new to this site and still fairlu new to PHP so not sure if this is were I need to place my question but here goes. I am currently trying to create a filter for my table using PHP. The filter options are already in my database; e.g I …

Member Avatar for for working
1
1K
Member Avatar for Divyansh_5

`Here is my HTML Code : <html> <head> <title>Welcome</title> </head> <body> <form enctype="multipart/form-data" action="upload.php" method="POST"> <input type="hidden" name="MAX_FILE_SIZE" value="100000" /> Choose a file to upload: <input name="uploadedfile_1" type="file" /><br /> Choose a file to upload: <input name="uploadedfile_2" type="file" /><br /> <input type="submit" value="Upload Files" /> </form> </body> </html> And Below …

Member Avatar for Jawass
1
200
Member Avatar for linglu2022
Member Avatar for rproffitt
1
124
Member Avatar for Mr.M

Hi DW. I have code: <div class="lv-item media"> <div class="lv-avatar bgm-purple pull-left">u</div> <div class="media-body"> <div class="lv-title">dynamically_generated_value</div><!-- I want to get this value --> <div class="lv-small">Sample text</div> </div> </div> I use the following code to activate the selected list. NB the above is also dynamically generated for simplicity let say we …

Member Avatar for Mr.M
0
53
Member Avatar for Jeph_1

Hello, I am trying to count the number of characters in a string $a0 that return a 1 when passed to the function, otherwise return 0. Heres what I did: I dont have the correct answer __ output format must be 3, I have 11 .text .globl __start __start: # …

Programming assembly c c++
Member Avatar for rproffitt
0
158
Member Avatar for Christopher_41

hi All i am trying to make a set of pages that are adaptable to different websites, the text is generally the same for each site, but i need to insert names and other text to the site on different pages, i would like to do that by having a …

Member Avatar for Christopher_41
0
152
Member Avatar for lukwagomedia

Hello everyone! I working on a social network alike page whare I want to implement a messaging system. I can do all that and I have it working. What I want is, when I get two or more messages from someone. I only want to display the lates message from …

Member Avatar for Dani
0
120
Member Avatar for Jeph_1

Hello, I wrote this c program that will rearrange the numbers in an array such that all the even numbers come first and that will also calculate the sum. However, when I tested it on mipsmark software ( for correcting assembly language programs) I have a test fails. Here's what …

Member Avatar for Jeph_1
0
82
Member Avatar for Venkata subbara

I am using colab and below is the code import pandas as pd import numpy as np import os import csv data = pd.read_file(r'C:\Users\sd3394\Test\CAN_all.csv') data.head()

Programming python
Member Avatar for Reverend Jim
0
76
Member Avatar for larry29936

I don't understand why this update script isn't working. It is supposed to get the names of files in the download folder and update the files table in the database. It is running through the code without exiting when it fails to update but still displays "Update Successful". The downloads …

Member Avatar for Dani
0
66
Member Avatar for Nald_1

Hello all, We have just launched a startup. Now, we are looking for a simple web-based relational database system where we can easily add tables and connect them to one another through foreign keys. For example, we would want to create a suppliers database in which we could perform a …

Member Avatar for Dani
0
59
Member Avatar for emsanator

$html = 'Hello there this is image 1 <img src="http://www.example.com/XXX1.jpg" width="653" height="340" alt="xxx" title="xxx"> !! And Now you can see image number 2 <img src="http://www.example.com/XXX2.jpg" width="653" height="340" alt="xxx" title="xxx"> yep.'; $dom = new DOMDocument; $dom->loadHTML($html); $imgs = $dom->getElementsByTagName('img'); $imgURLs = []; foreach ($imgs as $img) { if (!$img->hasAttribute('src')) { continue; …

0
53
Member Avatar for larry29936

I'm using the following code for users to download files from my website. It works fine for files under 50MB, but fails immediately for larger files. Can someone explain why this is happening and how to fix it? Some of the downloadable files are over 800MB, so I need this …

Member Avatar for Dani
0
48
Member Avatar for Dani

Suppose you have a php script where a user is prompted to enter a number. You then do something with that number ... you increment it, perform some other math calculation on it, search the database for records with the ID # the user passed in as a query string, …

4
854
Member Avatar for dimitrilc

## Introduction ## When working with Room, there might come a situation during bulk CRUD operations that it would be useful to add a Foreign Key to one of our tables. This provides two main benefits: cascading delete (*must be configured manually*) and enforcing data integrity on linked entities. In …

3
7K
Member Avatar for dimitrilc

## Introduction ## When working with music files, you might have wondered how to load display art from Audio files. In this tutorial, we will learn how to load thumbnails for audio files. ## Goals ## At the end of the tutorial, you would have learned: 1. How to load …

2
2K
Member Avatar for dimitrilc

## Introduction ## If your Android Application uses Room, then you might have wondered how to prepopulate a Room database. In this tutorial, we will learn how to prepopulate a Room database. ## Goals ## At the end of the tutorial, you would have learned: 1. How to prepopulate a …

1
1K
Member Avatar for Joe_940

So i have multiple web pages containing multiple episodes, what I'm trying to implement is a search box in the nav bar which will bring up the episode/category your looking for, nothing too over complicated. If anyone would be willing to point me in the right direction that would be …

Member Avatar for Jawass
1
151
Member Avatar for mc8888

hi everyone...I need help on solving this question... Create a SavingAccount class. Use a static data member to contain the annualInterestRate for each of the saver. Each member of the class contains a private data member savingsBalance indicating the amount the saver currently has on deposit. Provide a calculateMonthlyInterest member …

Member Avatar for Zain_12
0
6K
Member Avatar for fx.eko

hi everyone can you give an example of coding in vb.net vs2010 how to make a report in crystal report 2013 with sub report thanks for advanced

Member Avatar for xrjf
0
296
Member Avatar for razstec

Hi, im trying to set a radio and youtube playlist player my code works with radio and single youtube link but with playlist it says that the link is unrecognized, can somoene help? import os from os import path from random import randrange from tkinter.ttk import Combobox import pafy import …

Member Avatar for razstec
0
175
Member Avatar for emsanator

Hi, I'm trying to create a theme-compatible category system, but I missed some points. For example; `category_name_women_clothing` and `category_name_women_bag`, etc.. are supposed to be collapsible, but I was not successful in this. How can I make a model that opens and closes sub-categories, where am I missing? [This is what …

Member Avatar for Dani
0
173
Member Avatar for larry29936

I'd like to improve security of my website. Currently, the download filename is passed to the download script. The filenames are stored in a database table with an index number (primary key). I'd like to pass that index number to the download script instead of the filename and do a …

Member Avatar for Dani
0
120
Member Avatar for nalb4242

I have been trying to connect to watermelonDB however i keep getting this error TypeError : null isnot an object (evaluating 'DatabaseBridge[methodName]') I looked all over the network but couldn't find a solution the problem that i am not generting or writing the DataBaseBridge it should be generated automatically with …

Member Avatar for Dani
0
97
Member Avatar for Mariam_20

Hi, can someone give me an easy command that prevents a user from entering a negative value in the following code i made? thanks. #include <iostream> using namespace std; int main() { int X; int Y; cout<<"please enter the value of X and Y"; cin>>X; cin>>Y; float result; result=4*X^3+Y^3-4; cout<<"the …

Programming c++
Member Avatar for Schol-R-LEA
0
87
Member Avatar for Just_3

I want to ask. I have 3 textfield. For example I just have 2 number so I fill at the first and second textField. But, if I want to calculate the value of this textfield, I need to enter 0 to the third textfield. So, I want to ask about …

Member Avatar for JamesCherrill
0
75

The End.