[EvolutionCo](http://www.evolutionco.com) is a company that is involved in [mobile application development](http://www.evolutionco.com) and[ Content Development Services](http://www.evolutionco.com). Their innovative approach to [mobile application development](http://www.evolutionco.com) has seen them build the best dynamic Application, focusing on creating an interactive user experience for the visitors. [Content development services](http://www.evolutionco.com) offered by the company include social media marketing, blog writing and ghostwriting. All sorts of digital content are handled by the company. The company is also travelling deep into uncharted territory, foraying into the world of augmented reality and virtual reality applications, further enhancing user experience. Our products include top-end augmented reality solutions, making visitor interaction of …

Member Avatar
+0 forum 0

What are general considerations when choosing an open source library

Member Avatar
Member Avatar
+0 forum 1

Hello php community, Could you help me in my research? I just cannot find what I am looking for. I am working on a website with PHP and MySQL. I am trying to get a filter option on my website to fetch the information from database. Here are the filter options: -All -Team 1 -Team 2 -Team 3 -Team 4 I'm trying to impliment a filter, by pressing it, show specific data from database in my html table. If yuou know of a website/tutorial that can help me please let me know. Thanks Alex

Member Avatar
Member Avatar
+0 forum 1

Hello i have a mysql statement and i want to add more parameters to get different results. SELECT DISTINCT M.message,F.friend_one,F.friend_two, F.role,U.uid,U.username FROM users U,friends F, messages M WHERE ( U.status='1' AND F.friend_one = '88') OR (F.friend_two='88' ) AND F.role='friend' 88 is the users id so i want to show M.message from friends of 88 but not 88 itself hints: when one is becoming friend with other friend_one is 88 -for example- and friend_two another user id or vice versa M table has id of user as a column of course

Member Avatar
Member Avatar
+0 forum 3

I realize that this question has been asked many times, but I've yet to find a flatfile version. I'm looking for a way to achieve this: **Scenario:** A person submits their email address via a form. The email is then stored in flatfile database (.txt) The person then gets an auto-reply email with a link to confirm their email address. Upon confirming after clicking the link, their email address is saved to a new file confirmed_emails.txt for example. Is this possible without the use of a SQL/similar datase, and how can I achieve this? Note: SQL or other database option, …

Member Avatar
Member Avatar
+0 forum 11

Hello there, > colud you please tell me that how can i generate html into csv, actually it display all tr and td into csv file, here i have share my code <?php /*include("wp-config.php"); include("wp-app.php"); include("wp-active.php"); include("wp-settings.php");*/ //include("index.php"); include("wp-load.php"); include("wp-includes/template-loader.php"); header ("Expires: Mon, 12 Aug 1988 23:30:00 GMT"); header ("Last-Modified: " . gmdate("D,d M Y H:i:s") . " GMT"); header ("Pragma: no-cache"); header ("Content-type: text/csv; charset=UTF-8"); header ("Content-Disposition: attachment; filename=report.csv"); header ("Content-Description: Generated Report" ); /* wordpress $wpdb->hide_errors(); @set_time_limit(0); @ob_clean(); header( 'Content-Type: text/csv; charset=UTF-8' ); header( 'Content-Disposition: attachment; filename=woocommerce-product-export.csv' ); header( 'Pragma: no-cache' ); header( 'Expires: 0' ); $fp = …

Member Avatar
Member Avatar
+0 forum 8

Laravel App checks redis database for data pushed by 3rd Party. Laravel Scheduler runs artisan command `php artisan check:redis` every 10 mins. I am expecting about 20k records to be checked every hour at peak times. Please also suggest me if my whole approach as a whole is flawed. 1. Scheduler runs check:redis command every 10 mins 2. check:redis command should dispatch job to be queued 3. Queue will later process jobs and create rows as required. Below is handle() method from `App\Console\Commands\CheckRedis` public function handle() { while(Redis::llen('schema_queue')){ dispatch(new CheckRedisJob($redis->rpop('schema_queue'))) } } and this is `App\Jobs\CheckRedisJob` public function handle() { …

Member Avatar
+0 forum 0

Hey everyone, I'm working on one project of mine and for that I need legit credit card details for testing purpose. Can I develop any small tool or script which can help me out everytime to generate unique credit card details. This way, I can test my billing or payment section easily. Any help would be appreciated.

Member Avatar
Member Avatar
+0 forum 7

Hi, i want to include images in email,i write the following script which unfortunatly not working,please any one help me resloved my issue `$to = "example@gmail.com"; $subject = "new account created"; $body = "New account has been created <img border=’0' src=’http://www.example.com/myimages/track.php?MID=1111&SID=2222' width=’1' height=’1'> " ; $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n"; $headers .= "From: admin@gmail.com"; $neww=mail($to,$subject,$body,$headers); `

Member Avatar
Member Avatar
+0 forum 11

I am working on a anouncement system. the announcements are displayed everywhere in the website, every anouncement has a acknowledge button, basicaly to mark it as seen. what i have: Table: announcements: annId, annTitle, annContent, annDatetime Table: annComplete: annCompletedId, annId, userId, annCompleteDatetime I first pull all the announcements from the table `$result = mysqli_query($link, "SELECT * FROM announcements"); if (mysqli_num_rows($result) > 0) { while($row = mysqli_fetch_assoc($result)) { ` durring the while portion I go to the annComplete: `$check = mysqli_query($link, "SELECT * FROM annComplete WHERE `userId` = "$userId" AND `annId` = '".$row['annId']."'"); if(mysqli_num_rows($check) == 0){` in here I check if …

Member Avatar
+0 forum 0

Hello, This is PHP. Help me understand this code: if($selectDB == true){ $query = "INSERT INTO recruitment (ID, nama, jenis_kelamin, tanggal_lahir, nohp, email, alamat, provinsi, kota, zip, status_nikah, jumlah_tanggungan, agama, file_attachment, cover_letter) VALUES (NULL, '$nama', '$jenis_kelamin', '$tanggal_lahir', '$nohp', '$email', '$alamat', '$provinsi', '$kota', '$zip', '$status_nikah','$jumlah_tanggungan','$agama','$file_attachment', '$cover_letter');"; // "INSERT INTO Customers (CustomerName, ContactName, Address, City, PostalCode, Country) // VALUES ('Cardinal', 'Tom B. Erichsen', 'Skagen 21', 'Stavanger', '4006', 'Norway');"; $simpan = mysqli_query($connect, $query); echo "save - ".$simpan; if(!$simpan){ echo 'failed'; }else{ echo 'success'; } } I wonder why $simpan = '' ? 1simpan - failed? What did I do wrong?

Member Avatar
+0 forum 0

Hello, Recently I am using phpexcel and afer many tries I wasn't able to find out how to make a document with a image in its header. Here is a simplified code that I am using. Can someone helps me with this issue?! <?php require_once 'PHPExcel.php'; $objPHPExcel = new PHPExcel(); $objDrawing = new PHPExcel_Worksheet_HeaderFooterDrawing(); $objDrawing->setPath('header.jpg'); $objPHPExcel->getActiveSheet()->getHeaderFooter()->addImage($objDrawing, PHPExcel_Worksheet_HeaderFooter::IMAGE_HEADER_RIGHT); $objPHPExcel->getActiveSheet()->getHeaderFooter()->setOddHeader("&C&G"); $objPHPExcel->setActiveSheetIndex(0)->setCellValueExplicit('A1', 'CODICE PRATICA'); $objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007'); $objWriter = new PHPExcel_Writer_Excel2007($objPHPExcel); $objWriter->save('test.xlsx'); ?>

Member Avatar
Member Avatar
+0 forum 3

**HELLO GUYS!** I'm Sergey Romanenko a web-developer with strong will for learning and researching new technologies and architectural solutions. I like creating and using specialised tools for making development processes as efficient as possible. Let me introduce my pet project - Flextype! Flextype is Open Source, fast and flexible file-based Content Management System. That's Easy to install, upgrade and use. Flextype provides amazing API's for plugins, themes and core developers! **FEATURES** Simple Easy to install, upgrade and use. No installation needed, just copy files to your server! Fast Flextype is realy fast and lightweight! No database required, flat files only! …

Member Avatar
+1 forum 0

I'm working on the employee management system where i want to calculate employee late hour after after employee punch in? **For Example** ABC Employee Shift Start At : 01:00:00 PM Shift End At : 09:00:00 PM Employee Punch Timing At: 02:30 PM Now how i calculate employee late hour ? **Php Code ** date_default_timezone_set('Asia/Karachi'); $startworkingtime = strtotime('2018/12/3 01:00:00 PM'); $endworkingtime = strtotime('2018/12/3 09:00:00 PM'); $employeecheckintime = strtotime('2018/12/3 02:30:00 PM'); $delta_T = ($endworkingtime- $startworkingtime); $totallate = $employeecheckintime - $delta_T; $hours = round((($delta_T % 604800) % 86400) / 3600); $minutes = round(((($delta_T % 604800) % 86400) % 3600) / 60); $sec = …

Member Avatar
Member Avatar
+0 forum 1

I'm working on the application where I want to calculate the total late hours of an employee from a set of records between the employee timing shift? Example Of Employee Time Shift Shift Start: 01:00:00 Shift End: 09:00:00 Php Code // example 1 error_reporting('0'); $time1 = "01:00:00"; $time2 = "09:00:00"; date_default_timezone_set('Asia/Karachi'); echo "Time difference: ".get_time_difference($time1, $time2)." hours<br/>"; function get_time_difference($time1, $time2) { $date = date('h:i:s a', time()); $time1 = strtotime("1/1/1980 $time1"); $time2 = strtotime("1/1/1980 $time2"); $totalshifttime = ($time2 -$time1) / 3600; $totallate= $totalshifttime - $date ; return $totallate; }? Let's support if ABC employee clock in at 2 pm then should …

Member Avatar
+0 forum 0

I'm doing both SELECT and UPDATE queries using named placeholders. But course data from the database doesn't populate form, as expected. The database table row records don't populate, each time I try to edit a course in the browser. I connect to the database usining PDO. And I do SELECT and UPDATE queries using named placeholders. The following is my "modify-course.php": <?php // configuration require("../includes/config.php"); //select a particular admin by id $admin_id = isset($_GET["admin_id"]) ? $_GET["admin_id"] : ''; $stmt = $pdo->prepare("SELECT * FROM admin WHERE admin_id=:admin_id"); $stmt->execute(['admin_id' => $admin_id]); $admin = $stmt->fetch(); # get admin data if (!$admin) { header("Location: …

Member Avatar
+0 forum 0

I have a form that uploads a news article with it's picture and then stores all the info correctly. I am using codeigniter with Active Record and would like to know how to display the image with the post it was uploaded with. here is my upload script: public function create(){ $data = array('error' => ''); $config = array( 'upload_path' => './uploads', 'allowed_types' => 'gif|jpg|png', 'max_size' => '204800', 'max_width' => '1920', 'max_height' => '1080', 'encrypt_name' => true ); $this->load->library('upload', $config); if(!$this->upload->do_upload()) { $error = array('error' => $this->upload->display_errors()); $data['title'] = 'Create a news item'; $data['main_content'] = 'news/create'; $this->load->view('templates/template', $data, $error); } …

Member Avatar
Member Avatar
+0 forum 4

i am facing some issue in PHP. i have some records against blood report. That are simple some are possitive and some are Negative. i just want to now that from total records. What is the percentage of total Possitive records in my database in Php. Thanks in Advnace. Regards Xffi

Member Avatar
Member Avatar
+0 forum 1

*Hello** This has been a question for a long time / Request for help for a PHP script. A year ago I created a homepage for a friend (online tutoring website) and installed a finished script for an occupancy calendar and did not consider / knew that the server will soon be switching to PHP 7.2. I could already test and adjust the rest of the homepage, but unfortunately I am with my Latin at the end and of course the calendar does not work. The problem is of course the database connection .... mysq under PHP 7.2, which I …

Member Avatar
Member Avatar
+0 forum 1

I'm trying to upgrade my script from PHP 5.5 to PHP 7.2. And that came with the script not able to modify a selected table row as before. The records don't even populate whenever I try to edit a course in the browser. Please, note that I'm connecting to the database via PDO. The following is my script: <?php // configuration require("../includes/config.php"); // query admin table to retrieve current admin's profile $admin = query("SELECT * FROM admin WHERE admin_id = ?", $_SESSION["admin_id"]); if (!$admin) { redirect("login.php"); } // query users table to retrieve admin homepage's contents // $users = query("SELECT …

Member Avatar
Member Avatar
+0 forum 3

I am trying to create a search box on my website that will allow readers to type in search words and display results strictly from all pages of my .org. I found a php code on this website that I think will do this? So I have created a page called "action_page.php" to process the keyword search request with the php code. I am missing something because it is all not working. I can type a keyword in the box and click submit but no results. Do I need to create a separate display results page? Or can I make …

Member Avatar
Member Avatar
+0 forum 9

I installed this php with captcha email form on my website --> http://reusableforms.com/d/d4/php-email-form-with-captcha I have it working. :) But there are two things that I want to change. (1) I want to change the color of the submit button. I have semi done that with the following code: .btn { background: rgba(77, 56, 36, .75); border: 1px solid #271c16; color: #c3db74; } .btn:hover, .btn:active, .btn:visited { background-color: rgba(196, 227, 64, .65); border: 3px solid #c7d8e8; box-shadow: 1px 1px 21px #271c16; color: #271c16; } What is not working is when the form returns with an incorrect captcha entry then the button …

Member Avatar
+0 forum 0

Hello people, I've been working on a registration form project that needs to contain a captcha code that will be validated. Even if the captcha string inserted in the text box is correct, it displays the error "Captcha string is incorrect". Also, even if the captcha part did not exist, the form doesn't seem to save the data to my sql database. Can anyone please try to help me out or check if you can notice any obivous errors with my code? The following code is the PHP and HTML code used for the registration form <?php session_start(); $_SESSION['captcha'] = …

Member Avatar
Member Avatar
+0 forum 1

$query = "INSERT INTO 'user-profiles' ('name', 'avatar', 'description', 'votes', 'pay_methods', 'location', 'user_id') VALUES ('sadj', 'qwesad', 'sadqwdqw', '0','sadsad', 'sadasdsad''4')"; $resultprof = $this -> conn -> query($query); votes and user_id are INT columns, and user_id is a foreign key. Making this insert on mySQL directly it works perfectly, but on my PHP the "success" is false....

Member Avatar
Member Avatar
+0 forum 5

First program is adding a new topic on forum second program reprtesents a form where we can fill data. so it will showing error undefined index conent and topic and the data is not inserted in my database please help me

Member Avatar
Member Avatar
+1 forum 2

Hi I am trying to create a login page from my existing Wordpress Database with custom php file. can any one please help me.

Member Avatar
Member Avatar
+0 forum 4

Hi all I am a beginner and i was wondering can we write a code in PHP by which we can enter keyword in search box of any website and submit. so there will be 2 inputs to this php function: [CODE] function enter_keyword($website_url, $keyword) { } [/CODE] It will be a great help thanks in advance

Member Avatar
Member Avatar
+1 forum 7

Hi all, I am very new to PHP and MYSQL and have a class assignment I need help with. I am trying to make a page with an HTML form that will update my MYSQL database. You can view my pages online here: [URL="http://baileyjumper.aisites.com/Scripting-Week7/homework4/exercise-five.php"]http://baileyjumper.aisites.com/Scripting-Week7/homework4/exercise-five.php[/URL] I need help with the "Edit" section, if you look online. Here is the code for my Edit page: [CODE=PHP] <?php $hostname = "localhost";//host name $dbname = "baileyjumper_imd203";//database name $username = "baileyjumper_imd";//username you use to login to php my admin $password = "chris4ever";//password you use to login //CONNECTION OBJECT //This Keeps the Connection to the Databade …

Member Avatar
Member Avatar
+0 forum 20

Hi All, As part of a university project I need to create a website that sells cosmetic products. The customer will need to go through the motions of selecting the items, placing them into a basket and going through the checkout process. However I wouldnt need to use a card merchant to process the transaction. customers would also need to sign up and create an online account. I have created simple websites before, with HTML and CSS, but thats it. What development langauges would I need to know other than the two above? I assume PHP and Javascript will be …

Member Avatar
Member Avatar
+1 forum 3

The facts: We are talking about a small company (5 persons) with many clients that making real money (we don't) . We provide our own software that has unique features against the e-commerce completion. The problem: the first glimpse of the problem arose around 2012 and made clear around 2014 with web sockets. Some clients didn't want a simple chat with their client but instead a full live eShop where they could negotiate the prices of a product or even start a discussion with a visitor. The solution would be implementing web sockets in to our framework and that worked …

Member Avatar
Member Avatar
+1 forum 6

The End.