39,323 Topics
| |
I have a website which dynamically gets images and then displays it but i have sub image which has to update the main image, but this main image is a lightbox which uses href link so i am wondering if someone can show me how to update this href using … | |
Hi, I have a script that uploads images into MySQL but I am have trouble resizing the image on upload. Can anyone help? Here is my code so far: [CODE]<?php require_once('Connections/connAdmin.php'); ?> <?php //file properties $file = $_FILES['content']['tmp_name']; if (!isset($file)) echo "please select an image."; else { $content = addslashes … | |
Hello guys any one help me in joomla. i have a problem with create an article. A new article doesn't create with media file like video, audio, flash. etc....can any one help me...... Thankyou Sundeep | |
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']; … | |
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 … | |
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( ! … | |
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 … | |
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. | |
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] … | |
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. | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
Can anyone plz explain wot does PHP stands for? is it Personal Home Page or Hypertext Preprocessor (as written on their official site)? | |
Can any one tell me the simple way to add chatroom to my websites in php. | |
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 … | |
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 … | |
<[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> … | |
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 … | |
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); ?> | |
How do get the timezone for a user? Like GMT -5:00 or w/e the format is.. | |
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 … | |
Dear All, Just a quick mail to say HELLO to all members here:) Look forward for long stay and good knowledge sharing. Thanks Samuel | |
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 … | |
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 … | |
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 … | |
| 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 … |
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 … |
The End.