39,323 Topics

Member Avatar for
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
555
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
441
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
Member Avatar for Priti_P

Hello, I want to use spinner while process foreach loop in php. My functing is: I am creting events using google calendar API in php. for each of my array values I am creating event. and after each event create there is one sleep(5). in this foreach loop I want …

Member Avatar for JorgeM
0
216
Member Avatar for daniel36

I have made a code to upload video with the help of w3schools.but It is not working great to upload mp4 video upto 300MB.Can any one provide me solution? or any opensource script to upload file.

Member Avatar for Vignesh_2
0
172
Member Avatar for jaspertan

Hi to all i experience this kind of error when i tried to add the data to database using for each here is my code. $org = Input::get('orgname'); $orgs_date = Input::get('orgsattended'); foreach($org as $o=>$von){ DB::table('orgs')->insert(array( 'personnel_id' => $personnel_id, 'orgs_name' => $von, 'date_attended' => $org_date[$o] ) ); } $skillname = Input::get('skillname'); …

Member Avatar for nadiam
0
210
Member Avatar for everton.retweets

Hi, I am trying to update a simple mysql query using PHP PDO The simple query read $query = mysql_query("SELECT * FROM tbl_name WHERE oauth_provider = 'twitter' AND oauth_uid = ". $user_info->id); My PHP PDO query reads $STM = $dbh->prepare('SELECT * FROM tbl_name WHERE oauth_provider = :op AND oauth_uid = …

Member Avatar for everton.retweets
0
5K
Member Avatar for everton.retweets

Hi Everyone, I am trying to create a twitter login app, I have the app created and I can log into my app, But what I would like to do is create a number of session virables so I can use the information in my app. When a user authenticates …

0
101
Member Avatar for Ouwgel
Member Avatar for almostbob
0
8K
Member Avatar for ms061210

Hi, can someone explain to me why my code is returning wrong output. I want this code, First I have additional UPDATE query for a category 10, if it is not category 10 then it should ignore the update code. It is running correct if I input an item which …

0
117
Member Avatar for jKidz

Hi Friends, Most of our school's old boys are in abroad. So there have no chance to get updated about our school's cricket matches. So I am willing to have a real time cricket scoring system. Do you know any free Cricket Scoring system that can display a scores in …

0
90
Member Avatar for Sikander Nasar

I am facing the problem that the scroll is not moving to the top if any validation error occur.

Member Avatar for DJBirdi
0
130
Member Avatar for SimonIoa

I want to make a search option. this is my statement in php $FILTER AND $ORDER are working perfectly. The statement too. else if (isset($_POST['search_all'])) { $Filter .= " AND M.title LIKE '%" . $_REQUEST['src_all'] . "%'"; $Order = " ORDER BY M.idate DESC"; } and this is the html …

Member Avatar for fobos
0
119
Member Avatar for SimonIoa

Can you tell what do i do wrong? this is the statement if (isset($_POST['search_all'])) { if (empty($_REQUEST['src_all'])) { echo "<p>You forgot to enter a search term</p>"; } elseif (!empty($_REQUEST['src_all'])) { $Filter = " M.message LIKE '%" . $_REQUEST['src_all'] . "%'"; $Order = " ORDER BY M.created DESC"; } } this …

Member Avatar for fobos
0
346
Member Avatar for DarkSlash

I'm working with a MS SQL database that was done by another developer. Im developing a website that interacts with that database. I need to use a stored procedure called LoginR that takes 3 input parameters (LoginName and Passwords) and returns the NickName in the third value. But also, has …

0
122
Member Avatar for berserk

Ok i know this question might be riddled with ignorance but please bare with me. How to i go about deploying my php application i have developed, do i make it into an executable that can be installed on user machines, or do i just set it up like a …

Member Avatar for Jack_9
0
223
Member Avatar for rjusman90
Member Avatar for vizz

I have registered custom TLD like, **.com, .in, .co** I have servers to deal with DNS setting. Now I want to allow people to register their domain under my custom TLD. e.g. abc**.xyz** So I need web registry software to allow registering domains under tld, **`.xyz`** I want to do …

Member Avatar for veedeoo
0
130
Member Avatar for berserk

hey i have this code that always evaluates to true but it should only in the case of there being a value in the database i have selected, maybe im doing this wrong or maybe its something else but i cant seem to figure out the problem :( any assistence …

Member Avatar for berserk
0
358
Member Avatar for hanspeare_1

Hello everyone, I am confused with these little codes why it keeps error in updating the learner information. These are my codes so far. These are the bits of Student_Info.php which i think would be useful in my query. <?php if(!empty($_GET['flag']) && $_GET['flag'] == "success") { ?> <span class="stylered style1"><span …

Member Avatar for hanspeare_1
0
112
Member Avatar for Juliana20

I'm new at this language and I canĀ“t understand this warning: Warning: Cannot modify header information - headers already sent by (output started at /Applications/AMPPS/www/.../users.php:316) in /Applications/AMPPS/www/.../phpgraphlib.php on line 213 I want to show some graphs about temperature, but appears the message above. Here's my code: phpgraphlib.php protected function initialize() …

Member Avatar for rubberman
0
260
Member Avatar for lilapontes

Have an inbound campaign. Agent gets the phone number from customer and I need to create php code to search that number in a table in Sql, display name, address and insert ANI, date, start time, end time of the call, agent-id and result code. All I know about php …

Member Avatar for rubberman
0
170
Member Avatar for sundeep.gurroby

Hi guys, always a big thanks for your input. Really appreciate as always. Ok my issue today is with the password_hash function which randomly generate a salt before encryption. I am creating a user registration form...i need to protect the password before it is saved to the database when user …

Member Avatar for diafol
0
291
Member Avatar for Excizted

Hello, I hope someone is more knowledgeable in Java than me while still knowing PHP! The following Java code makes a hash from a string, and I need a PHP equivalent that makes the exact same hashes. Simply md5() does not do the trick, and I looked at some PHP …

Member Avatar for Excizted
0
1K
Member Avatar for Jerome_3

I have read from different forums, PHP website and Microsoft website how to connect PHP to MS SQL Server but the provided solutions didn't worked for me. If you could help me in this would be greatly appreciated.

Member Avatar for Jerome_3
0
298
Member Avatar for berserk

I need to add a check box on the end of each value in my html table that will be checked if the user would like to remove that value from the mysql database, my current cod elooks like this: <?php $con = mysqli_connect("localhost", "root", "", "numbers") or die(mysqli_error($con)); // …

Member Avatar for diafol
0
2K

The End.