821 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Ján_6

I need to improve my English communication skill, but I am very boring to use language learning tools/methods, but instead of this I would like remote working on some real PHP/JavaScript/Node.js/DevOps project (where I feel strong) and as a side effect would be practicing English communication. I have max 10 …

Member Avatar for luka98
0
144
Member Avatar for FarrisFahad

Hello Web Developers, Using CSS what is the best way to expand a div to fit it's content? I currently use `overflow: auto` but sometimes the div turns into a scrollable element which disrupts the design. Can this be done in another way like `height: max-content`? Are there any other …

Web Development html-css
Member Avatar for Dani
0
59
Member Avatar for akgreen

I have spent a lot of time on this question, namely, how to programatically use a PHP script to send a PDF document to the printer without launching the Adobe print dialog that results from using arcord32.exe (the adobe reader). PHP has some useful classes for creating PDF's, i.e., the …

Web Development file-system pdf php
Member Avatar for Yogesh_22
7
23K
Member Avatar for NardCake

Hello! I needed a configuration file for a application I'm working on so I first used the built in ini functions in php but it wasn't easy to write the ini files. So I wrote myself a class here to parse a configuration file and write/edit configuration files. I plan …

Web Development php
Member Avatar for Vitaly_1
2
955
Member Avatar for beniwalsanjeev

I have a website, got it developed from someone, Need help in redirecting back after login in php. After Login it redirects to Home Page. But i want user to go back where he came from. logincontroller.php public function checklogin(Request $request){ $phone = DB::table('users')->where('contact','=',$request->input('code').$request->input('contact'))->get(); if(count($phone)>0){ $user_data = array( 'email' => …

Web Development javascript mysql php sql
Member Avatar for Dani
0
291
Member Avatar for davy_yg

Hello, Any ever build web using AMP? What is it really? Is it similar like bootstrap? How to do it? Is it difficult or taking a long time to implement? Thanks in advance.

Web Development html-amp
Member Avatar for Dani
1
903
Member Avatar for Bachu

I created custom post type with custom taxonomy. Its working, but i am facing one issue is http://example.com/taxonomy-slug/%term%/post-title this is my custom post type url exg: http://example.com/products/cars/bmw-z4 Here products -> taxonomy-slug cars -> taxonomy-term bmw-z4 -> product title custom-post-type slug -> products/%custom_taxonomy% this link is working, but also its working …

Web Development php wordpress
Member Avatar for Dani
0
369
Member Avatar for DaveyMoyes

Hi Everyone, I have copied a .htaccess file from one website and I am trying to use the same htaccess file on a different website. here is the copy of the htaccess file I have copied from one site to another... <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^(\d+)/([^/]+)/?$ index.php?uiid=$1&title=$2 [L] </IfModule> …

Web Development apache php
Member Avatar for Dani
0
2K
Member Avatar for Dani

I'm using the following code to verify that an email address has a valid DNS (otherwise, we consider the email invalid). $domain = substr($email, strrpos($email, '@') + 1); $isValid = checkdnsrr($domain, 'MX') || checkdnsrr($domain, 'A'); However, today it just flagged nearly all @gmail.com and @yahoo.com emails as invalid. Obviously the …

Web Development dns email php
Member Avatar for serverjedi
0
890
Member Avatar for MattD00

I want to be able to update my database in order to change some dynamic content on my site which contains movie reviews. First Step I need to be able to select which movie review I want to update by selecting it from a dropdown menu which is dynamically populated …

Web Development mysql php
Member Avatar for Jurijus
1
4K
Member Avatar for Priti_P

Hello, Sorry,This may be a silly question : How to assign ajax return value to javascript array? for example what I want is, I have declared an array in javascript as `all_skills = new Array();` and after that called ajax call in which I want to save the return value …

Web Development javascript
Member Avatar for Dani
0
12K
Member Avatar for jonsan32

I have 5 items listed within a 200x200 box, and would like for the details of the clicked item to appear as either an overlay that spans only that box or as a div that completely replaces the original 5 options. Kinda like an accordion menu, but with the nav …

Web Development html-css javascript jquery
Member Avatar for jonsan32
0
801
Member Avatar for Magic8Computing

I have a table in and MSSQL DB that list period and week start dates for any date in a financial year but the page is only display the week numbers and period number none of the dates does any body have any ideas please. <?php $serverName = 'DESKTOP-R7RU80H\SQLEXPRESS'; $connectionInfo=array('Database'=>'WebPortal', …

Web Development php sql
Member Avatar for Dani
0
455
Member Avatar for Gabriel9999

I have an applications developed with PHP. I have a big text file where I want to match for a word but this can be change in the feature. How can I match a word in PHP?

Web Development php
Member Avatar for samueltarcin999
0
209
Member Avatar for Mike_H

I have a website with a header, three columns and footer that looks good on desktop. When viewed on my phone, the columns remain horizontal instead of going vertical. I have tried several different @media combinations but cannot get it to work. Can some smart person tell me what the …

Web Development
Member Avatar for Dani
0
151
Member Avatar for Xianders

I want to order a website for my online shop, but I have a question: who is better to hire, a freelancer or a company? I can't make the site I want alone because I don't have much experience in creating sites. I think hiring companies is expensive. I don't …

Web Development javascript php
Member Avatar for ZoyaHall
4
988
Member Avatar for Dani

How can I use jQuery's [.stop()](https://api.jquery.com/stop/) to stop *all* animations and not just for one specific selector. In my use case, I don't know the element being animated. Does this function bubble? Can I do something like `$(document).stop(true, false);` ??

Web Development jquery
Member Avatar for Dani
0
507
Member Avatar for Zinavo
Member Avatar for phirux

Hi everybody. I'm trying to print all sub-category items using my own defined PHP function. The purpose of this function is to print all items, which parent value is $parent. There is some thing wrong with this function why it doesn't show information as I wish. To make you understand …

Web Development mysql php
Member Avatar for Dani
0
600
Member Avatar for rebootnewbie

Hi, everyone: I am having trouble with a javascript and would greatly appreciate any help. The script is supposed to select a random video on page load, then continue to play a video that follows it when it ends. When all the videos have been played, it is supposed to …

Web Development javascript
0
533
Member Avatar for davy_yg

Can anyone help me explain what is Machine Learning? I have been googling for the subject and still do not understand what it is. Please help. 1) How could a Machine learn about information? By finding an equation of a pattern? or by having the user inputing a new information …

Web Development
Member Avatar for Reverend Jim
0
514
Member Avatar for larry29936

I'm creating a report page and can't figure out how to convert the array (row) to just get the ip_address. I'm a newbie to php and can't figure out how to accomplish this. Here's the code that I have so far: <?php $filename = NULL; session_start(); // start of script …

Web Development mysql php
Member Avatar for larry29936
0
465
Member Avatar for Alyana Diao

my system is savings account system, in which i tried to redirect to another php page with the same user id that i want to manage his/her account yet , when i deposit all of the users have the same fk, here is my code, hope you help me with …

Web Development javascript jquery mysql php sql
Member Avatar for Dani
0
411
Member Avatar for Nishant_8

it come to my email id but i am getting this error...Syntax error '$names' 9T_VARIABLE) plz help me here is my code <? php $names = $_POST['name']; $visitor_email = $_POST['email']; $visitor_phone_no = $_POST['phone']; $message = $_POST['Message']; $email_from = "rkenterprises9083@gmail.com"; $email_subject ="New Form Submission"; $email_body ="User Name: $names.\n". "User Email: $visitor_email.\n". …

Web Development php
Member Avatar for Dani
0
227
Member Avatar for iraberyl

Hi, its me again. I've seen the other code for looping textbox but it goesn't seem to apply in our script. What we need is a specific text box that loops when the user inputs a certain number of textboxes that he want to put. Example: there's a text box …

Web Development php
Member Avatar for Dani
-1
3K
Member Avatar for Pirakavi

How can I add href link inside the eventRender and redirect another page with id? function calender(data) { if (0 !== $("#m_calendar").length) { spinner.hide(); var e = moment().startOf("day"); e.format("YYYY-MM"), e.clone().subtract(1, "day").format("YYYY-MM-DD"), e.format("YYYY-MM-DD"), e.clone().add(1, "day").format("YYYY-MM-DD"), $("#m_calendar").fullCalendar({ header: { left: "prev,next today", center: "title", right: "month,agendaWeek,agendaDay,listWeek" } , editable: !0, eventLimit: !0, …

Web Development javascript jquery
1
61
Member Avatar for bradly.spicer

Hey guys, I recently started work on Minepress again, I'm having some problems however. I am trying to make a plugin which detects the ip of a minecraft server and results in printing out if its online or not here is display on my site: http://img545.imageshack.us/img545/4404/beaa1f33dce74c6dbee14e6.png as you can see …

Web Development client-server php wordpress
Member Avatar for johnie_1
0
415
Member Avatar for R_4

How can i check if email exists i have this code but it is not working <?php include "Config.php"; function mksafe($data){ $data=trim($data); $data=strip_tags($data); $data=htmlspecialchars($data); $data=addslashes( $data); return $data; } $fname = mksafe($_POST["fname"]); $lname = mksafe($_POST["lname"]); $email = mksafe($_POST["email"]); $sql = "SELECT * FROM `users` WHERE `email`=$email"; $result = $conn->query($sql); if($result->num_rows …

Web Development mysql php
Member Avatar for R_4
0
399
Member Avatar for larry29936

I have some inline css that I'd like to add to an existing styles.css file but have no idea what the format needs to be. Here's what the inline css looks like: <style> .container { display: flex; max-width: 1350px; margin-right: auto; margin-left: auto; padding-top: .3rem; padding-bottom: 1.5rem; } .divL { …

Web Development html-css
Member Avatar for Dani
0
261
Member Avatar for johncam

Hello Everyone, I have some clients and I manage website hosting for few of them. One of my client (Ecommerce store) went live on Product Hunt on Tuesday and his website crashed. Though I have fixed the issue, but I think I cannot work with shared hosting plan in long …

Web Development
Member Avatar for johncam
0
180

The End.