39,323 Topics
| |
Hello everyone, I haven been trying to connect to my database but i have been getting this error: Error message: SQLSTATE[28000] [1045] Access denied for user 'mgs_user'@'localhost' (using password: YES) Does anyone know what is causing this error? please advice thanks | |
WELL I AM TRYING TO DO THIS BUT NOT GETTING ANY RESPONSE FORM SERVER DELIMITER // CREATE PROCEDURE getchgp(in ol varchar(100),in nw varchar(100),in sch varchar(100),out res varchar(100)) BEGIN SELECT pass INTO res FROM registration WHERE pass=ol AND schno=sch; UPDATE registration SET pass=nw WHERE schno=sch AND pass=ol; END // DELIMITER ; … | |
I'm having the biggest headache with this code.... Im trying to show the data correctly but it's not showing as i want... Hope you can help me out.... I have the HTML: [code] <table border="0" cellpadding="4" cellspacing="0" class="display" id="results"> <thead> <tr> <th width="10%">Id</th> <th width="10%">Time</th> <th width="10%">User</th> <th width="10%">Name</th> <th … | |
I have a database full of user. This is roughly how the database looks: [CODE]| username | sex | birthdate | zip_code | |----------+-----+------------+----------| | coolUser | M | 02-14-1987 | 90210 | | blueUser | F | 06-16-1982 | 10011 | | . | . | . | . … | |
please help me..!! i urgently need a php script which would send email to a recipient if changes/insert occur in database. Details: suppose i have table name employee with fields: emp_id name email status 1 abc abc@xyz Yes 2 xyz xyz@acb NO now, say if status of emp id changes … | |
I make an image administrator with PHP / MYSQL / AJAX. I try upload image - success! After uploading image I refresh page. uploaded image has added to list. I press delete button - image removes from list. But why it doesn`t remove from mysql list??? File can be downloaded … | |
Hi, I am having problem in receiving e-mail through contact form. contact_us.php [CODE] <h2>Contact Us</h2> <br /><br /> <form action="send_email1.php" method="POST"> <table border="0" cellpadding="2"> <tr> <td>Nama Lengkap: </td> <td><input name="nama" type="text" value="" size="30" /></td> </tr> <tr> <td>E-mail: </td> <td><input name="email" type="text" value="" size="20" /></td> </tr> <tr> <td>Nomor Telepon: </td> <td><input … | |
I tried to use SQL command to rename activity to Activity, but it did not work. | |
How we can develop page like "abc.php=id=" how we can get access data? Please tell some tutorial so i can learn | |
I have a database full of user. This is roughly how the database looks: [CODE]| username | sex | birthdate | zip_code | |----------+-----+------------+----------| | coolUser | M | 02-14-1987 | 90210 | | blueUser | F | 06-16-1982 | 10011 | | . | . | . | . … | |
how i solve the problem mysql_num_rows() expects parameter 1 to b... | |
Dear All I have made a successful html form with mail.php "thing" my only problem is I want to be able to redirect to 2 different thank you pages based on a value entered in the html form. Value field is "Type1" and people can enter either burger, farm or … | |
Hello, I'm having bit trouble about this thing I made I'm trying to redirect the page on 'changing the password' with the use of ACCT_CODE column from member table of alumni database but I can't seem to redirect it. can someone please help me and teach me where did I … | |
Hello there, can anyone help me? i want to put a restrictions in my application form. for example, "Please complete all the fields" and here's my code: [CODE]<?php $posapp = $_POST['txtapplied']; $fname = $_POST['txtfname']; $mname = $_POST['txtmname']; $lname = $_POST['txtlname']; $month=$_POST['txtmonth']; $day=$_POST['txtday']; $year=$_POST['txtyear']; $age=$_POST['txtage']; $eadd=$_POST['txtemail']; $homenumber=$_POST['txthnum']; $cpnumber=$_POST['txtcpnumber']; $address=$_POST['txtaddress']; $religion=$_POST['txtreligion']; $birthplace=$_POST['txtbplace']; … | |
Hello there, Can anyone help me in my problem? My problem is, i need to display a record in the textbox, but it's not working. the record(database) and the textboxes. Thanks :D | |
if column name is course and check this column to db mysql that if course is match with text field name course so not enter this record in mysql db for exmple i m entering already csc1 course and im type csc 1 again then show message "you are already … | |
My program is a simple client database that holds information on tenants. Each tenant has a LONGBLOB column called 'notes' to hold updated information on them. For tenants that have a long list of notes, when the form is submitted the site actually goes to a 404, so their profile … | |
Hello, having a slight problem here.. I have a string, that I need to do character analysis on - Basically finding out how many times "B" is in the text and then ordering this from (lowest to highest). Now I can get the results, but, I don't know how to … | |
hello everyone, i have a problem where i cannot run a php application in the IE. when i run, all the interface not displayed and function. is it true, i need to change the setting at internet option or else... | |
Quick question on PHP and HTML rules. Is the code below valid? I want to use php in the head section and body or a website i'm building but i dont want to add extra work for myself. [CODE] <html> <title>HTML with PHP</title> <body> <h1>My Example</h1> <?php include config.php $here=$_GET['city']; … | |
[CODE] <?php /* Check if a session user id exist or not. If not set redirect to login page. If the user session id exist and there's found $_GET['logout'] in the query string logout the user */ function checkUser() { // if the session id is not set, redirect to … | |
Hello Friends any idea about this how to get facebook feed in php please help me | |
Demo Send Email -------------------------------------------------------------------------------- Kepada : Kamu Subject : Additive Pesan : Pesan Dari : david Warning: require(PHPMailer5\class.phpmailer.php) [function.require]: failed to open stream: No such file or directory in /home/sloki/user/masterli/sites/masterlink.co.id/www/cgoods/send_email.php on line 40 Fatal error: require() [function.require]: Failed opening required 'PHPMailer5\class.phpmailer.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/sloki/user/masterli/sites/masterlink.co.id/www/cgoods/send_email.php on line 40 send_email.php [CODE] <!DOCTYPE … | |
i need a database connection for login for the different types for the form below. I got it done for single type [CODE]<form> <table border="0" width="300" height="180"> <tr><td colspan="2" height="20%"><b>Employee Login</b></td></tr> <tr><td height="20%">Type:</td><td> <select name="type"><option>Select One</option> <option>Doctor</option> <option>Nurse</option> <option>Accountant</option> <option>Security Officer</option> <option>Administrator</option></select></td></tr> <tr><td height="20%">Username:</td><td><input type="text" /></td></tr> <tr><td height="20%">Password:</td><td><input type="password" /></td></tr> … | |
I'm having problems regarding conversion of video to flv format. Below is my command for conversion, but it seems to convert the video to flv but the file size remains 0 KB, what could be the problem, please suggest. My command: $command =$ffmpegPath . " -i " . $srcFile . … | |
Hey everyone, I just have a question about limiting characters on a web page..I have a blog that I've made on my local server..for test purposes and I was wondering if there is a way to have the same thing display on another part of a page like a blog … | |
hello , can any one tell me how can i update a password using procedure in mysql , if the oldpassword is same other wise get any mgs by the procedure . plssssssssss help me out | |
Hello all . I am working on a small search for my website. It requires that i query the database and then display search results. In my database i have multiples. For example john on one row and john on the other. I want to display both of them. For … | |
Hi, I have 2 models in my cakePHP app - let's say ParentModel and ChildModel. They have hasMany association. The parent db table contains about 4000 records, but the child table about 90000 records. I want to delete related datas from tables by using this: [CODE]$this->ParentModel->deleteAll(array('ParentMode.somefield' => 'x'));[/CODE] Works well … | |
Hello I found this class which enables you to digitally sign PDF. [url]http://framework.zend.com/issues/browse/ZF-10950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel#issue-tabs[/url] I downloaded it and also Zend classes. Install openssl to my webserver. The problem is that it shows errors with file paths. my file directory looks like this -www +Zend -Certificate.php -ElementRaw.php and the rest of downloaded … |
The End.