39,326 Topics

Member Avatar for
Member Avatar for jeffersonalomia

What are the free report designer for php and how can i integrate the designed report with my web application php. Using parameters for dynamic values

0
194
Member Avatar for Anthony_22

Hello, I am trying to prevent my form, from submitting if the file is not an image type file but i keep failing, the array that i am using keeps displaying regardless of the files type. Any help would be grateful. <?php $Manufacturer = $_POST['Manufacturer']; $Brand = $_POST['Brand']; $Model = …

Member Avatar for ryantroop
0
585
Member Avatar for Syed_18

Hi This question or similar were 4 years ago has already been asked but in my situation did not help. I have codeigniter project. in my employee database I have TINYINT field status. if 1 employee is active otherwise inactive. my form is in bootstrap modal. here is switch button …

0
333
Member Avatar for Kim Gabrielle

I am making a webpage wherein I am going to ask for an input through an html form using php, and then call a python script after clicking "submit (flames)" to run and process the Flames game. Can someone help me on how to execute a python script through a …

Member Avatar for broj1
0
7K
Member Avatar for Dillon_4

I am trying to recieve my form email in a more organized html table format. I get the email in code form. How can i get it translated? <?php $howDidYouHear = $_POST['howDidYouHear']; $weddingDate = $_POST['weddingDate']; $weddingTime = $_POST['weddingTime']; $ceremonyLocation = $_POST['ceremonyLocation']; $receptionLocation = $_POST['receptionLocation']; $additionalLocation = $_POST['additionalLocation']; $guests = $_POST['guests']; …

Member Avatar for ryantroop
0
581
Member Avatar for Nrashmra

#Anyone can help? Here is two search by radio button one is requirement type and another radio button is build. I want to search by requirement type or build but it doesn't work...anyone can help to solve this problem, im very stuck! I've been doing this for two days.. I …

Member Avatar for broj1
0
2K
Member Avatar for muhd

Hello, i success display all the record when the button clicked <html> <head lang="en"> <meta charset="UTF-8"> <link type="text/css" rel="stylesheet" href="bootstrap-3.2.0-dist\css\bootstrap.css"> <!--css file link in bootstrap folder--> <title>View Users</title> </head> <style> .login-panel { margin-top: 150px; } .table { margin-top: 50px; } </style> <body> <div class="table-scrol"> <h1 align="center">All the Users</h1> <div class="table-responsive"><!--this …

Member Avatar for muhd
0
500
Member Avatar for hannalex

I am running an E-Commerce store. Working almost a year but didn't get good response. Kindly share some good strategy for ranking. Work I done Already: Daily Content Updating Daily Social Shares 5 To 10 Backlinks In A Week. Photosharing Video Uploading What should i do more. Also kindly check …

Member Avatar for agustina
-2
2K
Member Avatar for SRI SAI

i want to insert invoice values into databade invoice amount limit and split into multiple row if amount is grater than limit and insert it indicia or group

Member Avatar for adam_k
0
212
Member Avatar for muhd

I have 2 user which is officer and admin. The officer fill in the form. Admin will open the form, see details of officer and fill his detail. The problem is i success output all the information fill by the officer but when the admin fill the data not in …

Member Avatar for t_thakar
0
428
Member Avatar for Anthony_22

i have been trying to upload image files in to my database but i failed in many ways, the form saves everything except the image files. i am not sure if its the php or the java or the html page, honestly i lost my path. i have included all …

Member Avatar for ryantroop
0
654
Member Avatar for Gurjit_2

Hello Daniweb community, I have an app that is built on custom MVC design pattern. The app is designed that when the controller is empty, that is when $url[0] is empty, then the app should automatically redirect to index. The code to do this is found on bootstrap.php and looks …

Member Avatar for Gurjit_2
0
889
Member Avatar for janicemurby

hi im working on a php script and i have come across the following error does anyone have a ideal what can cause this the error is: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/letsswin/public_html/dating_V1/dating/admincp/educations.php on line 74. the code where it …

Member Avatar for ryantroop
0
713
Member Avatar for Anthony_22

Hello guys, its been some time now i have been strugling with this error, evertime i submit my form it give me this error "Column count doesn't match value count at row 1 " and i cant find a way around this. Any help would be very appreciated!!! <?php if($_POST['phpfunction'] …

Member Avatar for urtrivedi
0
542
Member Avatar for Kim Gabrielle

Hello there. I am creating a web page using php wherein a user will login then after clicking the button, it will run the python script I made. Is it possible for the python script to run and get the user input value then save it on a variable on …

Member Avatar for Kim Gabrielle
0
789
Member Avatar for Dani

I was attempting to store chat logs in a MySQL database where the message field is utf8_general_ci However, when it came across an emoji, it would choke, and the message field would only include text up to the emoji character. I changed the message field to be utf8mb4_general_ci, which seemed …

Member Avatar for blud
0
11K
Member Avatar for Aamit

hi, I am created 3 tables for 1> category 2> subcategory 3> projectdetail In my website folder structure root-index.php, header.php footer.php folder- about -index.php and other files folder - project- index.php folder - err- 404.php In my php page project/index.php i make left column dynamic, i.e call value from table …

Member Avatar for Sapna_3
-1
8K
Member Avatar for SimonIoa

Hello i have a problem with my Ionic App. I am using typescript files. I am getting console log `No Access` that means there is a problem with `resposeData`. Any hint? I am really stuck home.ts file import { Component, ViewChild } from "@angular/core"; import { NavController, App, AlertController } …

0
413
Member Avatar for Justin_22

Hi, I have an update page to update the data that are stored in the database. The page is able to extract all the data from the database that are stored. The select option is dynamic dependent select option. I am facing the following issues: 1) select option correctly extracted …

0
202
Member Avatar for Jedrzej

Hello! I'm learning to program. I'm watching courses on how to create blogs in "laravel". I created an admin panel with the function of adding the article "form html". it is: title, description, text field - name is "section" I would like to add a button to add another "section". …

0
202
Member Avatar for Med_2

I have this code that automatic calculate's the total quantity of the two textbox. The problem is it only works on the first row and first modal of the table when i try to click and enter values on the second row with the modal it doesnt work anymore. ![sample.png](/attachments/large/4/df4a066ffa07efde39e7e9df4be57db9.png …

Member Avatar for urtrivedi
0
280
Member Avatar for mubashir_2

Hi everyone I'm wanderring if their is any way to create a folder name user id when user upload a img And whenever he or she uploads another img It goes directly to that folder I'm new to php Any help is appreciated

Member Avatar for urtrivedi
0
158
Member Avatar for Ritesh_8

Hi I am working on a payroll project and I am coding with php,html,js and mysql on xampp server. I have a salary sheet code which needs to be printed in pdf format for each employee with their names as the pdf filename. on running the php page the js …

Member Avatar for urtrivedi
0
7K
Member Avatar for janicemurby

hi im attempting to update a php srcipt and fixing errors and i have a error in the following block but cannot work out where if($_SERVER['REQUEST_METHOD']=='POST' && isset($_POST['smcomplete'])){ if(empty($_POST['abouth'])) $err_h = $aboutherorhis; elseif(strlen($_POST['abouth'])<6) $err_h = $datashort; else{ ERROR ON THIS LINE>>> $match = ($_POST['matchsame']=='on')?1:0;slBodyType'], $_POST['slHeightfrom'], $_POST['slHeightt $data = array($_POST['rdgender'], $_POST['slagefrom'], …

Member Avatar for janicemurby
0
293
Member Avatar for gentlemedia

I'm using `file_get_contents()` to parse data of a JSON file within a `foreach()` loop onto my page. <?php $url = 'data/gigs.json'; $data = file_get_contents($url); $gigs = json_decode($data, true); foreach ($gigs as $gig) { echo '<tr>'; echo '<td><time>' . $gig['date'] . '</time></td>'; echo '<td>' . $gig['event_venue'] . '</td>'; echo '<td>' . …

Member Avatar for gentlemedia
0
339
Member Avatar for ryantroop

Looking for conceptual help... I am writing a program in C++ to handle socket connections, eventually to be a websocket server. However, the rest of my stack uses PHP for serving up page. Is there a way to use PHP as an intermediary between the client (JS) and the application …

Member Avatar for ryantroop
0
468
Member Avatar for niranga

Hi All, I have a PHP code which do some changes to the POST variables it receives and redirect the page to some other page. This PHP code was initially designed to work without Ajax. So there wasn't any problem with the redirect function and it perfectly handles the POSt …

Member Avatar for Mukul_2
0
13K
Member Avatar for danielbala

hi... this is my index page... include("config.php"); session_start(); if($_SERVER["REQUEST_METHOD"] == "POST") { // username and password sent from form $myusername=addslashes($_POST['username']); $mypassword=addslashes($_POST['password']); $myusername = stripslashes($myusername); $mypassword = stripslashes($mypassword); $sql="SELECT id FROM admin WHERE username='$myusername' and passcode='$mypassword'"; $result=mysql_query($sql); $row=mysql_fetch_array($result); $active=$row['active']; $count=mysql_num_rows($result); // If result matched $myusername and $mypassword, table row must be …

Member Avatar for 3.15127E+11
0
10K
Member Avatar for scrivomcdivo

Hey folks. I currently have a large JSON file made up of entries similar to the below. The file contains information relating to photographs:- [CODE]{ "SourceFile": "C:/Users/Me/Desktop/Photos/5294030805_9497032cd7_o.jpg", "ExifToolVersion": 8.63, "FileName": "5294030805_9497032cd7_o.jpg", "Directory": "C:/Users/Me/Desktop/Photos", "FileSize": "1094 kB", "FileModifyDate": "2011:09:09 22:40:39+01:00", "FilePermissions": "rw-rw-rw-", "FileType": "JPEG", "MIMEType": "image/jpeg", "JFIFVersion": 1.01, "ExifByteOrder": "Big-endian (Motorola, …

Member Avatar for Hex_1
0
6K
Member Avatar for Jiaxin

Hi, I got this error. Please help. Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in $result_1= mysqli_query($link, "SELECT $criteria FROM table ORDER BY '".$crieria."' ASC); $array1 = array(); while($row = mysqli_fetch_array($result_1)){ array_push($array1, "$row[0]->$criteria", "$row[5]->$criteria" , "$row[10]->$criteria"); }

Member Avatar for Rakesh_13
0
81K

The End.