39,320 Topics

Member Avatar for
Member Avatar for MangJuan

How can I get the values in the textbox using the primary key as an input? example I enter the Account no and the Name,address will be displayed in the textboxes

Member Avatar for diafol
0
210
Member Avatar for Lloyd_4

Hi Everton one, I have the following search statement that works great, But what I would like to do is expand this to include multiple LIKE '%$search%' $STM = $dbh->prepare('SELECT * FROM tblname WHERE col=:lsecure'); $STM->bindParam(':lsecure', $search); $STM->execute(); $count = $STM->rowCount(); $results = $STM->fetchAll(PDO::FETCH_ASSOC); What I would like to do …

Member Avatar for diafol
0
175
Member Avatar for Anmol_4

Hello,I need help in updating user image in form. I have form of around 10 fields in there is options for updating images(images which have been uploaded at time of reg)** Max 5 images is allowed **now i am successful in saving data to database and at time of updating …

Member Avatar for diafol
0
174
Member Avatar for shakayu

how to create a waiting list for an appointment in php with codeigniter...any guide please

Member Avatar for diafol
0
1K
Member Avatar for Joe_10

I have a text area that I want a list to be entered. I am trying to seperate each list item and put it into a seperate sql entry. Could some one tell me what I am dong wrong? error_reporting(E_ALL); ini_set('display_errors',1); $textarray = explode("\n",$textarea);if(isset($_POST['textarea'])){ $textarea= $_POST['textarea']; $q = "INSERT INTO …

Member Avatar for diafol
0
898
Member Avatar for Niloofar24

Hello. How can I config django (python framework) with mysql? How can i use phpmyadmin to manage my database while i'm coding in django? Thank you.

Member Avatar for diafol
0
3K
Member Avatar for lloydsbackyard

Please help....i want to save a user to my database..using wampserver... <form method="POST" action=""> <center><br> <H1>USER REGISTRATION</H1> <table> <tr> <td>User Id</td> <td><input type="text" name="userId"></td> </tr> <tr> <td>Lastname</td> <td><input type="text" name="lastname"></td> </tr> <tr> <td>Firstname</td> <td><input type="text" name="firstname"></td> </tr> <tr> <td>Middle Name</td> <td><input type="text" name="middleName"></td> </tr> <tr> <td>Suffix</td> <td><input type="text" name="suffix"></td> </tr> …

Member Avatar for diafol
0
145
Member Avatar for jmishal

Hi, I know parsing json data has been discussed lots but what I want is probably a little simpler I need a little editing to the bleow php script to work as convert json data and push it into MySQL table since the script work as reading the json data …

Member Avatar for cereal
0
3K
Member Avatar for rpv_sen

Hi i want to display runtime server load using php code. I find the below code from other website but i dont know i am going on the correct way. Pleae help me. function get_server_load() { $load=array(); if (stristr(PHP_OS, 'win')) { $wmi = new COM("Winmgmts://"); $server = $wmi->execquery("SELECT LoadPercentage FROM …

Member Avatar for rch1231
0
711
Member Avatar for Stefce

Im making search button and i want when user is searched to give all tickets received by that user i have this code but its just showing the last record of that db table and if i try to search other users gives me `No ticket received from that user.` …

Member Avatar for Stefce
0
150
Member Avatar for tellysk
Member Avatar for toxicandy

Hello, currently on one of my development servers I have SQL Server 2014 installed, the problem I HAD was that when I executed any of my PHP sites connected to various databases I was getting `SQLSTATE[HY2000][2002] Connection was activily refused...` I fixed that error by forwarding the port through the …

Member Avatar for toxicandy
0
402
Member Avatar for janicemurby

hya all i have sorted the checkbox group out and its echoing through ok but its also echoing through userid, username twice and email address when all i want is to echo options ticked any ideals of what can be causing this please php block at top of page: <?php …

Member Avatar for ryantroop
0
248
Member Avatar for hrushi9

I'm using [imgAreaSelect](http://odyniec.net/projects/imgareaselect/) to select image area. I have following values. Need Help to upload original image to "../original-images/" folder & cropped images to "../uploads/" folder. Upload cropped images with new filename "$newfilename" Plz help Thanks in advance. $x1 $y1 $x2 $y2 $w $h $filename = $_FILES["image"]["name"]; $file_basename = substr($filename, …

Member Avatar for hrushi9
0
372
Member Avatar for ramsiva

I am using html 5 for downloading php and open. but pdf file i want to display next tab. any body help me below is my code <a href="image/one.pdf" download="one.pdf" target="_blank"> <img src="image/download.jpg" style="height:50px; width:50;"> </a>

0
90
Member Avatar for Hazuan Nazri

Hello guys, im trying to learn how to use dynamic data table, which means i want to use data table as my searching result table. but i dint know how to make it because when the search result filled in the table, the sort and other "DataTable" function is not …

0
139
Member Avatar for UK-1991

I have created a function for displaying the shortcode within my content same as like don in wordpress not totally like it but some the thing is that when the regex becomes true will display shortcode for the given name but what happening now is it's displaying all within the …

0
136
Member Avatar for mexabet

My login script is displaying the following error message: Warning: Illegal string offset 'hash' on line 30. Here is the code that generates the error: <?php // configuration require("../../includes/config.php"); // if form was submitted if ($_SERVER["REQUEST_METHOD"] == "POST") { // validate submission if (empty($_POST["username"])) { adminapologize("You must provide your username."); …

Member Avatar for mexabet
0
406
Member Avatar for UK-1991

I tried to make a custom php shortcode coverter for my own cms but the shortcodes are not converting in a proper way in the output its not displaying anything though as in replacement of corusel it should display Rollercoaster but right now I am getting output as This is …

Member Avatar for rubberman
0
412
Member Avatar for shibobo2001

I`m creating a simple social network site, I need to implement a sophisticated friend request system, one which works like facebook, this will work as follows: If James wants John to be his friend, he will click John's name. John will be notified that James has asked to be his …

Member Avatar for Brian_3
0
4K
Member Avatar for SAMUEL_8

What is used to add favicons to webpages like this page. Can the normal html php css be able to add favicons or is there a way to do it

Member Avatar for jj.dcruz
0
94
Member Avatar for SAMUEL_8

Am working on an online examination system. I have ordered the question output with "ORDER BY 1 ASC" and it follows as its appears in the database. But I want the output to be randomly generated so that each time the examinee logs in, different question number comes first.

Member Avatar for jj.dcruz
0
106
Member Avatar for Rudi_2

Hi there, I follow this tutorial for my web app. link: http://www.thesoftwareguy.in/creating-multi-user-role-based-admin-using-php-mysql-bootstrap/ Can anyone give me idea to do this same app using mysqli? Thanks.

Member Avatar for diafol
0
238
Member Avatar for João_7

Hello guys, I had to change the host of my web page , now I'm having trouble accessing the page because of problems in the connection string with the base. Error that occurs : Warning : mysql_select_db ( ) expects parameter 2 to be resource , null given in /var/www/web/Classes/AcessDatabase.php …

Member Avatar for rubberman
0
335
Member Avatar for Federico_1

i try to use phpoffice/phpexcel to do this but i haven't an idea of do it... i have this form in html <body> <div align="center">ELENCA TABELLE PRESENTI NEL DB</div> <form action="index.php" method="post" enctype="multipart/form-data"> <table> <tr> <td> Filename: </td> <td> <input type="file" name="file" id="file"> </td> </tr> <tr> <td colspan="2" align="right"> <input …

Member Avatar for rubberman
0
1K
Member Avatar for Bensirpent07

I have a website that has been using background color animations for a while when all of sudden they just stopped working. I can't think of any major change I've done that would have caused it. So I created a folder to test out my jquery.min.js and jquery.ui.js files. Here …

Member Avatar for Bensirpent07
0
320
Member Avatar for Muhammad_104

anybody can help me??, if the structure form like this. <input type="file" name="image_1"> <input type="file" name="image_2"> <input type="file" name="image_3"> <input type="file" name="image_4"> i want to upload multiple image with a single action to codeigniter and save it to database, my database table image coloum : image_1, image_2, image_3, image_4,

0
114
Member Avatar for ebc3142

Hi, I have a "check_login" function which checks whether the user is logged in or not and if it isn't, redirects them to "login.php". When I try going to the page whilst logged in, it displays as it should. However, when I'm logged out and I try it, instead of …

Member Avatar for lisandroivan
0
2K
Member Avatar for Narmada_1

Hi I want to change my carrier from Php to Java. I have 2 years of experience in php web development like wordpress, joomla tools. There after I changed company there on my company request, I learnt java on my own by seeing tutorials. They assigned me spring project I …

Member Avatar for Narmada_1
0
235
Member Avatar for AntonyRayan

Hi, I am new to this concept. I have one master database. and 2 or more client databases. In master database, it has all the clients database username and password, Structure of the all client databases are same. Consider My Master Database is alpha, I have 2 client database , …

Member Avatar for rubberman
0
210

The End.