39,320 Topics
| |
Hello Everyone! I am unable to upload fiels using Code Igniter framework. I have one form with the help of it need to upload 4 images in fabrics folder each time. Before uploading images I need to create folder sructure also but unable to do so by giving absolute path … | |
hi all im attempting to update some script and i have a undefined error in a page see coding for error $column = "select * "; $sql .= " from favorites where user_id = '".$_SESSION['userid']."' "; of which the information a want to echo shows up so when i put … | |
Hi, I just need to fetch data from data base from search button on search page and get the result displayed on form in searchresult page.... For eg , if someone has signed up using his phone number or email then whe he enters his phone number or email in … | |
Hello, how can i bypass captcha images when im posting with curl ? i'm sending post but cant get the value of the captcha there some way to do this? thanks . | |
i want to change (.php) to my own extension like (.abc) and it should work like php page in lighttpd server in ubuntu os. Anybody knows how to do this? | |
i want to display my image from a folder but its not work what i change in code to work <?php $dir_path = "/xampp/htdocs/image/"; $extensions_array = array('jpg','png','jpeg'); if(is_dir($dir_path)) { $files = scandir($dir_path); for($i = 0; $i < count($files); $i++) { if($files[$i] !='.' && $files[$i] !='..') { // get file name … | |
i am doing a project, its a database system and i need to use fingerprint scanner.i am using php and i am new to it. is ther a way that i can use fingerprint scanner? | |
hi everyone i need help in my query while user login. <?php $username = $_POST["username"]; $password = $_POST["password"]; $con = oci_connect("user","pswrd","db"); if(! $con) { die('Connection Failed'.oci_error()); } $query = "SELECT username, password FROM users WHERE username=$username"; $stmt = oci_parse($conn, $query); $row = oci_fetch_array($stmt, OCI_NUM);; if($row["username"]==$username && $row["password"]==$password) echo"You are a … | |
hi everyone hope you all are in good. i have query while login form in php with oracle database..... i want to simple login with database html code: <p> <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>"> Username:<br /><input type="text" name="username" size="10" /><br /> Password:<br /><input type="password" name="password" size="10" /><br /> <input … | |
Hello, how to make a button for change image and upload image with database. Please help me <!DOCTYPE html> <html> <head> <div class="profile_info"> <img src="images/user_profile.png" > <div> <?php if (isset($_SESSION['user'])) : ?> <div class="box-body no-padding"> <font size="6%" face="Comic Sans MS"> <strong><?php echo $_SESSION['user']['username']; ?></strong> <i style="color: #00f7fc;">(<?php echo ucfirst($_SESSION['user']['user_type']); ?>)</i></div></font> … | |
else{ echo "Password should not be empty"; die(); } i want to hide a button here is the full code using mysql data with phpmyadmin on online server (not localhost) <!DOCTYPE html> <html> <head> <title></title> </head> <body> <form> <input type="button" onclick="location.href='/question1.php';" value="Go to question1" id="button"> </form> </body> </html> <?php $username … | |
Hello, I am trying to understand someone else code. I find many *.tpl files. Do you have any idea how to make the websites? Whether it's using certain framework or simple php? www.soulfy.com/index.php | |
Hello, I try to send auto mail through laravel using gmail yet getting this error: Swift_TransportException Connection could not be established with host smtp.gmail.com .env MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=465 MAIL_USERNAME=davy.yg1@gmail.com MAIL_PASSWORD=***** MAIL_ENCRYPTION=ssl MailController.php public function SendUndangan(Request $request) { $title = "Undang Saya"; $nama = $request->input('nama'); $telp = $request->input('telp'); $email = $request->input('email'); … | |
Can u tell me how toset a reminder in a calendar and it should show out as a popup notification two hours before the event to occur. | |
here if i click the Generate Employee Id button it should generate the random number in input textfield and then that button should hide after generate the id. how to do that? but, i can automatically generate the random number in input textfiled without the button. that code is below … | |
I wonder why this minus (-) on one place is able to hide the content while the others unable to hide the content, like nothing happen. It has the same codes. You can check the button simulation in : http://fresway.com/ on the right top corner of the articles. apages.blade.php @extends('home') … | |
Hello, I am trying to understand someone else codes: articles.blade.php <div class="notes-nav"> <a href="#" class="btn btn-green btn-act-delete" onclick="deleteTimeLine(this)" data-id="{{$data->id}}" data-type="article"><img src="{{url('')}}/images//icon-trash.png"/></a> <a href="#" class="btn btn-green btn-act-edit" data-id="{{$data->id}}" data-tittle="{{$data->tittle}}" data-content="{{$data->content}}" ><i class="fa fa-pencil"></i></a> @if($data->status=="0") <a href="#" class="btn btn-green btn-publish" data-toggle="tooltip" data-placement="top" title="publish?" data-id="{{$data->id}}" data-status="1"><span class="glyphicon glyphicon-ok"></span></a> @else <a href="#" class="btn btn-green … | |
I am trying to connect to a Microsoft SQL server database using PHP 5.6 and am getting the error "could not find driver". I am initially attempting to use PDO but I could use the procedural version if necessary. I have downloaded the SQL server PHP driver and placed it … | |
hi, Am a newbie in php,i want to set a countdown timer for online quiz in php. when an student login,there wil be a home page and in home page there are two php pages like quiz.php and result.php, So When the studuent selects quiz.php,he will be redirected to quiz.php … | |
Hi, I don't know if this is possible or a really stupid question. I was wondering if after a select query has been executed can the results be filtered for specific values, and not just a single value but 7 different values. with what i want to accomplish its either … | |
Hello. I have a sorting list which is populated with the different "types" and when a "type" is chosen the images along with corresponding info should be displayed but instead the page is blank with no error. I have another sorting which is more or less the same for sorting … | |
My requirement is connect to Oracle database from PHP. XAMPP is already installed in my pc. PHP Version 5.5.11 My system configuration is Windows 7, 64-bit operating system. I downloaded 32-bit instantclient-basic-nt-11.2.0.4.0.zip file and then extracted and copied folder into C drive. I gave this folder path in Environment Variables. … | |
Hi! I have a problem with try to delete some hide suspicious backlinks. I would like try to solve this problem with the unlink() php function. So the hide backlinks should not dissapear anymore. Is this the right function that might to be work for the problem? function delete($var){ $link … | |
hi everyone i need help in my query which is that: 1.which country name i selected from my dropdown list 2.when i select any country_name its show more info in new page.php like (this selected name show more information about country_name e.g. its captical, and cities through database in new … | |
Hi, so this is the most basic thing ever but i am having trouble with it. idk if its because of the code or it just can't be done or idk something. I am trying to retrieve from database by clicking on a [input type submit] button but I am … | |
Hello, I have a products page which lists the pics of the products. I added pagination with bootstrap classes. I have 10 products in my database. I want to limit per page to display only 6 so then the second page should display 4. The issue im facing now is … | |
Hello, I am trying to insert a registration form with password using `password_hash()` but I am not sure what is wrong with whatever i am doing because the password doesn't get inserted into the database although all the other values do and no errors. database : password | varchar(255) php: … | |
Hi, I have a logout script that works just fine but I don't think its actually killing the session(?). so i have index.php, login.php, home.php, session.php, and logout.php. When i logout from home.php I am redirected to index.php, which is great. But when i manually enter the home.php url i … | |
Hi, I am a newbie in developing a website. i have tried to connect using mysqli conncetion Here is my simple code. // db.php code _______________________ <?php //$con = mysqli_connect("localhost","root","","bakery"); $db = mysqli_connect('localhost', 'root', '', 'bakery'); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . … |
The End.