39,326 Topics
| |
Hi guys wassup? do you know how to get a time stamp like facebook? 3 minutes ago 4 hours ago 3 days ago 4 weeks ago thank you! :D | |
Hi, I have searched high and low and cant find a similar issue to what i have. I am a beginner so please forgive my clunky query structure. I am trying to: ( have attached screen grab below ) Query the [B]photos table[/B] to get the id based on category … | |
Hi everyone, I have a very large CSV file. 51427 lines to be exact. I need to import the entire file into a MySQL database, however, the script times out due to server settings and slow connection (and maybe other reasons that I am not aware of). So - I … | |
I just want to know which is the best FREE Web Hosting provider which has max uptime (uptime really important) with cpanel, php, mysql and softachoculos. (just these I need) I want to use free address from dot.tk as my primary site address.(I already have dot.tk no problem with that … | |
Hello, I'm trying to create a button that allows the user to d/l info from a DB into a CSV. The button works fine, the download window appears and asks if I want to save/open the csv file. But when the file opens, there is nothing in it, and I … | |
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 |
The End.