39,388 Topics

Member Avatar for
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
294
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
470
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
Member Avatar for JP

I am new to PHP and MySQL and I will really need some assistance. Whenever I fill in all the information and submit my form, It successfully adds all information to the database. But the only issue is at the level of the images. When I upload two or more …

Member Avatar for ryantroop
0
370
Member Avatar for DOUGLAS_8

Hello . Suppose I have a product table with attributs id, name, quantity, image, description. and I have another table image which contains id, productId, imagepath. and I have a form like this <form method="post" action=""> < input type="text" name="name" /> < input type="text" name="quantity" /> < input type="file" name="images[]" …

Member Avatar for ryantroop
0
147
Member Avatar for Roozbeh_1

Hello, Happy new year guys.. I am trying to find a way to Upload and Display multiple images for one product on an ecommerce website that I am working on! At the moment I can only upload one image for each product. My current code is bellow: **This is upload.php** …

Member Avatar for ryantroop
0
4K
Member Avatar for den_3

hi, im den and started to learn php. i need help on how to code. the problem is something like this: in my mysql database there are input personnel. i want to make a choice who among those personnel im going to let join in a training class. my premise …

Member Avatar for den_3
0
307
Member Avatar for Mr.M

Hi DW. I am able to purchase from my online store but I don't seem to be able to get the pass through data which whould be sent to my notify_url. Payfast is my payment gateway and now it does call my notify_url because two files are created after I …

0
567
Member Avatar for aixlu
Member Avatar for Natalia_3
0
3K
Member Avatar for James_90

Hi all - also new to PHP/SQL and have a different question on a similar question posted - I need to create a page in php that allows the user to select a date range to and from. Howver, the date stored in the database is unix such as 1494548767 …

Member Avatar for Amelia_4
0
2K
Member Avatar for Dilawar_1

Actually i want to add both the values of ids 2 and the ids 3 <form method="post" name="fo" action="#"> <input type="text" name="ids[]" value="2"/> <input type="text" name="amount[]" value="100"/> <input type="text" name="ids[]" value="3"/> <input type="text" name="amount[]" value="200"/> <input type="text" name="ids[]" value="2"/> <input type="text" name="amount[]" value="300"/> <input type="text" name="ids[]" value="3"/> <input type="text" name="amount[]" …

Member Avatar for john_111
0
405
Member Avatar for davy_yg

Hello, I am trying to learn the basic of Installing CRUD Booster in Laravel. I wonder how to create the databases? I cannot understand the manual. http://crudbooster.com/doc/5.3/intro I am getting this error when trying to run: http://localhost/crudbooster/public/admin/login ErrorException (E_ERROR) SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) (SQL: …

Member Avatar for davy_yg
0
2K
Member Avatar for NA

i want to show my graph values but its show null output. i show you in image output also // JavaScript Document $(document).ready(function(){ $.ajax({ url: "data.php", method: "GET", success: function(data) { console.log(data); var playerid = []; var score = []; for(var i in data) { playerid.push("Player " + data[i].playerid); score.push(data[i].score); …

Member Avatar for stultuske
0
355
Member Avatar for Rabeya_3

I want to check whether a fiverr user name exist or not. for example https://www.fiverr.com/samori will return true but https://www.fiverr.com/samorissss will return false. I tried using @get_headers($file) but it always return false for any urls Can anyone please help me.

Member Avatar for rproffitt
0
336
Member Avatar for Lloyd_4

I have a url that contains variables - For Example: reset/password.php?var1=12345&?var2=abcde I would like to know how I can remove (hide) the variables from the url, So no one knows with the values are - But still use them on my page? I am creating a password reset for a …

Member Avatar for abubaker_2
0
260
Member Avatar for mexabet

I'm trying to create an online learning courseware and connecting to MySQL database via PDO. What I'm trying to achieve is: if a user is logged in after registering for a particular course, the courseware should display the registered course, as well as its course weeks. I want each course …

Member Avatar for broj1
0
357
Member Avatar for SimonIoa

Hello i want to access my SQL database with a Android Studio Emulator. I use `ionic cordova run android` and the project/app begins correctly but when i put the credentials (username and password) it stucks there. It works fine when i use `ionic serve` Any hint?

0
266
Member Avatar for janicemurby

Hi i have several user types i.e female, male couple etc and when they register each group goes to there own page for profile setup but when they login they go to one standard profile page that came with script how would i redirect them to there own profile page …

Member Avatar for broj1
0
211
Member Avatar for Mr.M

This may sound confusing but I have a textbox which is a cell number textbox and I want when the max length of 10 has been reached then fire the php code which is inside the same html page as form and this php code will then get the value …

Member Avatar for Mr.M
0
6K

The End.