39,326 Topics

Member Avatar for
Member Avatar for Donna_9

Are you a developer looking to improve your WordPress skill set by including WordPress and Bootstrap development together? Well, you’re in the right place. The following is a guide that helps you integrate Bootstrap, a powerful front-end development framework with the world’s most popular CMS, WordPress. For this article, we …

0
947
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
146
Member Avatar for emart53

I have a MySQL table that lists delivery records (customerId, date, quantity, productId, cost). I have a requirement to log certain items from the delivery table into a separate table to track items being sent to quarantined areas. All quarantined products must have a serialized tag affixed for tracking with …

0
56
Member Avatar for R_4

Hi all, I have assigned a column called "friendshipstatus" as a default value =0 in addfriends table that user can add other users to it to be friends as the code bellow which will give any users added as friend in addfriendss table the "friendshipstatus" value of 1 <?php include …

Member Avatar for Dani
0
439
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 …

Member Avatar for Vitaly_1
2
955
Member Avatar for janice_1

Hi i am getting the following error in a php program i am using PHP Warning: A non-numeric value encountered in xxxxxxx db_connect.php on line 60 // find age if(! function_exists('Age') ) { function Age($birthdate) { return date("Y") - substr(trim($birthdate),-4,4); //// THIS IS THE LINE FOR THE SAID ERROR } …

Member Avatar for Dani
0
253
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' => …

Member Avatar for Dani
0
292
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 …

Member Avatar for Yogesh_22
7
23K
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> …

Member Avatar for Dani
0
2K
Member Avatar for Turkish_1

Hello guys and gals. I have finally launched my new website and hope I can get your ideas on the design. The name of the site stands out what it will be used for. The best of all is that it is Free ! Please take a look here https://TurkishClassified.com …

Member Avatar for Dani
0
191
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 …

Member Avatar for Dani
0
369
Member Avatar for MrAmazing
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 …

Member Avatar for Jurijus
1
4K
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 …

Member Avatar for serverjedi
0
891
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', …

Member Avatar for Dani
0
456
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?

Member Avatar for samueltarcin999
0
212
Member Avatar for Yumaris

Notice: Undefined index: ID in C:\xampp\htdocs\tugas\phpdb\ubahsimpan.php on line 10 im tired ,,, how i can fix that? My ubahdata.php <html> <body> <?php $koneksi=mysqli_connect("localhost","root","") or die ("Koneksi Gagal".mysqli_error()); if($koneksi){ mysqli_select_db($koneksi,"buku") or die ("Database gagal dibuka".mysqli_error()); $ID=$_GET['ID']; //Mejalankan Querry $sql="select * from anggota where id_anggota='$ID'"; $qry=mysqli_query($koneksi, $sql) or die ("Querry gagal".mysqli_error()); $data=mysqli_fetch_array($qry); …

Member Avatar for pritaeas
0
241
Member Avatar for mr.matrix251
Member Avatar for rproffitt
0
123
Member Avatar for _deviance_

I'm a PHP developer working full time for opensource PHPFusion CMS for the last 10 years. I'm not here to do any sort of marketing for them, but if you are interested, you can google "PHP Fusion". That being said, I know a little or two about PHP if anybody …

Member Avatar for Dani
0
68
Member Avatar for nishita_1

Dear sir, Please help me about below query. here is two table sale and purchase. i want product wise result in output table like below picture. please help me ![22222.jpg](/attachments/large/4/f8a1f4cfc8eaaad4bde70a850826b310.jpg)

Member Avatar for drmrkrch
0
1K
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 …

Member Avatar for larry29936
0
466
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 …

Member Avatar for Dani
-1
3K
Member Avatar for pankur820
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 …

Member Avatar for Dani
0
422
Member Avatar for macfan

Whats the correct approach nowadays and why: 1. To upload any needed external libs together with webapp in separate folder and than include them (where needed) using relative path, or, 2. Reference remote path (usually some form of CDN), The problem Im facing is I was tasked with writing a …

0
71
Member Avatar for Passy

<?php $sql =" SELECT * FROM `comments` "; $result = mysqli_query($db, $sql); while($row = mysqli_fetch_assoc($result)){ $comment_id = $row['comment_id']; $comment_company_id = $row['comment_company_id']; $comment_name = $row['comment_name']; $comment_content = $row['comment_content']; $comment_email = $row['comment_email']; $comment_status = $row['comment_status']; $comment_date = $row['comment_date']; echo "<tr>"; echo "<td>$comment_id </td>"; echo "<td>$comment_name </td>"; echo "<td>$comment_content</td>"; echo "<td>$comment_email</td>"; echo "<td>$comment_status …

Member Avatar for pritaeas
0
114
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 …

Member Avatar for ZoyaHall
4
991
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 …

Member Avatar for Dani
0
606
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". …

Member Avatar for Dani
0
227

The End.