39,316 Topics

Member Avatar for
Member Avatar for NA

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 …

Member Avatar for hericles
0
358
Member Avatar for dpaula

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?

Member Avatar for Sunil_24
0
8K
Member Avatar for NA

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 …

Member Avatar for rproffitt
0
583
Member Avatar for NA

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 …

Member Avatar for rproffitt
0
514
Member Avatar for FlOrInAs14

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> …

Member Avatar for Shankar.Shiv
0
377
Member Avatar for htmlcoder

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 …

Member Avatar for rproffitt
0
786
Member Avatar for davy_yg

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

Member Avatar for hericles
0
169
Member Avatar for davy_yg

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'); …

Member Avatar for rproffitt
0
8K
Member Avatar for joshua john

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.

Member Avatar for rproffitt
0
135
Member Avatar for Indians

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 …

Member Avatar for Prashant_13
0
6K
Member Avatar for davy_yg

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') …

Member Avatar for davy_yg
0
433
Member Avatar for davy_yg

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 …

Member Avatar for gentlemedia
0
351
Member Avatar for mlesniak

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 …

Member Avatar for mlesniak
0
526
Member Avatar for sushmitha_2

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 …

Member Avatar for sushmitha_2
0
18K
Member Avatar for random_1

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 …

Member Avatar for random_1
0
452
Member Avatar for random_1

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 …

Member Avatar for random_1
0
293
Member Avatar for venkatesh_12

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. …

0
88
Member Avatar for Sandra_16

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 …

Member Avatar for rproffitt
0
230
Member Avatar for NA

i want to show calendar in php show in image below connected to oracle database table. ![ywub5.png](/attachments/large/4/10022dd703908aa37616b34022b15f64.png "align-center")

Member Avatar for rproffitt
0
242
Member Avatar for NA

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 …

Member Avatar for AndrisP
0
353
Member Avatar for random_1

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 …

Member Avatar for AndrisP
0
237
Member Avatar for random_1

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 …

Member Avatar for AndrisP
0
301
Member Avatar for random_1

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: …

Member Avatar for random_1
0
504
Member Avatar for random_1

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 …

Member Avatar for random_1
0
445
Member Avatar for Ummu_2

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: " . …

Member Avatar for Ummu_2
0
371
Member Avatar for davy_yg

Hello, I wonder how do you create auto send invoice everyyear as scheduled for each client that you have? Can you create such a program with laravel? Thanks.

Member Avatar for gentlemedia
0
217
Member Avatar for Barry_6

ok, this is possibly an unusual one... I have a friend who owns a shed-load of domain names, which he's always had the intention of setting up with full blown sites over time he isn't a coder, but he is a really good ideas guy Obviously, this means he is …

Member Avatar for john_111
0
379
Member Avatar for NA

( https://i.stack.imgur.com/1LPVk.png ) i mention my link where output show when i press drop-down button then show empty fields but i have values in my sql table link ( https://i.stack.imgur.com/YEopy.png) but it does not execute my values in drop down list..i need help...when i show error it does not dispaly …

Member Avatar for AndrisP
0
1K
Member Avatar for davy_yg

Hello, This is laravel. Please help me fix the quotation so that my program works. <button type="button" onclick="window.location.href = 'route('pemesanan')';">Beli</button> If I click Beli (buy) it should run pemesanan (order) route. I don't think the route works correctly. please help me fix the quotation around the route. Thanks in advance.

Member Avatar for AndrisP
0
294
Member Avatar for Mohd_11

Hello, I would like to change the background color for each rows in Timeline chart based on specific value I,ve retrieve from database. For example, if the $status = '1', the backgrouncolor should be #000000, or else #ffffff var container = document.getElementById('myChart'); var chart = new google.visualization.Timeline(container); var dataTable = …

0
209

The End.