821 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Coderunner

Hello helpers, I'm having a problem with sorting (3rd column) a flat file. flat file looks like this: 20210103|~|3 jan 2021|~|Harold|~|m| 20210121|~|21 jan 2021|~|Elly|~|f| 20210213|~|13 feb 2021|~|Silvy|~|f| 20210330|~|30 mrt 2021|~| George|~|m| Now I want to save it in a new flat file sorted on the **3rd column** Result: 20210121|~|21 jan …

Web Development php
Member Avatar for Coderunner
1
143
Member Avatar for Nur Fatin

1.Write the SQL statement to list all columns of the Product table for products costing more than $50. Order the results by product manufacturer (ProdMfg) 2.Write the SQL statement to list all columns of the Product table that contain the word Ink Jet in the product name 3.Write the SQL …

Web Development
Member Avatar for rproffitt
1
49
Member Avatar for Mohammad_94

Hello, I'm facing loding issue on my[ Grocery store](https://www.chococraving.com) when i swiches to clouldflre CDN service. They load much higher then normal. Have any perfect configure for clouldflare for DNS settings. We website is Wordpress based and using Digital Ocean Hosting. Thanks in advance. Salman

Web Development cdn
Member Avatar for Dani
0
44
Member Avatar for Vandu_1

9. Write a JavaScript program to generate n number of random numbers and store them in an array. Sort the generated numbers in ascending order using array sort method. Develop separate functions to find mean and median of numbers that are in the array. Display the results with appropriate messages.

Web Development javascript jquery
Member Avatar for Schol-R-LEA
1
52
Member Avatar for arshad02

Hi, I am looking to create a multis-step filterable gallery as shown in the attached image. I am using wordpress Please help! ![Blank_diagram.png](https://static.daniweb.com/attachments/4/0de051fa654c8be5beadd2182ebb45c4.png)

Web Development wordpress
1
38
Member Avatar for ramyayarrapothu

$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://livehealth.solutions/getAllTestsAndProfiles/?token=3f115cd0-c79b-11eb-b07b-0aa43715764a', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'GET', )); $response = curl_exec($curl); curl_close($curl); $resArr = json_decode($response); echo "<pre>"; print_r($resArr); echo "</pre>"; **displays the list of array values... as shown …

Web Development php
Member Avatar for Dani
0
1K
Member Avatar for patk570

Hi Everyone, I am looking for a way to add a username to confirm a seat choice for certain weeks, I already have the PHP Code to confirm the seat when choosing but on the image i would like for it to display the username so other people know its …

Web Development html-css javascript jquery php
Member Avatar for rproffitt
0
1K
Member Avatar for r4ds

Hello. I have this code. I want to show 'correcto' when 'response' is 'ola', but not working. I have this procedure to do it fails: -Change php response (echo) to number,, `echo "ola";` to `echo "25";` -Change javascript,, `if(response == 'ola')` to `if(response == 25)` <script src="jquery-3.5.1.min.js"></script> $.ajax({ type: "POST", …

Web Development javascript php
Member Avatar for r4ds
0
91
Member Avatar for nalb4242

Hello i have question i am new at using aspx and c# .. after i get my website from server using FTP i can access the aspx page only but i can not view the code of c# behind it .. i think they are saved in bin file but …

Web Development asp asp.net c#
Member Avatar for Schol-R-LEA
0
72
Member Avatar for helloworld2021

hi everyone, i want to display content of div into sweet alert message and here is my code <?php echo '<script> var swal2container = $("#swal2container").text(); setTimeout(function() { swal({ title: "Alert!", text: swal2container, type: "error" }, function() { window.location = "index.php"; }); }, 100); </script>'; ?> <div id="swal2container">test</div> i still cant …

Web Development javascript jquery php
Member Avatar for jeet_4
1
2K
Member Avatar for Adolfo_1

I have three tables in mysql which make up the dropdown menu, as below code. I would like to get a $ breadcrumb variable with link from this menu. Example: Home / Woman Home / Woman / Clothes Home / Woman / Clothes / Women T-Shirth-2 It is possible?? <div …

Web Development html-css mysql php
Member Avatar for Adolfo_1
0
470
Member Avatar for radhika_3

$text = "#########################\n"; $text .= "xxxxxxxxxxxxxxxxxxxxxxxxx\n"; $text .= "-------------------------\n"; $text .= " \n"; $text .= "-------------------------\n"; $text .= "Cultivate Orderly Queuing\n"; $text .= "Thank you for your visit\n"; $text .= date("d/m/Y h:i:s")."\n"; $printer = printer_open("EPSON TM-T82II Receipt"); //open printer printer_set_option($printer, PRINTER_MODE, "RAW"); printer_write($printer, $text); printer_close($printer);

Web Development php
Member Avatar for rproffitt
0
155
Member Avatar for Manggala

I need help for my code after the user done register for their new account in my system. Here is the verification link that the user will receive via email for him/her to verified the email: `http://localhost/staff/email_verification.php?activation_code=49024f2e7b8c05dc1g66005g780g6060 ` But, when the user click on above link, I notice based on …

Web Development mysql sql
Member Avatar for Dani
0
152
Member Avatar for panda32

Hi guys, i am looking for new hosting for a website i am building. I have checked a few companies on this site, https://www.superbhosts.com/ but can't make my mind up? By the way its a wordpress site. Needs to be good fast hosting.

Web Development web-server
Member Avatar for pollybarker419
0
90
Member Avatar for Dani

I've tried absolutely everything!! How can I flush the output buffer in CodeIgniter from within either my controller or my view?? They use some weird double/fake output buffer or something. Grrr!

Web Development codeigniter php
Member Avatar for Dani
1
4K
Member Avatar for Fedwa

Hi everyone here, I'm trying to show information about the material according to the year of meeting(is a meeting when they decide to buy a new material) so I use a drop-down list and the information will show according to the year chosen by the user, but it shows the …

Web Development file-system mysql php sql
Member Avatar for Dani
0
6K
Member Avatar for potato_1

Hello, I want to use the checkbox to update the status of a row in mysql using php. If it is checked and submitted, the status will change from 'collect' to 'received'. I tried many ways but I am not sure where the problem is :( please help! <?php include(config.php); …

Web Development mysql php sql
Member Avatar for Dani
0
1K
Member Avatar for Madhvi_1

Write PHP Script to insert data into STUDENT TABLE with fields (roll,first_name,Last_name,city,contact,gender).

Web Development mysql php
Member Avatar for Dani
0
201
Member Avatar for Ayshhh
Member Avatar for Dani
0
89
Member Avatar for wackyal

how do you extract all email addresses from a string and put each extracted email address as an element of a simple array? <?php // define and implement your php function here function get_all_emails($text_field) { // ---- Beginning of Green Section --- // create an empty array $emails = array(); …

Web Development email php
Member Avatar for Dani
0
3K
Member Avatar for David_208

Ci-après le code : <?php $query = "SELECT ownerID,ownername,ownerbureau, is_deleted FROM notes.owner WHERE is_deleted = 0 AND ownername IS NOT NULL ORDER BY ownername,ownerbureau"; // Prépare une requête à l'exécution et retourne un objet $stmt = $pdo->prepare($query); // Exécute une requête préparée $stmt->execute(); $previousGroup =""; $first_group = true; ?> <select …

Web Development php
Member Avatar for Dani
0
95
Member Avatar for ChrisJ

Is it possible to add scrolling text across the page/video-camera-screen? On an html page, it uses this code: accept="video/*" in this context: <input type="file" name="fileToUpload" id="fileToUpload" accept="video/*" capture="user" onchange="submitForm();"> and when you view the page via mobile, and tap the page, your video camera screen appears. I'm looking to see …

Web Development html-css javascript php
Member Avatar for rproffitt
0
196
Member Avatar for Richard Dickson
Member Avatar for Sathyaprakash

I have added a custom code to validate the phone numbers to be 10 digits on checkout fields. Here is the code add_action('woocommerce_checkout_process', 'phone_number_validation'); function phone_number_validation() { global $woocommerce; if ( ! (preg_match('/^[0-9]{10}$/D', $_POST['billing_phone'] ))){ wc_add_notice( "Incorrect Phone Number! Please enter valid 10 digits phone number" ,'error' ); } } …

Web Development php wordpress
Member Avatar for Dani
0
265
Member Avatar for hennel

Good day I am trying to get a total of two numbers. The first number I need to get form my page (the number changes every few seconds (crypto clicker) Second number must be 35 This is the code I got after search, but do not know how to get …

Web Development html-css java
Member Avatar for hennel
0
92
Member Avatar for mildered

i am new here and and want to know about the web development. i want to become a professional web developer. i am confused about where to start? can anybody help me.

Web Development html-css wordpress
Member Avatar for Dani
0
73
Member Avatar for apu_923

Hello every one I'm new here I need your help I'm newbie in PHP and littlebit understand on the PHP so I need your help I'm going to make a page of user account setting in which user upload his/her image update his/her name email and also change his password. …

Web Development php
Member Avatar for Dani
0
73
Member Avatar for komalgul
Member Avatar for Reverend Jim
0
51
Member Avatar for r4ds

Hello. It is something very simple for someone who knows javascript. How to capture the text content of the pressed element? Important is that the page is built with PHP. <li><a onclick='cat();' href='#'>Text 1</a></li> <li><a onclick='cat();' href='#'>Text 2</a></li> <!-- Above PHP, important: text content element is dinamic--> <script> function cat() …

Web Development javascript
Member Avatar for r4ds
0
175
Member Avatar for Ed_279

I run the bridge game on a Monday evening and just recently I brought in a card dealer so the computer can select the cards and deal them into 4 hands. 20 sets of these hands and we can play for the evening. My problem is putting the dealt card …

Web Development adobe php
Member Avatar for Dani
0
114

The End.