2,443 Recommended Topics
Remove Filter ![]() | |
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 | |
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 | |
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 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 … | |
Even after formatting cells as numbers their sum adds up to zero. How to correct this anomaly? Programming microsoft-office | |
I want to populate report in browser, i prepare this report in i-net clear report, and report file having extension of rpt. I also want to pass parameter | |
What are some essential skills every web developer should have? | |
<!DOCTYPE html PUBLIC > <html> <head> <title></title> <link rel="stylesheet" type="text/css" href="css/main.css" /> <script src="js/jsimageslider.js" type="text/javascript"></script> <link rel="stylesheet" type="text/css" href= "css/generic.css" /> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> </head> <body> <div id="dm1"> <div id="dm1Inner"> <h1 class="first">hello people</h1> <div id="sliderFrame"> <div id="ribbon"></div> <div id="slider"> <img src="images/sl-1.jpg" alt="Welcome to Design3d.nl" /> <img src="images/sl-2.jpg" alt="Customizable Transition Effects" /> … | |
I want to pass two variables in a php url at present I have $line = "<a href=\"$click?$namehref\"><font color='red'>$name</font> </a>"; When I click the link it displays the $click variable, but does not then pass to $namehref which is an mp3 link, what would the syntax be to achieve this. | |
An equipment company wishes to create a database to support the hiring of tools and machinery to clients. The company has three types of equipment: power tools, such as drills and vacuum cleaners, plants such as excavators and scaffolding. Each piece of equipment is identified by a number. Power tools … | |
Hey, guys~~ I have some questions about CSP Is simple hill-climbing a complete algorithm for solving CSPs? and if a CSP is only with unary constraints, is it sure to be solved? Thank you^~^! |
The End.