39,320 Topics

Member Avatar for
Member Avatar for jogieglenmait

i have a notepad that i made into a database. i want to know if a username and a password are valid combination. but if i run it, the 10th entry, for example, gives 10 different outputs until it finds the perfect match. suggestions would be nice. <?php $user=$_POST['user']; $pass=$_POST['pass']; …

Member Avatar for jogieglenmait
0
150
Member Avatar for mbhanley

Not sure if its the sql query or what, but I have a pagination class and a function I am trying to put together if some one would be able to point be in the wright direction it will be very appreciated. :) The following is the function which I …

Member Avatar for pauper2thedemon
0
201
Member Avatar for Frankey

Hi there, i am struggling with my code to read xml with php. it is giving the following error: Fatal error: Call to a member function attributes() on a non-object on line [COLOR="Red"]red[/COLOR]. The weird part of it is that the output is good/as it should be. [CODE] if( ! …

Member Avatar for thez0mbie
0
3K
Member Avatar for attism

Hi.. I'm having problem with my website, and I just cannot figure it out what's the problem with my code. Any ideas? Thanks. [CODE=PHP] // get related files from database if ($settings['related_files'] == 1) { $related_query = mysql_query('SELECT f.fileid, f.title, f.description, f.icon, f.iconlocation, f.timesplayed from '. $tbl_prefix .'related AS r …

Member Avatar for attism
0
245
Member Avatar for tcollins412

i am writing a game in JavaScript. I don't know any php so i need help making a page were people can submit their game scores. Thank you.

Member Avatar for cossay
0
162
Member Avatar for kiranking

The process is as fallows 1. getwords.php which contains [LIST] [*]two input text fields [*]submit button [*]results div [/LIST] sends(post with ajax) the min and max integer value to do_search.php 2. do_search.php will process the post variable get the words from from database which as fields [LIST] [*]eng_id [*]eng_text [/LIST] …

0
95
Member Avatar for zit1343

I have a PHP code which grabs data from site and it should be updated every second, I don't want to refresh whole page, I just want to refresh the data. please suggest something.

Member Avatar for diafol
0
72
Member Avatar for gazza7

Hi I'm testing a form with checkboxes, with the values extracted from mysql database with a query. Everthing works fine with the population from the query. But when submit the form, I only get the first part of the value. I am populating the checkbox values the album names e.g …

Member Avatar for gazza7
0
146
Member Avatar for blazeenterprise

Does anyone know how to create a form and when the person click on send it go to a differnet page and then emails the use a license key. Can i have a database with lots of license keys in and then when the user fills in the download form …

Member Avatar for blazeenterprise
0
77
Member Avatar for stangn99

Hey guys, I'm going to start working on a simple php/mysql project, and wondering if you guys could point me in the right direction. Here is what I want to do: 1. User is presented with a simple form asking a series of questions (including email address) 2. Based on …

0
57
Member Avatar for php2sheik

hi all, In my website i make online donation using the credicard.how to integrate paypal in my website using php. please send the script in php for online donation(payment). or any other useful links for that. Thanks in advance.

Member Avatar for orange_24
0
141
Member Avatar for sjjs1985

Hi all. I have an assignment i'm working on but I am getting some errors now. The page it is coming from is a login page. The customer has signed up and now i want them to login and store their data in a session. heres the errors Warning: Cannot …

Member Avatar for EricIskhakov
0
141
Member Avatar for cancer10

Can anyone plz explain wot does PHP stands for? is it Personal Home Page or Hypertext Preprocessor (as written on their official site)?

Member Avatar for Pramod Yadav
0
175
Member Avatar for NutanGadakh
Member Avatar for almostbob
0
80
Member Avatar for hzh003

Hey there. I am a beginner on PHP and I want to create a php page that part of its content will be changed after 5 seconds of its initial display. Like one flash object will replace the old already displayed one? What will the the easiest way to do …

Member Avatar for almostbob
0
95
Member Avatar for puvi

hi guys, i have enrolled to for brainbench php certification which is due in another month and half, but i havent prepared specifically for the test yet, till now i have just played around with some codes, done lil bit of trial n error stuff thats it. here is the …

Member Avatar for pauper2thedemon
0
161
Member Avatar for ankit.pandey3

<[CODE]?php require_once('upper.php'); require_once('database.php'); require_once('LoginStatement.php'); $LoginId=$_COOKIE['LoginIdCookie']; $query="select * from activity_participation where LoginId='$LoginId'"; $result=mysqli_query($dbc,$query) or die ('Not Connected'); //echo "<div class='search_output_data'> echo "<table border='0' cellspacing='0' cellpadding='0'>"; while($row=mysqli_fetch_array($result)) { echo "<tr><th align='left' valign='top'>Activity Title</th> <th align='left' valign='top'>Date of Participation</th> </tr> <tr><td colspan='4' align='left' valign='top'><table align='left' border='0' cellspacing='0' cellpadding='0'><tr><td align='left' valign='top'>".$row['Title']."</td> <td align='left' valign='top'>".$row['Date']."</td> …

Member Avatar for Borzoi
0
126
Member Avatar for octavia

Hi,i'm new in php. :) Now i have to use this as per project requirement. So i just started to learn it as fast as possible. As first attempt, i wanna add some data into mysql database table which has been created by MySQL Command Line Client. I installed php5 …

Member Avatar for Dragonbaki
0
342
Member Avatar for jogieglenmait

hey im trying to make a file database but it just goes on and on a single line.question is: how do i make a new line after an entry is made? <?php $user=$_POST['user']; $pass=$_POST['pass']; $file="fileone.txt"; $content= $user . ","; file_put_contents($file,$content,FILE_APPEND); $content2= $pass . "<br>"; echo nl2br(""); //?????? file_put_contents($file,$content2,FILE_APPEND); ?>

Member Avatar for Borzoi
0
337
Member Avatar for ForeverYoung

How do get the timezone for a user? Like GMT -5:00 or w/e the format is..

0
33
Member Avatar for arunss

Hello All, I have two tables. One for messages and one for comments. For each entry in messages table there will be multiple records in comments table. Now I want to select the top 5 messages and top 10 comments for each message. My table structure is Messages ---------- MID …

Member Avatar for smantscheff
0
98
Member Avatar for UNARS

Dear All, Just a quick mail to say HELLO to all members here:) Look forward for long stay and good knowledge sharing. Thanks Samuel

0
43
Member Avatar for mr_scooby

Hey guys, have written a script that goes to an exchange mailbox and searches for unread emails and takes the headers and body data I require and add to an array. What I want to do is check if the body of the email contains images/text or only text, is …

Member Avatar for mr_scooby
0
55
Member Avatar for manugoel2003

Hi everyone... this is my first post... so I would be quite descriptive I am working on a Web App which is a Helpdesk Solution and is based on PHP and interacts with MySQL, MSSQL, Oracle, Postgres SQL... we also support Linux based and Windows based installation... There is quite …

Member Avatar for smmandar
0
183
Member Avatar for rcavezza

I'm building an email application that filters emails with certain keywords out of my gmail inbox. Right now, it's working by running a cron job every five minutes and this is killing my server load. I'd like to know if there's a way to add a filter to IMAP so …

0
158
Member Avatar for bearcatFulton

I am looking to make a list of checkboxes from items in a database like so. [CODE] while($row = mysql_fetch_array($cropsResult)){ echo "<tr><td class=\"toBuyList\"><input type=\"checkbox\" name=\"hay[]\" value=\"" . $row['cropType'] . "\" tabindex=\"5\"/> " . $row['cropType'] . "</td></tr>"; } [/CODE] I have not been able to get any items on that dynamic …

0
52
Member Avatar for haribo83

I am looking to build a fairly straight forward internal recruitment site which will include a job search. I need to be able to search on keywords in one field and postcode/location in another similar to guardian jobs ([URL="http://jobs.guardian.co.uk/"]http://jobs.guardian.co.uk[/URL]) Ideally there would also be an option to define radius of …

Member Avatar for chrishea
0
171
Member Avatar for Dani723

Can someone check my code to find out what the PHP code error is on line 1 please, also, for some reason, after changing and editing the file, all the information is clumped together, but not when I c/p it, why is this also? Thanks. <?php/** Enable W3 Total Cache …

Member Avatar for almostbob
0
826
Member Avatar for EricIskhakov

Hi. my code works perfectly in Chrome but in IE when i go between pages my session is lost. does anybody know why?

Member Avatar for blocblue
0
112
Member Avatar for Xufyan

i've installed a script in my website, here is the script description, [ICODE]http://community.serverstack.net/files/file/13-likeengine-free-facebook-like-script/[/ICODE] and here is the Demo of the script, [ICODE]http://likeengine.ssdemos.info[/ICODE] see the demo, all the results (likes) are appearning on main page and there is no next page option, i want the script to show a next page …

0
68

The End.