39,326 Topics
| |
Hey!! i am using php to delete data from database but its not deleting and no error is showing. Please help me. <?php include('connect.php'); $p_No = $_POST['p_No']; $sql2 = "DELETE FROM usersR WHERE p_No = '$p_No'"; $compiled1 = oci_parse($conn,$sql2); $ex = oci_execute($compiled1,OCI_DEFAULT); ?> | |
i am getting this error when i process this form Notice: Undefined index: image in C:\xampp2\htdocs\trail\auction_upload.php on line 10 Notice: Undefined index: image in C:\xampp2\htdocs\trail\auction_upload.php on line 13 <?php session_start(); $_SESSION['message']=""; $mysqli = new mysqli('localhost', 'root', '','auction'); if ($_SERVER['REQUEST_METHOD'] == 'POST') { $item_name = $mysqli->real_escape_string($_POST['item_name']); $item_description = $mysqli->real_escape_string($_POST['item_description']); $item_image = … | |
<?php $username = "system"; $password = "Mwasif2001"; $connectionString = "localhost/ORCL"; $conn = oci_connect($username, $password, $connectionString); if (!$conn) { $e = oci_error(); trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR); } // username and password sent from form $tbl_name = 'USERS'; if(isset($_POST['username']) && isset($_POST['pass'])) { $username=$_POST['username']; $password=$_POST['pass']; } else { echo ('i am here'); } // … | |
This is the error Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() | |
Hello, This is laravel. I wonder why after pressing, Upload Image button nothing happen. I doubt that it even pass the controller. Any clue? setting.blade.php <div id="myModal" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4 class="modal-title">Please input a new background</h4> </div> <form method="post" enctype="multipart/form-data" … | |
How to change submit button with image? | |
Hello everyone, I'm currently developing a webpage that when user input the data needed in Advance Filtering and click on the button'Search Result',the table will show the data needed,but the problem is i get the error of Uncaught TypeError: Cannot read property 'fnDraw' of undefined when the user choose the … | |
Hello there. I'm at a point where I have to set up a continuous integration environment. I have contributed to projects using CI before, but I have never set it up. I roughly know what it is supposed to do, but I could definitely use some help. In my head … | |
Hello, I am trying to create an upload picture pop up but how? So when someone click the following button: <button type="button">Add background</button><br><br> An upload picture pop up appearing. How to create such a thing? | |
Want to add and share something, I have seen people now a days they ask users to comment a link ex. www.abc.com/name When the user comments it that link converts to a shared url which shows a dynamic image and title. Ex. user 1 comments www.abc.com/name1 it will create image … | |
Php Pals, A thought just occured to me and before I delve too much into it, I need your advice. You're aware that, I have been trying to learn web scraping with cURL & Php to: 1. FIRST PROJECT: Build my own web proxy from scratch like anonymouse.org. (Thread: cUrl … | |
I already found 2 entities which are administrator and staff. but i'm lack of idea. would you guys help me out? | |
Hello, Im building a website on Wix builder. I have a database for my customers on an xlsx file, what i need is that when a customer enters his phone number and then click "Okay", if his phone number data found in the database then he will be directed to … | |
| hey guys I'm doing lms project. I created login page and php file. I can't find where I stucked. Here explanation of login form : * Check whether given username and password correct or not.. * If correct then check user type... * redirect to different pages according to user's … |
Hello to all, I am trying to display the images on my page through php from mysql database Problem is - Images are repeating , It always display only first image. <?php include("header.php"); include("connection.php"); $sql = "select Image from flood_light"; $result = $conn -> query($sql); if ($result->num_rows > 0) { … | |
Guys, ... and let's not forget the "Girls"! I am really starting to get pissed off at the searchengines. For 2 days now been googling (tried ask.com now too) searching for web proxy hosts as I want to run a free service like: http://anonymouse.org/anonwww.html But hardly any relevant results. You … | |
Hello to all, I am trying to create an admin panel so that admin can insert data into database. This is my code <?php include("connection.php"); if (isset($_POST['submit'])) { $name = $_POST["name"]; $brand = $_POST['brand']; $quantity = $_POST['quantity']; $detail = $_POST['detail']; $unit = $_POST['unit']; $color = $_POST['color']; $material = $_POST['material']; $image … | |
Have anybody tried to deploy the php applications on Cloudways digitalocean Server. what is the feedback? | |
Hello all, of late I have been using this php snippet to drive the email address of a link info@<?php echo preg_replace('/^www./','',$_SERVER["HTTP_HOST"]); ?> But now Im finding that if its used in a https (secure environment) I get an security messgae saying: The information you have entered on this page … | |
I have site using php frame work codigniter where I am using the mattdiamond/Recorderjs to record an audio file in blob content type then i am uploading it to the server but it is taking top much time to upload I want to minimize my uploading time. Max size of … | |
tell me how to start i and how will i link it to facebook as in i want to make a bot for farmville 2 in php how will i make it please help | |
Hi, I have key.p12 file and password, and I have wsdl file also. But I dont know how to start with SOAP, am new to SOAP I am trying to connect When I try to connect using SoapClient am getting the error [faultstring] => Could not connect to host, [faultcode] … | |
how to split the ajax output response in different dropdown??? | |
hi everyone.. please my code is having an issue... i made a select query and its displaying the error in the IMAGE attached... the code is also attached... pls what could be the error.... the image ain 't uploading....so below is the error... ( ! ) Warning: mysql_fetch_array() expects parameter … | |
I'm trying to create a loop to create 20 text input fields for username & 20 text input fields for password and my current attempt is listed below. It isn't working & if I view source the $i variable doesn't seem to be expanding properly. [CODE]<?php for ($i = 0; … | |
Ladies & Gentlemen! Oops! Let me try again: Gentle Ladies & Hard Men (after-all, it's the ladies who are gentle compared to men and men hard, rough 7 tough compared to the ladies)! And no, don't jest by saying "hard men" sounds like men having an erec**ion as some foolish … | |
I have 3 td's in a portion of a table. Sometimes, the data coming in from the database is less than 3. I need a method that will lay-out the data precisely compared to a rank in the table. Ideal situation: array |-0 |-name => Joe |-rank => 0 |-1 … | |
How do i select the next row in php from mysql table, i have 4 columns `ID, video_title, video_desc, video_embed` so i have more than 10000 rows in the table with youtube embed videos and i want to scroll though them with next and previous buttons but thats not the … | |
I am querying a MYSQL database and would like to return the results so that all of the job numbers that are the same are grouped together and expandable when clicking on the common name. so when the bag loads all you see is a list of job numbers. I … |
The End.