2,720 Recommended Topics
Remove Filter | |
My online submission pages no longer work after upgrading to PHP v8. After pressing Submit, screen then turns white and no email sent with the submitted info. Screen is not supposed to turn white. After switching back to PHP 7.4, everything worked normally again. I have many online submission pages … | |
Hi Wanted to utilize the php/mysql insert into the FPDI pdf export tool. I have it working just as plain text which is nice. But, i'd like to to have mysql place db entries into it. I've declared my sql connection, just using dreamweaver at the moment. I'm struggling to … | |
So... I have a fully working code, but my boss asked me to add a button that downloads the table in excel format with the values from the database and I was like, *I can do that?* I also asked chatGPT but it has a character limit so it never … | |
You may be familiar with apps such as Time Watcher. I'm looking forward to creating an application to be used on students' computers to control the amount of time one can be on a computer. When a student is given a computer, she will be allocated say 30 mins, a … | |
Hello Friends, I don't whether it's the right place to ask this question or not. Apologies if it's not the right place. I and two of my friends are working on a startup and now we are in a position to take the startup online. Currently, the major issue that … | |
Hi has anyone seen an error like this before I believe it has to do with logging into a page using domain credentials but our logins have been converted to exchange online (PHP Fatal error: Uncaught TypeError: ldap_get_dn(): Argument #2 ($entry) must be of type LDAP\\ResultEntry, bool given in /var/www/html/folder/external/ldap.php:26\nStack … | |
Hello Folks, How to rid GET METHOD from echoing the submitted webform's search button name in the destination url ? My site search page's url looks like this: http://localhost/Work/buzz/Templates/pagination_GET_METHOD_TEMPLATE.php When I click the search button, I am taken to same page ````$_SERVER['PHP_SELF'];````. Taken to: http://localhost/Work/buzz/Templates/pagination_GET_METHOD_TEMPLATE.php?search=&match=fuzzy&index=crawled_links_index&limit=1&web_search_button= NOTE the last part of … | |
Hiya, It seems to me that if I put a condition on ```` mysqli_stmt_fetch($stmt); ```` to check if user credentials was ok enough for the data to be fetched, then the whole purpose of using the following function is defeated. ```` password_verify() ```` This is what I mean .. ```` … | |
I've searched, but can't even find what to call this. Any links or code would help a ton. I want 8 main items to appear from a side-menu with 4 sub-items branching out to their right when clicked. As any sub-item is clicked, I'd like for 4 items below that … Programming ui-ux | |
VB.Net never meant for games! it's more recommended for software developement, but hey why not have some fun. If anyone out there is looking to create an Angry Birds Game-like or a Simulator for throwing an object, you've come to the right place, this code will give you great start/push … | |
I have a database which contains authors and books. Some of those authors and books contain slashes in the name or title fields. When I query the database for authors, it matches just fine, with or without slashes. When I query books, however, it only finds books without slashes in … | |
My older son and I are both working through online videos teaching machine learning with python. All of the materials we have seen use Jupyter Notebooks. For those of you unfamiliar with Jupyter Notebooks, they are freaking awesome. At least they are when they work. We were using two laptops … Programming machine-learning python | |
Helle Fellow Programmers! Unlike last time where I was checking for matching rows count using mysqli_stmt_rows_count(): https://www.daniweb.com/programming/web-development/threads/539306/login-with-prepared-statements-mysqli-stmt-num-rows-function On this thread, I am checking for matching rows count using Sql's COUNT function. This means, both threads are not same so mods do not close them. Issue is, on both threads, no … | |
Write a program that gives and takes advice on program writing. The program starts by writing a piece of advice to the screen and asking the user to type in a different piece of advice. The program then ends. The next person to run the program receives the advice given … | |
This fails: ```` $password_hashed = password_hash(trim($_POST['password'],PASSWORD_DEFAULT); ```` This also fails: ```` $password_hashed = password_hash(trim($_POST['password'],PASSWORD_DEFAULT)); ```` This works: ```` $password_hashed = password_hash(trim($_POST['password']),PASSWORD_DEFAULT); ```` But I thought trim( did not have the closing bracket. Manual shows it does. So this is why above 3rd sample working ? | |
I need to check db for matching user credential on login script. There must be atleast one matching row. Else, script should alert user not registered. Need to check the db using the function ````mysqli_stmt_num_rows()````. Assignment is to list all the various valid ways this function can be used to … | |
Hi, I got this long version code: ```` if(ISSET($_GET['limit'])) { $limit = intval($_GET['limit']); } else { $limit = intval(1); } ```` I can shorten it, like this and it works: ```` $limit = ISSET($_GET['limit'])?intval($_GET['limit']):1; ```` Now add an echo and try shortening it. And I get error. I got this … | |
I want to count and show live users counter on my page. My url structure looks like this `domain.com/miningbot?id=pool-v9w1x2y` The users which are inside the parameter should be counted, updated and displayed to the user. Also, the parameter can be changed. I have asked ChatGPT to write me some starting … | |
Write a pascal program that accept the name and date of your birth the program should then output your name and date of birth in the format “your name and your date of birth” e.g Pascal your date of birth is 20/10/2023 Programming pascal | |
Hi all! If I want to get fast results on the project, what would be more efficient: getting only senior engineers, or considering those who are less senior but result-focused? Why? | |
I'm trying to make the picturebox collide with the others. I tried to do several things but they don't work. I spoke to my teacher and he said I should do something like this: PictureBox1.Left + PictureBox1.Width >= PictureBox2.Left And PictureBox1.Top + PictureBox1.Height >= PictureBox2.Top And PictureBox1.Top <= PictureBox2.Top + … Programming vb.net | |
I added checkbox in my webpage using: <asp:TemplateField> <ItemTemplate> <asp:CheckBox ID="chkRow" runat="server" /> </ItemTemplate> </asp:TemplateField> But then my calculation of price*quantity having error where it display the total in another column and row. <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script type="text/javascript"> function CalculateTotals() { var gv = document.getElementById("<%= GridView1.ClientID %>"); var … | |
Hiya, Which of these IF CONDITION codes are valid ? And can you rank the valid ones according to your choice by giving reasons to your choices ? Thanks! 1. ```` $conn = mysqli_connect("localhost","root","","buzz"); $sql = "INSERT into users (username,email) VALUES (?,?)"; if($stmt = mysqli_prepare($conn,$sql)) { mysqli_stmt_bind_param($stmt,"ss",$_POST[username'],$_POST['email']); if(!mysqli_stmt_execute($stmt)) //FIRST CHOICE … | |
Hiya, Is this: ```` function unset_sessions() { //All Sessions on the script .... UNSET($_SESSION['registration_form_display']); UNSET($_SESSION['registration_form_button_clicked']); UNSET($_SESSION['domain']); //Form Input UNSET($_SESSION['domain_email_account']); //Form Input UNSET($_SESSION['domain_email']); //Form Input UNSET($_SESSION['password']); //Form Input UNSET($_SESSION['errors']); Displays errors underneath the form. echo __LINE__; echo '<br>';//DELETE } unset_sessions(); ```` the exact same as this: ```` session_destroy(); ```` I ask, … | |
Hi, I'm looking for a replacement for FREE web hosting, since Vista Print bought Webs.com and ruined it for everyone. I cant find a place to transfer my HTML code without monthly Domain and hosting fees. I started this website back in the old Geocities days, then Yahoo bought the … | |
Hi all, I'm having difficulties to pass Props (Label text) to Combobox component. I usually use same forms for adding and editing Data. When it comes to editing, If I use lot of arrays to iterate first and then pass right information, I get stucked for hours like here. I'm … | |
Hi.. I would like to send an order confirmation email with the cart details. But it doesn't show the string in php, only html. My script: $to = 'adolph@site.it'; $subject = 'New Order'; $from = 'info@newsite.it'; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // … | |
I have this https://imgur.com/a/SMqlcgF multiplexer and I have to make a program to get the truth table. How would I do this? I honeslty am so lost. | |
I have 5 textboxes. How to calculate the total of price entered by users? Users need to enter quantity in each textbox and then it will calculate with price that already display or show in label (quantity*price). The result will be showed in textbox readonly. How to make it? <pre … |
The End.