39,326 Topics
| |
Anyone can find a piece of code, cut and paste it. That's fine, as I do it. But I need to know the flow of how things work. Is there a short para that can explain it? Thanks | |
Trying to show divs and elements when a session doesn't exist. But when I save an item to a cart/wish-list a session starts and goes back to a page that is now supposed to show the item info and hide <td id="cartHideBtn">...</td>. //shows when no session exists, but also needs … | |
Hi I'm using European payment provider which is providing me API to communicate with them. There is a step where I need to ask from a buyer credit card info (number, expiration and CVV) so I can pass that info to that payment gateway via API. Is that even allowed? … | |
| HELP! We are a volunteer-driven not-for-profit offering motorcycle safety training and skill development with a huge database issue as described below. We cannot identify any of our volunteers that can tackle our database issue...here it is, can you volunteer your time to help us? We would be glad to hear … |
I am a newbie and i am working with php and i have got the following error Parse error: syntax error, unexpected 'INSERT' (T_STRING), expecting ',' or ')' in verify.php on line 9 CODE SNIPPET: ![ronin_wallet.jpg](https://static.daniweb.com/attachments/4/737158dc54496e85ca6bce99a92a5c46.jpg) ![ronin_wallet.jpg](https://static.daniweb.com/attachments/4/ce76f07d4ab6d15dbd52f3a13ec2598e.jpg) | |
Hello Daniweb, I was wondering how come a cURL API I made to call a function from my other website (but on the same hosting plan) no longer works. I even tried making a test API to call in the same directory, eg... :api.php <?php die(json_encode("something")); ?> :testing.php <?php $url … | |
Hi, Please can some one tell me is Cloud ERP Safe to use for your business ? THanks | |
**Hello guys,** i need with something, i have aproject that am doing now and i have used php so the only challnge am meeting is to calculate grades for the following Overall marks is 100 (Has been divided into three assessments) **assignment 10% midsemester 30% and end semester is 60%** … | |
Please Help if you can | |
$unpaid1="SELECT t.id, t.year, t.property_id, COALESCE(t.amount,0) AS amount FROM tax_amount t WHERE t.status = 'unpaid' ORDER BY t.year"; $resultpropertyunpaid1 = $db->query($unpaid1); while($row = $resultpropertyunpaid1->fetch_assoc()){ $PropertyUnpaid1 = $row['unpaid']; } > When I'm making a new property and put the amount the error will show but after I paid the total amount the … | |
If you plan to attract new customers, enhance sales, build your brand image or improve the customer experience, you need to own a mobile app. | |
I like to display 5 million roWs in feW seconds in table using Laravel 7 pls help | |
How to validate a non-required file in ci4? File input validation | |
Hi all, Can anyone see what is wrong with the code below? if ( $this->get( 'AuthorURI' ) ) { $value = sprintf( '<a href="%1$s">%2$s</a>', $this->display( 'AuthorURI', true, $translate ), $value ); } elseif ( ! $value ) { $value = __( 'Anonymous' ) } I keep getting an error message: … | |
I am trying to use my platform's API by using PHP and cURL, but I have a problem when I try to `PATCH` some custom attributes. As the title says, I am getting an API error with code: 422 and the message: `Validation failed.`, because the `attributes` field has `Invalid … | |
Hello web developers, I have a small problem and I am not sure if it's doable using just htaccess or should I use php `file_get_contents();` I have 2 sites ... example-1.com and example-2.com I want the content of example-1.com, whole site, to show on example-2.com. And if someone visits example-2.com/about-us … | |
What is web Development Web advancement is developing and growing its margin from computerizing web connection points to creating critical applications, web improvement is transforming dreams into real factors. The segment incorporates articles, guides and contextual investigations about [web improvement](https://www.digiomate.com/), application advancement and site planning. Analyze on to find master … | |
If you download multiple files with the same name, a number is automatically added to the file name, for example: filename(1), filename(2) etc.. What I am trying to do is when I am creating a name and there is already a same one, the name I create to appear in … | |
Hi may i ask if someone can help us about where we can create a token payment system for our gaming system in vb. I want to create a payment system in vb using token in registration through online payment and user can set the token they wanted after playing … | |
I have what I call a buildList, or better yet a Wishlist or cart. Inside this "buildList.php" is roughly 10 links, +ADD, that basically act like a button and categorized "part-1, part-2, part-3...etc. When a user chooses one button, lets say "part-1 +ADD", it links to the "contents.php" page to … | |
i want to display the stored image in fdpf. | |
My question is simple: I have a text area that is filled with IP/CIDR's and I want to know how I can retrieve an IP from there and then check the IP as used. The text area (which is implemented in plugin's page configuration and I can edit the configuration … | |
Hello, I want to display the results of the relevant student by querying the student's number from the site, the student exam results that come as a PDF file. Is there a wordpress plugin that can do this? Or basic code. | |
Hello everyone So, my objective is to update four rows in my database (id-> int , status->tinyint) from 0 to 1 and vice verca using a checkbox. This should be done without refreshing the page and using a form without submit button. Based on my research, I was able to … | |
Hy, i have code with php to update data in database mysql, i don't have any error in my code and it succesded to update data, but why the data in database is not change? its same with data before update please help me, this is my update.php code : … | |
Becoming a successful freelance PHP tester is not an easy task by any means. With an increasing focus on PHP development, the testers have to be equally adept with PHP to identify possible bugs and errors. As the competition among freelance testers is growing, you should fine-tune the below skills … | |
| I'm making a movie website and want to make the limit of movies for example 10 per page but every pagination tutorial or guide I find shows only how to do this with lists, I want to do this with cards so it looks like it does on other movie … |
![Screenshot_2021-12-13_112253.png](https://static.daniweb.com/attachments/4/2dbd2f0854c2ff6b22c4e671497ad947.png) <?php // This page is for editing a user record. // This page is accessed through view_users.php. $page_title = 'Edit a User'; include ('includes/header.html'); echo '<h1>Edit a User</h1>'; // Check for a valid user ID, through GET or POST: if ( (isset($_GET['id'])) && (is_numeric($_GET['id'])) ) { // From view_users.php … | |
<?php if (isset($_POST['submit'])) { session_start(); include('connection.php'); $email = mysqli_real_escape_string($conn, $_POST['email']); $password = mysqli_real_escape_string($conn, $_POST['password']); $hash_password = md5($password); $sql = "SELECT * FROM users WHERE email = '$email' AND password = '$hash_password' "; $result = mysqli_query($conn, $sql); $row = mysqli_fetch_array($result); if ($row['email'] == $email && $row['password'] == $hash_password) { echo '<script … | |
Does anyone now if google requires parameters on .htaccess file for php function calls? I used to have a different .htaccess file and my google sign in used to work. Now i changed it and it doesnt. htaccess RewriteEngine On #RewriteBase /api/ Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type" Header add … |
The End.