39,388 Topics
![]() | |
Guys, please let me know is anybody aware of the below doubt. php taking hosting server date and time but am in need to find the client time and date who accesing the site. otherwise how to find the date & time in server time zone . | |
Hello,everybody.I am designing a web site with Joomla v1.5 .And I want to display 10 images which are in .jpg format [1.jpg to 10.jpg] as a slide show on the top of all my web pages,I mean that;those images displayed one after one and repeatedly and automatically. Would you please … ![]() | |
Hi: i search as to why my database wont send out emails and find this forum. i find the exact code im using in this forum.. it originally is for xaamp. i need to have it work from my server: http://www.daniweb.com/web-development/php/threads/412468/how-to-send-mail-to-email-address-on-mysql-database. i posted on https://gist.github.com/amkaos/5608094 but i can post code … | |
Hi, i have a form that when filled out sends and email. I want to be able to validate it, so check that all the fields are filled using PHP. I have found this website: [URL="http://www.phpjabbers.com/phpexample.php?eid=27"]http://www.phpjabbers.com/phpexample.php?eid=27[/URL] that i used to validate it but i am not sure how to combine … | |
**Here is my code below:** <?php if(isset($_POST['create'])) { // db connection $dbHost = "localhost"; $dbUser = "root"; $dbPass = ""; $dbName = "emanage"; $conn = mysql_connect($dbHost, $dbUser, $dbPass); if(!$conn){ die(mysql_error()); } mysql_select_db($dbName, $conn) or die(mysql_error()); // prevent mysql injection foreach ($_POST as $key => $value) { $_POST[$key] = mysql_real_escape_string(strip_tags($value)); } … | |
hi I have created the php report using below code. It works fine. But My problem is to group the data example # Date Code Name Rate Qty Amount# 15.01.2011 0001 Milk 4.01 50 200.50 15.01.2011 0125 Choklet 30.00 10 300.00 15.01.2011 0241 Drink 12.50 12 150.00 16.01.2011 5461 Meat … | |
hai friends.. i want to know whether any mobile apps developed by PHP..plz reply...most of the companies choosing java for they mobile apps..it is possible means just tell the tools required for that | |
How to run the interactive PHP shell from the command line interface? | |
Hello, I did this search engine just for one table: <?php $button = $_GET ['submit']; $search = $_GET ['search']; if(strlen($search)<=1) echo "Search term too short"; else{ echo "You searched for <b>$search</b> <hr size='1'></br>"; mysql_connect("localhost","root",""); mysql_select_db("rmworshipers"); $search_exploded = explode (" ", $search); $x=1; foreach($search_exploded as $search_each) { $x++; } $constructs ="SELECT … ![]() | |
` $options[] = array( 'title' => __('Donate to the theme developers', 'default'), 'desc' => __('Note :Donate to the Developers of this theme, Donate any amount to keep the themes free ' , 'default'), 'id' => '', 'std' => '', 'type' => 'sep' ); How do I add a link to … ![]() | |
Hi guys, I'm new here. I have a problem with connecting to my sql database. Everytime when I want to log in, I get this : Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\novi\funkcije.php on line 9 Warning: mysql_query() expects parameter 2 to be resource, boolean … | |
Hello! Currently I am working on a PHP project on my own that is slowly growing, before I really get it out there I want to begin working on some documentation. It's just that I'm unsure on how documentation is usually created, best practices on writing it, and how it … ![]() | |
hallo there, Its a very complicate problem and i wiil try to be as brief as i can. I hope you ll be able to understand my description. i ve coded a script that works perfect in my localhost. When i uploaded the files to a server some things just … ![]() | |
It is not easy to make the choice of a PHP framework. A lot goes into choosing the proper PHP framework especially if you want to use it on a long term basis. A wrong choice of PHP framework may lead to certain disadvantages, like, increased development time, the need … ![]() | |
I am working on an Assignment Problem, a part of Operation Research but the problem am facing is how to assign the task to the agents and then the anomaly where the algorithm has to repeat it self when it is not able to perform the assignment. ![]() | |
Hello, We are sending email using these settings: $config['smtp_host'] = 'ssl://smtp.gmail.com'; $config['smtp_port'] = 465; $config['protocol'] = 'smtp'; $config['mailtype'] = 'html'; $config['smtp_user'] = 'email@gmail.com'; $config['smtp_pass'] = 'password'; $config['smtp_timeout'] = 40; Thats ok it works. For few days. Later it stops sending. THen we go to gmail acount in web interface to … | |
Hi, I am using this SP, am getting both the result when using mysql workbench. CREATE PROCEDURE SP(IN _start INT,IN _end INT,INOUT _count INT) BEGIN SET _count = (SELECT COUNT(*) FROM tbl); SET @qry = CONCAT('select * from tbl limit ', _start, ',', _end); PREPARE stmt FROM @qry; EXECUTE stmt; … ![]() | |
Hi, I've had a look through the forum(s), however, can't seem to find a solution to my issue (and I don't understand the PHP Manual). Basically, got a website linked to a database, trying to pull data from one table and display onto the website where appropriate. I have the … | |
require("conn.php"); $sql = "select * from pemohon where kp_baru='$kp';"; $result = mysql_query($sql); while($row = mysql_fetch_array($result)) { if($row == TRUE) { echo $row['kp_baru']; // can display } else { echo "No KP tiada didalam pangkalan data."; // can't display } } | |
hya ive created a edit profile page for members to fill in and now i need that information to go to members profile page how do i do this ive tried several tutorials in youtube but get nowhere with them i dont need the register or login got that already … | |
I have a problem want to be solved. I have three pages. page1.php, page2.php page1.php has a form with two text field. one text field is for name and another is for number. there is a submit button and a "next" button too. using session I want show given name … ![]() | |
ok here is the login function from my class user which parent class is a Db connection file <?php require_once("DBConnection.php"); class User extends DBConnection { .... .... ... ... public function Login() { $sqlSelect = "select `UserName` from `user` where `UserName` = '$this->userName' and `Password` = '$this->password'"; $result = @mysql_query($sqlSelect, … ![]() | |
I have some functions that returns nothing or some value (obvious), and also having a little trouble with the if and closing, is there a good way to do this? I want to return the value after checking if any of the strings are not empty. Actually it is a … ![]() | |
Hi Friends, I have 5 checkboxes. What I want is..... I want to check 3 checkboxes so other 2 will be unchecked. After clicking the next button a table will appear and checked checkboxes will show in one column and unchecked will be another column. Can you give any idea … | |
I'm using the following code for my paging on my script <?php $pn = 0; $result = mysql_query("SELECT * FROM tbl_product WHERE category = '$cat' ORDER BY id ASC "); $nr = mysql_num_rows($result); if (isset($_GET['pn'])) { // Get pn from URL vars if it is present $pn = $_GET['pn'];// filter … | |
I've got an upload script that generates some stuff in relation to uploads eg File foo.jpg uploaded succesfully<br /> File bar.tiff failed to upload! ... This is all part of a variable called `$message`. How could I pass this to another php script? Thanks for any help | |
G'day, I created my own simple blog with some posts in it, the posts are stored in a folder called "posts" and there in .MD format. I want to put a search engine on my blog when they search anything that looks similar to any blog.. it should show the … | |
Hi All I'm sure I'm missing something very small - and embarrassing! I'm being lazy - I could have entered the data manually, but wanted to automate it. I have a small csv file containing swimming meets, dates and locations along the following lines: May-13;;;; 17;other;Level 1 Program 1;Arboretum; 24;other;All … | |
Hello guys , how are you doing ? I want to create a unified search for many services I have, they are on multiple servers, and each one with its own database and contents. I've tried to connect to those database by using IP address but it refuse to connect … | |
I need to use javascript so that when the one radio button is selected nothing happens but if the other one is (for example, Cheque) it will then validate the field (Cheque Number).. |
The End.