821 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Stefce

I want to get a string from different website and to display on mine. The website have this HTML code inside it <ul data-v-61cbae47="" class="b-tabs__nav m-tabs-default m-flex-width m-size-md m-mb-reset js-tabs-switchers m-over-separator"> <li data-v-61cbae47="" class="b-tabs__nav__item m-current"><a data-v-61cbae47="" href="/jenawolfy" aria-current="page" class="b-tabs__nav__link m-with-rectangle-hover m-tb-sm router-link-exact-active router-link-active" id="profilePostTab"><span data-v-61cbae47="" class="b-tabs__nav__link__counter-title">130 posts</span></a></li> <li data-v-61cbae47="" class="b-tabs__nav__item"><a …

Web Development php
Member Avatar for rproffitt
1
151
Member Avatar for Vandiun

I'm new to Codeigniter and hope to learn best practices as I go. I currently have a table generated by DB. HTML Table: <tr> <td> <a class="galName" href="#myModal" data-toggle="modal" > <?php echo $gal['name']; ?> </a> </td> <td> <?php echo $gal['clientName']; ?> </td> </tr> <?php endforeach; ?> The Modal: <div class="modal …

Web Development codeigniter php
Member Avatar for Dani
2
612
Member Avatar for Stefce

I am trying to insert into table with PHP and MySQL but the page only refresh it self when i press the button. I haven't done debugging, i have an IF statement that displays any errors that fires if the SQL query have errors. But the thing is even the …

Web Development mysql php
Member Avatar for gce517
1
210
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 …

Web Development php
Member Avatar for gce517
1
124
Member Avatar for gajen007

I'm running a GraphQL-Node.js-Mongo Application. I need to return all the documents upon some conditions. But I'm confused with .find() method as it requires async and await, or a callback as it's parameter. Here my code... getChatsOfUserAboutProduct: { type: sampleChat, //it has been declared already args: { userID: { type: …

Web Development
0
76
Member Avatar for Pony_1

I really need help and i would apreciate if someone can help me with this I need to do the same than here but with .NET, instead of node js. I never worked with .NET before. Is my first time working with tokens and APIs. So i kinda need help …

Web Development asp.net javascript node.js
Member Avatar for Dani
0
64
Member Avatar for Nine_2

I'm wondering how to update my database using a modal and multiple data from another form. This is how it looks like, ![1.png](https://static.daniweb.com/attachments/4/9f1a52cdeffddb99e65e6d73d8febd7b.png) When you click any checkbox there, the release request button will enable. ![2.png](https://static.daniweb.com/attachments/4/1db9299fc8e0995c48be16f9b41f4cc0.png) When it was clicked there's a modal will pop up: ![3.png](https://static.daniweb.com/attachments/4/4bc7fe8fc346f118c3c3282c341ac6bb.png) Now, the modal …

Web Development mysql php
Member Avatar for devphp
1
656
Member Avatar for Walter_17

I am new to programming and testing. I would like to know if there are any useful articles or resources where I can see how to test a web service. I need to use HttpClient to implement my own universal REST API client - TestHttpClient <T>, which will complete GET, …

Web Development file-system
Member Avatar for Dani
2
300
Member Avatar for Freetrendz

what line of code would perform a floating text in php. Any help pls!!

Web Development jquery php
Member Avatar for gce517
1
75
Member Avatar for devphp

Hello all. I am trying to use four modals in codeigniter. Main page has four simple links, each of them pops up its modal. Then each modal has a form with upload image, this means main page requires four images which would be uploaded through modals. The upload form is …

Web Development codeigniter jquery php
0
175
Member Avatar for borobhaisab

Hi, I used to know how to do this but forgotten. How can I check the extension of a url ? You see, sometimes sitemap xml files do not list site urls (.html) for my crawler to extract all the urls. Instead, they list further xml files and so my …

Web Development file-system php
Member Avatar for borobhaisab
0
154
Member Avatar for sharmavinu0024
Member Avatar for admin_12

And is it bad or what because sometimes I think I might get carried out

Web Development
Member Avatar for Dani
-1
4K
Member Avatar for gunnarflax

I've read tutorial on tutorial and I try to work with Object Oriented PHP but the thing is that I find it rather complex. When I create a class I must include it in the current working document. It doesn't work as in Java when the compiler finds the script …

Web Development file-system oop php
Member Avatar for odeskavita
1
534
Member Avatar for Stefce

I am using google drive to upload manually the images there and with sharing link to display them on my website. But it makes troubles sometimes the images doesn't load fully. Is this proper way of displaying the images faster on your website? The website is coded using HTML only …

Web Development html-css
Member Avatar for john_111
1
235
Member Avatar for jj.dcruz

I have this code foreach loop it will get the first data form my table every iteration on the next output. I would like to have a guidance on this <select class="selectpicker form-control" data-live-search="true"> @foreach ($IncidentTypes as $Incident) <optgroup label="{{ $Incident->incident_type ." ". $Incident->id }}"> @foreach ($Incident->IncidentSubType as $subTypes) <option> …

Web Development mysql php
Member Avatar for Dani
1
229
Member Avatar for humblepi3

Repo: https://github.com/Charles-CarM/Battleship I am currently building my battleship console application in C#. I have prior experience building projects with Vanilla JS and in React. I went through a tutorial on C# and could grasp most of the concepts pretty well. I have jumped into project building because I know this …

Web Development c#
Member Avatar for humblepi3
0
263
Member Avatar for jyotiu

Hi ppl I am developing website for my friend's very small resort, please see [url removed] this resort have 8 rooms in total and all rooms are of same type so every room is equally priced. I just need code or logic to check availability of given [B]no. of rooms[/B] …

Web Development php
Member Avatar for Ahmad_74
0
2K
Member Avatar for Stefce

Hello everyone. I need a little help with my html code. I want to load html file (menu.html) inside my index.html file I am trying to achieve this using JavaScript. Here is an example how i am trying to achieve this. this is menu.html file <!-- Mobile Nav (max width …

Web Development html-css
Member Avatar for Dani
1
330
Member Avatar for ankitdixit

Hello All, I am a software developer and got the opportunity to work on a large web development project. I want to know which source allow efficient data storage feature between file system and dbms in a large project. I have asked this query on Quora and according to this …

Web Development
Member Avatar for markanderson_1
0
319
Member Avatar for Nine_2

I have this form where I'm editing a student's information like changing the provider assigned to him. I'm having a problem with it since the dropdown menu is coming from MySQL database that has the full name. ![provdata.png](https://static.daniweb.com/attachments/4/c03e715e350cced146c03f6dd137b822.png) Here's what it looks like. ![provider.png](https://static.daniweb.com/attachments/4/0e91d237fb3e840d96ee1c350432a974.png) When I try to select one …

Web Development mysql php
Member Avatar for Dani
0
122
Member Avatar for ianhaneybs

I am in the middle of making a web based system for shows and each show as a different closing date for entries. The closing date is stored in a database. I need to display a export to excel button once the closing date has passed for each show. I …

Web Development mysql php
Member Avatar for Dani
0
104
Member Avatar for borobhaisab

Hi, Can you remember once upon a time Yahoo and Open Directory or Dmoz were directories with categories and subcategories and sub-sub categories etc. ? I need to have a list of such categories. Link listing categories. Trying to build a link directory. Where can I get the lists of …

Web Development
Member Avatar for Dani
0
80
Member Avatar for KillerFrost

I'd like to incorporate a payment gateway into flutter web. Payment UI is loaded in flutter web, but I'm not sure how to get callbacks from it.

Web Development php
Member Avatar for Dani
1
166
Member Avatar for Dani

I'm trying to get Memcached persistent connections to work. We currently have a cluster of four Memcached servers each with 2GB of RAM, and four web servers. My code looks like this: public function __construct() { global $config; $this->cache = new Memcached('daniweb'); if ($this->cache->isPristine()) { $this->cache->setOptions(array( Memcached::OPT_NO_BLOCK => true, Memcached::OPT_BUFFER_WRITES …

Web Development caching php
Member Avatar for Dani
0
1K
Member Avatar for borobhaisab

Hello, I know the safest way to write a pagination section with php is to use the http_build_query(). Like so: $i = 0; while($i<$total_pages) { $i++; if($_GET['bool']=='null') { //Page Format: $_GET List. $array = array("tbl"=>"$tbl","col_1"=>"$col_1","bool"=>"$bool","input_1"=>"$input_1","lmt"=>"$limit","pg"=>"$i"); } else { //Page Format: $_GET List. $array = array("tbl"=>"$tbl","col_1"=>"$col_1","col_2"=>"$col_2","bool"=>"$bool","input_1"=>"$input_1","input_2"=>"$input_2","lmt"=>"$limit","pg"=>"$i"); } $serps_url = $_SERVER['PHP_SELF'].'?'.http_build_query($array); if($i==$page) …

Web Development php
Member Avatar for Dani
0
161
Member Avatar for borobhaisab

Hi, $page = 10; echo 'page ' .$page; //echoes: 10 echo 'backward ' .$backward = $page--; //echoes: 10 echo "<br>"; echo "<br>"; echo 'forward ' .$forward = $page++; //echoes: 9 echo "<br>"; echo "<br>"; Strange! Why is the decrement failing ? Since $page = 10, then decrementing that ($backward) should …

Web Development php
Member Avatar for Dani
0
66
Member Avatar for dimitrilc

## Introduction ## **AMQP** (*Advanced Message Queuing Protocol*) is a popular protocol used for communication between messaging middleware and clients. At the time of this writing, the latest version of the AMQP is 1.0, but we will focus on version **0-9-1** instead. 0-9-1 is the *default* version shipped with the …

Web Development
2
278
Member Avatar for dean.ong.14

Parse error: syntax error, unexpected T_IF in H:\xampp\htdocs\login.php on line 74 i don't see any mistake here? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Yakity Yak</title> <link href='http://fonts.googleapis.com/css?family=Oswald:400,300' rel='stylesheet' type='text/css'> <link …

Web Development php
Member Avatar for Dani
1
5K
Member Avatar for dimitrilc

## Introduction ## In the last tutorial, we learned [how to send messages to a RabbitMQ queue](https://www.daniweb.com/programming/web-development/tutorials/538621/how-to-send-messages-in-rabbitmq). In this tutorial, we will learn how to consume those messages in Kotlin. ## Goals ## At the end of the tutorial, you would have learned: 1. How to use the RabbitMQ Java …

Web Development
1
2K

The End.