39,321 Topics

Member Avatar for
Member Avatar for Moderns

Hello, I am facing something strange. I will discuss it by very clear and simple example below. 1)I have function called Test() in [B]page1.php[/B] (gives correct output) as follows: function Test(){ $sql = "SELECT * FROM accounts WHERE account_id = 4"; $rs = mysql_query($sql); while ($row = mysql_fetch_array($rs)) $mobile_number = …

Member Avatar for bakir
0
352
Member Avatar for Sorcher

Hello. I would like to echo out all the images from a folder on a page with pagination. I have not found something like this on the internet and i am asking now if any of you know of this. Just a simple image page with 4 rows then a …

Member Avatar for diafol
0
72
Member Avatar for newweb

Hi all, Is there a Joomla expert who can recommend a good Buy & Sell-component system for Joomla 1.5? Visitors will be able to place ads when they buy / sell. Happy New Year! Greetings newweb

0
56
Member Avatar for prem2

Dear all, Digest authentication is not working in my php. I do not how to check whether digest authentication is enabled in my php . Is any other module is required to enable the digest authentication in php. Thank you, With Regards, Prem

Member Avatar for pritaeas
0
257
Member Avatar for bibekpokharel

I've been stuck in a situation. I am trying to retrieve image from database using ajax. I am using php as a server side scripting language.. I need to run the js funtion on every image i fetch from the database which happens to be a while loop...But that doesnt …

Member Avatar for Moderns
0
79
Member Avatar for soomro_moon

plz find the error it give this error Warning: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\soomrof\a_task_2_1.php:3) in D:\xampp\htdocs\soomrof\a_task_2_1.php on line 24 [CODE]<? include("connection.php"); $check=false; $sql=mysql_query("select * from doctor_schedule_information where doctor_ID='".$_POST[doctor_id]."'") or die(mysql_error()); if(mysql_num_rows($sql)==1) { $row=mysql_fetch_array($sql); $check=true; } else { $check=false; } if($check==true) { header("location:a_task_2_3.php"); …

Member Avatar for kvprajapati
0
121
Member Avatar for soomro_moon

plz find the error it give this error Warning: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\soomrof\a_task_2_1.php:3) in D:\xampp\htdocs\soomrof\a_task_2_1.php on line 24 [CODE]<? include("connection.php"); $check=false; $sql=mysql_query("select * from doctor_schedule_information where doctor_ID='".$_POST[doctor_id]."'") or die(mysql_error()); if(mysql_num_rows($sql)==1) { $row=mysql_fetch_array($sql); $check=true; } else { $check=false; } if($check==true) { header("location:a_task_2_3.php"); …

Member Avatar for kvprajapati
0
265
Member Avatar for bluetoot

Hello Good People I have this error message....Parse error: syntax error, unexpected T_STRING in on line 111 ($result = mysql_query(" insert into users_cv ) this is the script line wherei have it // SELECT DATABASE mysql_select_db($database_recruit) or die(mysql_error()); $result = mysql_query(" insert into users_cv SET title = '$title', firstname = …

Member Avatar for pritaeas
0
191
Member Avatar for rime

Is it possible to copy a mysql database to an excel worksheet writting PHP code.. please help with code.

Member Avatar for rahulb310
0
135
Member Avatar for adelshehri

Hello All, am looking for an events script like (Upcoming.yahoo.com)... I found many but!! I want the same functions of upcoming.yahoo.com As much as possible ... Commercial or Free .... It will be used by some charity organizations. Please help

Member Avatar for adelshehri
0
89
Member Avatar for xuexue

hi guys, just want to ask some question. i have two textboxes txt1 and txt2. these two possess jquery autocompletes within.. now, what i want to do is that this two are interconnected. Meaning, the values in autocomplete in txt2 will depend upon the values inputted in txt1. consider this …

Member Avatar for xuexue
0
194
Member Avatar for epicrevolt

Hello, I am working on a website where the user can fill out a long form. For simplicity reasons, a part asks them to list features they would like to see. For that I plugged in some javascript to make a "[more]" link to add more form fields. Each form …

Member Avatar for epicrevolt
0
146
Member Avatar for alanlai

hey, guys, why does this code keep output ArrayArrayArray instead of Dec 28 for $data[0], , Dec 27 for $data[7] and so on. i would like to output all the date get from that URL, but my code failed. [CODE] <?php $data = array(); require_once("simple_html_dom.php"); $html=file_get_html("http://finance.yahoo.com/q/hp?s=4707.KL+Historical+Prices"); foreach($html->find('td[class=yfnc_tabledata1]') as $e) { …

Member Avatar for diafol
0
79
Member Avatar for mbarandao

Hello: I'm trying to insert my form two table in mysql. I have the following but only insert to one table (ajax table query) is successfull. Any ideas what I'm doing wrong. [CODE]<?php //error_reporting(0); //error_reporting(E_ERROR | E_WARNING | E_PARSE); error_reporting(E_ALL); $host = "localhost"; $login_name = "dsdsdt"; $password = "........."; $link=mysql_connect("$host","$login_name","$password"); …

Member Avatar for mbarandao
0
87
Member Avatar for sajuuu

i was wondering if you could help me with this shopping cart plz, to implement it into my website, here's the link of the cart i'm desperately trying to implement: [url]http://v3.thewatchmakerproject.com/journal/276/building-a-simple-php-shopping-cart[/url] my current website various pages of products, but reading from the same [I][B]table[/B][/I] and customer clicks on the product …

0
44
Member Avatar for keyroche

Hello, I am trying to figure out the best way to achieve a step-by-step wizard for the creation of a website. I would like for someone that does not know anything about creating websites to be able to go through this wizard and create a website, then at the end …

Member Avatar for keyroche
0
764
Member Avatar for bjeffries

I have about 230 photos in a database, all along I have been putting [url]http://domain.com/path/to/image.jpg[/url]. I am trying to enable a thumbnail script and it will not work with the [url]http://domain.com[/url] on the front of the url. Is there a way I can run a script to go through and …

Member Avatar for bjeffries
0
124
Member Avatar for magicofflight

We have an aviation website addressed magicofflight dot com for which we have applied cache headers. We want to reload the client side cache whenever we need. How do we do that? If we set the client side version the entire image set gets redownloaded. Is there any way we …

Member Avatar for chrishea
0
96
Member Avatar for soomro_moon

iam try to retrieving data from multiple table and i want that data to be shown on one page. can any one help me out what worng with this coding i cant get that resul which i want. here is the coding [ICODE] <? include("connection.php"); $q="select * from patient_detail,patient_information,patient_guardian_information,patient_discharge_information where …

Member Avatar for soomro_moon
0
135
Member Avatar for newbi11

i am having some problem with my PHP form . I have created everything and its posting the details to my mailbox the problem however is that in the message area all it shows is $text , it doesn't show what the visitor typed into that area all it shows …

Member Avatar for newbi11
0
159
Member Avatar for anita_86

Hi!This is my 1st thread. I wanted to ask that I have a common table for clients.If client is given quotation, hes status is 1, if given invoice, hes status is 2 and so on. If i want to display only the clients who have received the invoice, I fire …

Member Avatar for anita_86
0
65
Member Avatar for sahromo

I git this warning>> [CODE]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\Program Files (x86)\EasyPHP 2.0b1\www\HotelCalifornia\sites\reserve_room.php on line 85 Unknown column '' in 'where clause[/CODE] This is my code>> [CODE] <?php $user=$_GET['username']; $Custno=$_GET['Custno']; $RoomNo=$_GET['RoomNo']; $username="jasmine"; $password="price"; $db=mysql_connect("localhost" , $username, $password); mysql_select_db("hotel_cali", $db); $sql="SELECT Email FROM customer …

Member Avatar for bakir
0
170
Member Avatar for hameredhed

hello guys.. I am new to php. May I ask if it is possible to store a mysql result into a single cookie..(the mysql result has multiple rows..).if it is possible, how to do it.. thanks in advance

Member Avatar for pritaeas
0
99
Member Avatar for mrcpp

I'm using jCarousel to create this multi-row slideshow and..well... It doesn't work. I really don't know why, and this is very urgent. I have less than an hour to finish it. Please, please help me. main page: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us"> <head> …

Member Avatar for mrcpp
0
350
Member Avatar for rajeesh_rsn

Hi friends, In one of my website I want to implement file upload ( Only Image ) facility. I m using http file upload and make a directory in my server set to mode 0777. Is it a secure method ? Or else what is the secure method for user …

Member Avatar for Fusion UK
0
95
Member Avatar for bluetoot

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reasons = '', birthplace = '' dob_month = 'January', dob_day = '' at line 8 Hello aLL I am developing an online registration form that …

Member Avatar for bluetoot
0
227
Member Avatar for prayag.419

I want to create login form here is the code // login.html <html> <head> <title>Login</title> </head> <form name="Login" method="post" action="loginbackend.php"> Username : <input name="txtUname" type="text" id="Uname"><br /> Password : <input name="txtUpass" type="password" id="Upass"><br /> <input type="submit" name="Submit" value="Login"> </form> </html> // loginbackend.php <?php ob_start(); $dbhost = 'localhost'; $dbuser = 'root'; …

Member Avatar for vinayakgarg
0
100
Member Avatar for varsha solshe

Hello everyone, I know ASP.NET little but no idea about PHP. i want to use PHP files in ASP.NET..... Can anyone help... Thanks...

Member Avatar for Mackeny
0
53
Member Avatar for srdva59

hi, i have a inputbox that have a hour in this format: 12:00:00 what i want to do is change the hour,secunds,minuts by pressing only the keys up and down. i have seen some web forms that do that but i canĀ“t figure out how do that. any one know …

Member Avatar for srdva59
0
82
Member Avatar for tcollins412

How would i make a 3 page website in 1 script using php? Example. There are sections that are fun, boring, and evil. And i want to be able to edit and create the website all in one page. I know its possible but i do not know how. Please …

Member Avatar for tcollins412
0
151

The End.