Web Development
Member Avatar

Hi,

I have been trying to code an timetable which allows timeslots to be booked. What I am finding difficult is the schedule settings. So three things, "schedule settings", "find …

Topic by MikeGore

@Sagar_17. This old discussion is what it is. Few may read your call for help.

Next time make a new post with what you need to discuss so folk can …

php
Computer Science
Member Avatar

Introduction

This tutorial provides guidance on gathering data through web-scraping. However, to demonstrate the real-life issues with acquiring data, a deep-dive into a specific, complicated example is needed. …

Mobile Development
Member Avatar

Hey all long time no see!! As i started Internet Marketing i quited to code but somehow everything is about coding... :D
So i am trying to come up with …

Community Center
Member Avatar

What was your favourite April Fools' Day prank this year?

Here's mine to kick things off. If only it were true...

Google Japan got creative with a bubble wrap keyboard …

Microsoft Windows
Member Avatar

This is an extremely basic question, but I haven't found an answer yet.

I recently purchased a brand-new computer with Windows 10 and at the moment am using the Microsoft …

Databases
Member Avatar

Last month, Facebook admitted to storing million of Facebook passwords in plaintext.
The Verge Apr 18, 2019

We see students being taught login systems here and a recurring mistake …

Meta DaniWeb
Member Avatar
  1. No more robocalls.
  2. A CyberTrk. May have to wait.
  3. A good shawarma for lunch.
  4. A new Daniweb home/top page.
Topic by rproffitt

... sooooo where’s the thread about it? Interested to hear what others have to say. I have been making a lot of improvements to the homepage lately. If we’re not …

Computer Science
Member Avatar

What Are Voronoi Diagrams?

Voronoi Diagrams are an essential visualization to have in your toolbox. The diagram’s structure is a data-driven tessellation of a plane and may be …

Web Development
Member Avatar

Hello i want to show the full image in a specified height div like this

        <div style="width:400px"> <img class="images" src="someimage.jpg"> </div>

i tried this

    .images
    {
    width: 100%;
      height:auto;
    }
Web Development
Member Avatar

I let users earn money through my site, and I want to record their daily earnings.

I want to record their earnings starting from 00:01am

I don't know how to …

Software Development
Member Avatar

So I am making a responsive audio waveform, if you don't know what that is, it is something like this: (btw this is my goal to make those audio waveforms). …

Software Development
Member Avatar

I am making a program, and I don't know why my program becomes unresponsive, when I click the button ):
I have a feeling its because of this:
"connection = …

Mobile Development
Member Avatar

Last week a group of six 'm-commerce' experts took part in a round robin discussion in Manchester, England to determine the best ways forward for developers interested in creating a …

Meta DaniWeb
Member Avatar

This actually started (in a convo with Dani) as a simple idea of just upvoting comments made to posts, buuut I quickly got ideas for turning comments into a sort-of …

Web Development
Member Avatar

Hello,

I'm quite nub in web development, so be gentle please. If this place is wrong for such problems point me to a more appropriate resource please.

To became more …

Topic by Денис_2

I use config files to set the host name for the site as well as other site wide settings. To be specific, config.php which sets the hostname & database details …

Web Development
Member Avatar

I am using magento for sending mail with condition,

My code:

<?php
class Gta_MerchantNotification_Model_Observer {
    public function merchantremainder($Observer) {
       $order = $Observer->getEvent()->getOrder();
       $order_details = $order->getAllVisibleItems();

       $itemData = array();
       foreach ($order_details …
Topic by aveeva7

Pass the $sku to the sendMail function: $this->sendMail($finalMessage, $sku); then add the conditional around the email address, you could make it simple and make the $sku variable say 'lots_of_orders' if …

php
macOS
Member Avatar

Hello does anybody see any error in this?

[!] Unable to find the Xcode project /Users/macbookpro/Desktop/project/platforms/ios/C:\Users\Simos\project\platforms\ios\Project.xcodeproj for the target Pods-C:\Users\Simos\project\platforms\ios\Project.

I copied my project from my PC to my Mac …

mac
Software Development
Member Avatar

Looking to create an asset for the Unity Asset store in C#.

I don't want to give away the source code, yet I want users to be able to purchase …

Topic by Curious Gorge

Software has to be compiled to binary to stop people stealing the source code. DRM (Digital Rights Management) may require a key or an expiry date to manage it.

Web Development
Member Avatar

I have a search script that a user may search persons etc. I want to display a message if what he or types doesn't exist in the array. By default, …

Digital Marketing
Member Avatar

I have a memes website and I want to drive traffic from social media. I have a Facebook page with 20,000+ fans but when I post I hardly get any …

Web Development
Member Avatar
<?php
include 'ProcessDAO.php';
$dest="";
if(isset($_POST['login'])){
    session_start(); // i get an error in this line !!
    $_SESSION['status']='online';
    $_SESSION['breadcrumb']='home';
    $pro = new ProcessDAO();
    $dest = $pro->LogIn($_POST['username'],$_POST['password']);
}else{
    session_start();
    $dest ="Location: ../index.php";
    session_destroy(); …
Topic by syria718

For anyone who comes across this thread in the future, when you get the error that headers were already sent, it’s because once you echo anything out to the browser …

Digital Marketing
Member Avatar

I read about a lot of people who ranked their site without building a single link. Does posting great content or building a great site can get you ranked higher? …

Software Development
Member Avatar

What "Hello World" is to the console, the "Bouncing Ball" is to the Graphical User Interface. Nothing fancy, the ball is created via a call to the API function ellipse() …

Search Engine Strategies
Member Avatar

PART 1

  1. INTRODUCTION: When you are starting with your first SEO project, you may feel as if you have been told to empty the ocean with a teaspoon, there …
Web Development
Member Avatar

I'm trying to use CSS as so:

<link rel="stylesheet" media="screen and (max-width: 991.98px)" href="/files/mobile_css/daniweb.css" type="text/css">
<link rel="stylesheet" media="screen and (min-width: 992px)" href="/files/css/daniweb.css" type="text/css">

I want to load one CSS file …

Databases
Member Avatar

DaniWeb was written in Codeigniter, and when posting to the forums, we use database transactions that look like this:

$this->db->trans_start();

... insert into the posts table …
... update the …
Software Development
Member Avatar

Just trying to find out which of these five isprime functions is the fastest.

Meta DaniWeb
Member Avatar

Before anyone files a bug report, we are no longer pretty printing (using javascript to add line numbers & color coding) code snippets when on mobile browsers for performance reasons. …

Search Engine Strategies
Member Avatar

Google's seemingly always changing indexing algorithm continues to hit site rankings as the search giant continues to drive a new generation of SEO relying upon original and relevant content generation …

Community Center
Member Avatar

I'm hoping that people will post unusual or little known facts here. It would be proper to include a link to a source for confirmation. Here's a start.

Speedy Gonzales …