39,326 Topics

Member Avatar for
Member Avatar for timlab55

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

Member Avatar for Biiim
0
98
Member Avatar for 09jesses

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 …

Member Avatar for Mr.M
0
599
Member Avatar for dado.d

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? …

Member Avatar for KirovEli
0
122
Member Avatar for Susan_24

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 …

Member Avatar for Dani
0
240
Member Avatar for Hariharan_2

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)

Member Avatar for Schol-R-LEA
0
76
Member Avatar for joshl_1995

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 …

Member Avatar for Dani
0
3K
Member Avatar for Arsslan

Hi, Please can some one tell me is Cloud ERP Safe to use for your business ? THanks

Member Avatar for TyaSuite
0
120
Member Avatar for Eddie756

**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%** …

-1
37
Member Avatar for nihala
Member Avatar for skymhine

$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 …

Member Avatar for Dani
1
63
Member Avatar for v1

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.

Member Avatar for Dani
0
87
Member Avatar for joy3629

I like to display 5 million roWs in feW seconds in table using Laravel 7 pls help

Member Avatar for rproffitt
0
65
Member Avatar for Rashmi Ranjan
Member Avatar for dazai

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: …

Member Avatar for AdamFriska
0
50
Member Avatar for matei_

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 …

Member Avatar for pritaeas
0
174
Member Avatar for FarrisFahad

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 …

Member Avatar for FarrisFahad
0
65
Member Avatar for digiomate

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 …

Member Avatar for Gamerseo
0
20
Member Avatar for matei_

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 …

Member Avatar for matei_
0
130
Member Avatar for David_239

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 …

Member Avatar for Hemangi_2
1
69
Member Avatar for 09jesses

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 …

0
748
Member Avatar for Raju_3
Member Avatar for matei_

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 …

Member Avatar for Josh Connerty
1
377
Member Avatar for Alican_2

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.

Member Avatar for rproffitt
0
58
Member Avatar for KnowledgeMan

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 …

Member Avatar for Josh Connerty
0
5K
Member Avatar for cokerz_written

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 : …

Member Avatar for Nkem_1
0
268
Member Avatar for Ethan_17

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 …

Member Avatar for LoanHensley
2
119
Member Avatar for Vaske_1

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 …

Member Avatar for ishu_1
0
199
Member Avatar for nur_721

![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 …

Member Avatar for Schol-R-LEA
0
156
Member Avatar for rabbit07

<?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 …

Member Avatar for Biiim
0
444
Member Avatar for SimonIoa

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 …

Member Avatar for Dani
0
55

The End.