778 Recommended Topics
Remove Filter | |
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 | |
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 … | |
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 … | |
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 | |
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 | |
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 … | |
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 | |
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 | |
## Introduction ## In the last tutorial, we learned [how to set up our own RabbitMQ exchanges and queues](https://www.daniweb.com/programming/web-development/tutorials/538620/how-to-create-exchanges-and-queues-in-rabbitmq-server). In this tutorial, we will learn how to send messages to our custom **daniweb-exchange**. ## Goals ## At the end of the tutorial, you would have learned: 1. How to send … Web Development java | |
## 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 | |
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 | |
## 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 | |
## Introduction ## In the previous tutorial, we learned how to [set up our own RabbitMQ server](https://www.daniweb.com/programming/web-development/tutorials/538619/how-to-set-up-a-rabbitmq-server-in-docker). In this tutorial, we will learn how to create our own exchange and queue. ## Goals ## At the end of the tutorial, you would have learned: 1. How to create your own … Web Development | |
How to pass the linkbutton text to the modal popup. Now Im only getting a empty popup <script type="text/javascript"> $("#linkbutton1").click(function(){ var text =$("#linkbutton1).val(); $("#modal_body").html(text); }); function openModal() { $("#myModal").modal('show'); } </script> <div> <div id="myModal" class="modal fade" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title"> Modal Title</h4> </div> <div class="modal-body"> … Web Development asp.net javascript jquery | |
I have this form where users are adding their sessions: ![week.png](https://static.daniweb.com/attachments/4/ec419c458d6ed1f8c7b2bde71ac330e6.png) What I want to do is to show the week number in the input "week" id. My HTML tag for the service date that is on the image is: <div class="row mt-2"> <div class="col-lg-3 col-sm-6"> <div class="form-floating"> <input id="serviceDate" … | |
Hi, On this link: https://www.php.net/manual/en/function.mail.php It states: // To send HTML mail, the Content-type header must be set $headers[] = 'MIME-Version: 1.0'; $headers[] = 'Content-type: text/html; charset=iso-8859-1'; Is the charset modern or out of date or old version ? Should it not be 'utf8mb4' ? | |
Here is the function that I use here at DaniWeb to manage flood control. It keeps track of how often a specific user or IP address is making a request, and increments a counter. If there have been no requests after 5 minutes, the counter resets to 0. It returns … Web Development caching codeigniter | |
Hello, You use raw_urlencode() on the file path. Does that mean you have to exclude the domain name part ? <?php echo '<a href="http://example.com/'. rawurlencode('Sales and Marketing'). '/search?'. 'query='.urlencode('Monthly Report'). '">Click Me</a>'; ?> Imagine the above is my link listed on one of my pages. Now, why is it necessary … Web Development php | |
**Reposting again due to coding problem, I have attached the files** I am having trouble getting my button to submit the words in the text box over to the table on another page. What can I do to fix this? Thanks Web Development php | |
How to display text in modal popup from the grid's cell by clicking the hyperlink In jquery part I used window.open the code I wrote opened a new popup window so I changed it to modal popup but it loads while pageload before the click of hyperlink and blurs the … Web Development asp asp.net javascript jquery perl | |
With this I'm needing to start off by logging in. This is done by putting in the email of a customer and pressing the login button (this is the customer_login.php page). The login button goes through the index.php page and then goes to the product_register.php page. Once the product_register.php page … Web Development php | |
Hi, I am not sure which mysqli error reporting function to use here. Which of the two is correct ? 1. if(!mysqli_stmt_prepare($stmt,$sql_count)) { echo __LINE__; echo '<br>';//DELETE echo 'Mysqli Error: ' .mysqli_stmt_error(); //DEV MODE. echo '<br>'; echo 'Mysqli Error No: ' .mysqli_stmt_errno(); //DEV MODE. echo '<br>'; die('Registration a Failure!'); } … | |
Hi this is Serena. I am a new member. Seeking your help in the future | |
I have a html table, Item_Table, with dynamically added rows containing input tags. i have to add the data from Item_Table to the database in Sql Server, so i am using javascript and C# MVC for the process. But i am getting an error saying "System.NullReferenceException: 'Object reference not set … Web Development asp.net file-system html-css javascript | |
I have tried loading my php files to my web hosting server but the files have an error I cannot figure out . My files begin with <?php and end in ?> and then I changed to <? and ended with ?> but the server says there is a problem … Web Development php | |
It's taken me months to figure out how to show/hide certain content by days throughout the year, but now I'm stuck because the code gets too big for any browser to handle once I add every day for the entire year within the script. Is there a way I can … Web Development javascript jquery streaming-service | |
Hello, $c = 'bool'; // boolean settype($c, "integer"); // $c is now integer (1) echo $c; Why has $c become the int of 1 and not any other number ? And why is the following set to an int of 0 and not any other number ? $c = 'string'; … Web Development php | |
I am new to html and css. I am putting together a project to display favorite singers and favorite movies. I am getting errors in the code. They are: I have been trying to find answers but need a little help. Any help would be greatly appreciated. ✗ The photo … Web Development html-css | |
I'm needing to be able to get a search bar to work in PHP using HTML. I have done some coding, but cannot fully grasp how to do it. What can I do to get the search bar to work? I am needing to be able to search for a … Web Development php | |
Folks, Look at this youtube serp: https://www.youtube.com/results?search_query=make+money+online+in+2022 You are shown 10 search results. Now, if you want to see more results, you got to scroll to the bottom of the page and only then more search results would be presented. Otherwise not. Q1. My question is, what php function or … Web Development php |
The End.