39,316 Topics

Member Avatar for
Member Avatar for Hilal2009

I have almost one year programming experience in PHP, but always I'm facing a greate challenge of capturing spesific Time when user submit a post into a forum. Simply I have created MySQL Database table which store date, Time, and user coment, But when user submit a coment to the …

Member Avatar for diafol
0
5K
Member Avatar for JulieR31392

Hi there im having a issue sending to yahoo aol ect. but can send to icloud. below is the code any idea what im doing worng. Like i said it send fine to icloud. $message = "Hello \n Thank you for registering with us. Here are your login details...\n User …

Member Avatar for Borzoi
0
150
Member Avatar for ankit1122

how could i send email to list of email addresses inside a mysql database?? i want to create a site helping students find home tuitions. when students fill form regarding subjects they want tuitions ,concerning teachers should get e-mail..tell how can i do this??

Member Avatar for Banderson
0
400
Member Avatar for Jack_9

I'm a PHP developer and me and some other developers that I have seen have developed some applications that aren't for websites using PHP. Is PHP still considered a "web" language, or not?

Member Avatar for veedeoo
0
236
Member Avatar for sundeep.gurroby

hello,i have no idea where i will put the passwod_verify function and what i must code the verify exactly in order to get the plain txt password be compared with the hashed version ? my code is below and part of my database also. <?php require_once('Connections/bankusers.php'); ?> <?php session_start(); ?> …

Member Avatar for sundeep.gurroby
0
619
Member Avatar for Sammys.Man

Hi guys, Was wondering if anyone knows of any tutorials or code so that i can learn how to create charts from scratch. also i havent learnt any javascript so is there another that this can be done? i have tried playing with phpgraphlib, but i cannot seem to dynamically …

Member Avatar for Sammys.Man
0
131
Member Avatar for Jake2025

Greetings, I am having a problem on retrieving the users firstname after logging in. Here's my code <HTML> <BODY> <?php session_start(); include ("connectDB.php"); $stud_test_ID = $_POST["testIDtxt"]; $password_Field = $_POST["Passtxt"]; $insertSql = "SELECT firstName FROM testdb WHERE stud_Id = '$stud_test_ID' And Password = '$password_Field'"; $result = $mysqli->query($insertSql); $numrows = $result->num_rows; if($numrows==1) …

Member Avatar for DJBirdi
0
164
Member Avatar for malatamil

downloadsingledata_csv.php <?php /*mysql_connect("mysql1408.opentransfer.com", "A894703_Allspa13", "Beauty_13") or die(mysql_error()); mysql_select_db("A894703_beautyspa") or die(mysql_error());*/ $id = $_GET['id']; include('db.php'); $count = 0; $sqlquery = "SELECT s.Companyname,s.ContactPerson,s.EmailId,s.Url,cp.`city_id`, rc.`RelatedCatagory`,ck.MainCatagory,st.state FROM `spa` s left join relatedcatagories rc on rc.spaid=s.id left join catagorykeywords ck on ck.id=rc.mainCatagoryid left join subcatagorykeywords sub on sub.id=rc.RelatedCatagory left join city_place cp on cp.spaid=s.id left …

Member Avatar for malatamil
0
234
Member Avatar for Vishnu_4

Hi, I have strings like '00101', 00010, i need to find out the count of occurence of 0 from the begining of the string only.In the case of first string i need the count should be 2 and in the second case count should be 3.How can i do this …

Member Avatar for urtrivedi
0
151
Member Avatar for mark.giles.14

Not sure exactly how to ask the question of what Im trying to do but will try explain it and insert the code. But the basics of the question is Im running a sports website with a database with several tables. PersonProfile Coach_Career League Club all linked via fields PersonProfile.pid …

Member Avatar for mark.giles.14
0
234
Member Avatar for Sanjeev.

how to pass selected datagrid text value to other php page message box ??

Member Avatar for urtrivedi
0
146
Member Avatar for davy_yg

Hello, I am looking for opensource messages that similar to email for internal admin elearning? Is there such a thing? Thanks in advance. Davy

Member Avatar for veedeoo
0
320
Member Avatar for Jack_9

Can you make an android app with the languages PHP JSON and others like that? Like is there a specific frameworkd for it to run on? Any answer is gladly appreciated.

Member Avatar for veedeoo
0
223
Member Avatar for mexabet

I'm having an issue with coding a script that enables a logged in user to change his/her password. But when the form is submitted, a strange, blank page is displayed. There's no error message. Can you guys please, help me to resolve this issue? I'm not yet proficient in PHP …

Member Avatar for cereal
0
342
Member Avatar for accra

Hello, i want to allow my users to reset their passwords if they forget it. My problem is that i lose the code sent to user via email, if this is the link sent to user via email http://localhost/citi/forgot.php?code=8b15388bc5ca7e2821ab6ce59b465f684942dd7901f4e31439575ab72028f84f , when the user get to forgot.php and type in the …

Member Avatar for cereal
0
450
Member Avatar for Jack_9

I was wondering because I know that you can do things such as create a website using php and such. And then there can be an instllable file, one for the user one for the admin. Then there can be mobile apps that all run on the same database. My …

Member Avatar for almostbob
0
156
Member Avatar for everton.retweets

Hi Everyone, I am trying to get to grips with php prepared statements, I am getting there slowly... My question is how do I ge the last insert ID from the following. if ($stmt = $mysqli->prepare("INSERT INTO tbl_name (value1, value2, value3, value4, value5, value6, value7) values (?, ?, ?, ?, …

Member Avatar for diafol
0
1K
Member Avatar for lloydsbackyard

I have this code below for export mysql database to excel..however, if i run this it will only export the html code of the page not the sql query..please help..thank you. <html> <head><title>Exports</title> <link rel="stylesheet" href="css/css.css" /> <h2>EXPORT DATE/YEAR</h2></head> <form action="" method="post"> <table> <tr> <td><input size="40" name="searchString" type="text"class="ed" /> <select …

Member Avatar for urtrivedi
0
1K
Member Avatar for ayeng

Hi, I need help! I want my textbox value to be change using jquery in cakephp during onchange event of my textbox. below is my add.ctp code: <div class="jobs form"> <?php echo $this->Form->create('Job', array('type'=>'file')); ?> <fieldset> <legend><?php echo __('Add Job'); ?></legend> <?php echo $this->Html->script('ckeditor/ckeditor'); date_default_timezone_set('Asia/Manila'); echo $this->Form->input('users_id'); echo $this->Form->input('comp_name', array('label' …

0
129
Member Avatar for Jack_9

In my personal opinion PHP is a great language. I love that it can be written with html and css for style, and database and such quality. But why do PHP deevelopers earn less then other types? PHP helps get the website through sql and helps make it interactive. You …

Member Avatar for veedeoo
0
142
Member Avatar for rjusman90

this code search all data not from current pagination page <html> <body> <div id="content"> <style> .current { padding: 2px 5px 2px 5px; margin: 2px; border: 1px solid #000099; font-weight: bold; background-color: #000099; color: #FFF; } li { display:inline-block } </style> <?php include"connection.php"; $start=0; $limit=5; $id=''; if(isset($_GET['id'])) { $id=$_GET['id']; $start=($id-1)*$limit; } …

Member Avatar for rjusman90
0
328
Member Avatar for ashalatha

Controller: $data['error'] = ''; //initialize image upload error array to empty $config['upload_path'] = './uploads/'; $config['allowed_types'] = 'csv'; $config['max_size'] = '10000'; $this->load->library('upload', $config); // If upload failed, display error if (!$this->upload->do_upload()) { $data['error'] = $this->upload->display_errors(); $data['mainpage']='category'; $data['mode']='addcsv'; $this->load->view('includes/mainpage',$data); //Category Id Category Name Sub-category Id Sub-category Name } else { $file_data = …

Member Avatar for veedeoo
0
280
Member Avatar for samy.youssef.12

whenever i use mysql_connect() It gives Fatal errror of using unidentfied function i'm using mysql version 4 on windows 7, what to do? it looks like php never heard of that function, wonder if someone does have a straight forward solution?

Member Avatar for samy.youssef.12
0
391
Member Avatar for mc3330418

This is a really basic question. I validate evrything from my form in javascript so no validation is going through php. The problem is, when the user submits the form ajax has already checked is the username has already been taken or and gives them a message if it is. …

Member Avatar for almostbob
0
239
Member Avatar for weeon
Member Avatar for nadiam

Hello. I have and event.php page and del_single.php page. event page has a form: <form action='del_single.php' method='get'>//<-i already have the method as get <input type='hidden' name='event_id' value='$id'> <input type='checkbox' name='check[]' class='check' value='$id'> <a href= '#' value='$id' name='e_n' onclick='getsum(".$id.")' >$name</a> <label>$formatDate</label> <input type='submit' name='del_single_event' value='Delete'> </form> as you can see i …

Member Avatar for cereal
0
554
Member Avatar for crdipu

Hi all, I have made a web-service in php. I had run a load test on the same by using testing tool Jmeter. And got the result in as graph, please help me to analyze the graph. It shows 3 important parameters that are 1)Deviation, 2) Median and 3) Average. …

Member Avatar for Dmitri_1
0
302
Member Avatar for Sikander Nasar
Member Avatar for veedeoo
0
435
Member Avatar for nadiam

Hello. right following [this post](http://www.daniweb.com/web-development/php/threads/481499/form-action-is-on-a-different-page) that i posted up just now, i wanted to edit the question but then i couldn't anymore. sorry if that annoys anyone. anyway, i was thinking of putting all the php scripts into one page and googled and found [this on stackoverflow](http://stackoverflow.com/questions/8152260/having-multiple-scripts-within-one-php) and implemented it …

Member Avatar for Daisy_1
0
2K
Member Avatar for ms061210

Hi can anyone give me an idea on how I can come out with an output like this: $string = string1-1/string3-3/string3-3/ //this is the original string from DB //i want to split the strings and put it in the array, and the array should look like this Array[0] = String …

Member Avatar for veedeoo
0
288

The End.