39,321 Topics
| |
Hello I want to display random images stored in folder.and their name stored in mysql. Please Help me. Thanks | |
Hi, don't know what's wrong, when i try to dispay an array, nothing is displayed. [CODE] // class.php class Connection{ var $arr=array(); function getData($username){ $q="select comment_id from comments where user='$username'"; $result=$this->conn->query($upit); $n=$result->num_rows; for($i=0; $i<n; $i++){ $this->arr[$I]=$result->fetch_array[MYSQLI_ASSOC]; // I've also tried $this->arr[] (with no index) but the same thing } return … | |
This is about as simple as it gets with menu generators. Everything is explained in the code. Note that the menu is simply an unordered list so to pretty it up it really relies on the CSS. If you don't want to write any CSS of your own here is … | |
Can any one tell me about a place I can find any joomla help. Tutorials or just guidance. Thank you. Hope this goes with PHP forum since there is no separate Joomla forum. | |
good day! i can't send an email in php. i have this code: <html> <body> <?php mail("jjemphoung@yahoo.com","Testing","Hello","From: [email]flatOne@yahoo.com[/email]"); ?> </body> </html> when i run this the output is Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use … | |
me and my buddy got some project for our thesis. our problem is how can we make a Universal Search Page. a search page that can query any table in our database. there will be 3 inputs. 1. Key Search 2. Search Type(it will be a dropdown list that contains … | |
Hello friends, Will you please tell me, [B]how can i display contents of the form on the same page of that form?[/B] Thanks to all! | |
good day! im an IT student. im new to php&mysql. my database engine is first myisam. everything works fine. but when i changed it into innodb(for foreign key purposes) i can't insert a data in my the parent table. i can insert data in child table though. replies are really … | |
Hey every one . I need your help . I am new to programming in php so i want to know what is 'define ' statement used for and how to use it and please give me some examples. I looked in w3schools but i did not find it . … | |
How would I build a web page similar to an online banking page that has a running account balance, only I want to make each line editable. If a specific line was edited the total would then change up through the top. (transactions are sorted by date order) How do … | |
Ahoy Sailors! So I've begone a Parent/Child based application, I've currently got both the scripts to connect to each other & send & receive text, However there are two bugs. First when the Child connects too the Parent for the first time, It works! But if you exit & start … | |
hello,i am editing a program for e-ticketing.and i am having a hard time figuring out on how will i convert time into am/pm..in the process of buying ticket,we have to choose time departure and if its am or pm,then the problem is i dont know how will i put it … | |
hello everyone, im a new member here and also new to php. i've been searching in this site for days about my problem and with no luck i dont find any of them. i want to create a dropdown list menu (of persons) and everytime i choose a name of … | |
Hello everyone, I am currently creating a small JS app. that will help me search PostgreSQL and print related data via PHP. I am using jQuery to help me but I have this small problem. I wanted to test if the code worked, by prompting the PHP file to print … | |
Hello everyone, I am trying to retrieve some data from PostgreSQL using jQuery and PHP. I should be able to enter a date as input -e.g, as 2010-08-09 and retrieve all the data that is dated August 9th- however, when I execute my javascript, all I get as an output … | |
Hello, I am having a little trouble getting the variable $total to insert into mysql table. I used javascript to get the total that is in the input box. Any help is very much appreciative. Here is site: [url]http://illcomputers.comyr.com/custom.php[/url] Thank You Snippets of Code JavaScript Code [CODE] var mainitems = … | |
Hello, I am currently working with a project that involves PhP and MySQL. I have a working code for adding, editing, and deleting of information. However, I was required to put up a paginating script in my code. I am actually new to PhP, about 3 weeks old xD, and … | |
Hi there, I have an RSS feed generated by a php script and I need the published date to show but no the time. For some reason my tiny little brain cannot get the code to work without showing everything. Please can someone help as I am slowly going insane. … | |
.how to remove this "bookmarking list" that is showing at the bottom of every post at the home page of my blog[URL="http://firstediting.com/blog"]firstediting[/URL] ..I just want only sociable plugin to show at the bottom of every post not the text based "bookmarking list" | |
[URL="http://shop.ccs.com/guys.shirts/category/"]ccs [/URL] I want to use a similar approach to display my MYsql database and organize it, but i'm unsure of how to go about it. I want to have drop down boxes or use the nav ones i already have [URL="http://www.casingit.com"]here [/URL](at the top) to sort different types of … | |
Hi guys, this is very urgent. Can anyone help me out..... I want to generate reports using php and MySQL. I have one table which includes customer_id, full_name, name_with_initials, address, contact_number and gender fields. I want to print the details of all the records of the table. It should be … | |
Hi, I am trying to set more than 1 variable in a $_SESSION however I can't seem to get it to work. I also can't find anywhere, if it's actually possible to have 2 sessions set at the same time. Hence the Question. So can you set 2 sessions at … | |
Hey, wondered if someone could help me with how to go about doing the following: I have some code which generates bits of text randomly from a database. But I was wondering if there's a way for a user to download an individual file, which corresponds to the one they're … | |
I just started getting this error on my wordpress site when I try and access certain pages. I have checked the3 /custom_functions.php file and I see nothing that looks out of place. Any help would be appreciated. The site is [URL="http://www.whowillwinthe2012election.com"]whowillwinthe2012election.com[/URL] Warning: Cannot modify header information - headers already sent … | |
Hi, I was trying to develop a login script using OO php.But I found it is not directing to the menu page even with the correct login details ,instead it is redirect to the login page.Even it is not giving any error messages.Can anybody tell me whats wrong there..Im here … | |
Hello, I am trying to use the mysql_real_escape_string() function, but I can't seem to use it without losing the content of the variable. When I use [code] $act="It's now or never" $act=mysql_real_escape_string($act);{ [/code] then attempt to insert the value of $act--it comes out null. I have established the database connection, … | |
Ok, I came across this site :[url]http://www.pokebuddies.tk/[/url] and the images(pokemon) show how many times they have been clicked(their level) and You can only click it once every 24 hours per IP. How did they do that? I know they use PHP and MySQL. | |
I need asistance on how to handle registration forms with picture upload, rename, then preview and store the record in MYSQL database | |
Can someone please explain why is the following code outputting some Chinese instead of breaking down the string passed in the function into an array. [CODE]<?php // define URL $url = "http://www.somewebsite.com:80/community/columns/trog/article.php?id=79&page=2"; // parse URL into associative array $data = parse_url($url); // print URL components foreach ($data as $k => … | |
I know how to limit the number of rows returned in a query: [code] $result = mysql_query("SELECT * FROM playerdb where CFHL_A = 'XMEN' OR CFHL_B = 'XMEN' order by field(pos,'LW','C','RW','D','G'), PTS0910 DESC LIMIT 0, 11") or die(mysql_error()); [/code] However, now I am looking to fix a table to 25 … |
The End.