39,393 Topics

Member Avatar for
Member Avatar for niths

[QUOTE]hi , i am new to php. i had a problem. whenever i upload a file it should get inserted in the database. it is working fine. now i should display that in a table in the browser but whenever i upload a file all other files names are not …

Member Avatar for colweb
0
62
Member Avatar for cliffordpg

my website layout breaks up when users zoom to +125% and to -65 in IE and ++2 and --2 in Firefox. Is there any way of fixing this? Website was developed in PHP and uses CSS. I know I'm not the first person to face this but I can't find …

Member Avatar for cliffordpg
0
92
Member Avatar for x86phre3x

Hi, I am in the middle of developing a web application (customer DB) and currently attempting to create a module to update the number of member registered under 1 agent. I have 2 table, 1 is 'users' and another 1 is 'dealers'. The 'users' table contains some normal user credential …

Member Avatar for johny_d
0
133
Member Avatar for peck3277

Hey guys, I'm hoping ye can help guide me here as I've reached a point in PHP where I think I can say I'm no-longer a beginner and would like to advance my knowledge. I believe my next step is understanding and using classes in PHP but for the life …

Member Avatar for xaeon
0
147
Member Avatar for Pooja J.

Hey Guys n Gals, I want to make login page in which I m taking email ID n password. If user enters email ID & password. Welcome.php should be open. else fail.php opens.Plz, read my attachments, But I received following warnings. Warning: mysql_fetch_array(): supplied argument is not a valid MySQL …

Member Avatar for Pooja J.
0
118
Member Avatar for logonchristy

how to get popup window if new row inserted into mysql database for a particular table... That to be display inserted values in popup window... Advance thanx...

Member Avatar for moncy
0
239
Member Avatar for rajarajan2017

Hi Everybody, I am a flash developer and utilizing php sometimes for flash works. I am going to start my learning curve in php. so please suggest and must give a tutorial or pdf links to start with php and sql. Thanks in advance. Hope all will provide more pdfs …

Member Avatar for rajarajan2017
0
144
Member Avatar for opmrcrab

I have implemented google maps for customers to use on a number of websites, however I am looking for an PHP API to do server side checking/validation etc, does anyone know of such an API? Geo-coding is not neccisary but an API where I can get the center point of …

0
50
Member Avatar for s_kanika

I own a website I want to add blogs in it but I also want that if i post a blog from my site it should also be published in multiple sites Can anyone help me its urgent

Member Avatar for theighost
-1
102
Member Avatar for Neo1969

Hi all, I'm new to PHP and am doing a project with a php generator called PHPRunner and I have a design of the database in which the first table is the master of the second, the second of the third and the third of the quarter as follows: Categories …

Member Avatar for Neo1969
0
1K
Member Avatar for fumnimda

hi there i am trying to use php-openid-2.1.3 . it seems just works with yahoo but gmail and facebook is needed too. would some body help me in this issue?

Member Avatar for fumnimda
0
102
Member Avatar for faramira

i have to creat a form to generate a report that give details about the usage of stock of my system. there are 4 conditions to generate the report, and user are given a choice to select all 4 condition, or any of the four and also user can choose …

0
52
Member Avatar for dragos13

[CODE]<?php $link=mysql_connect("localhost", "root","parola") or die("Could not connect: " . mysql_error()); print ("Connected successfully");print "</br>"; mysql_select_db('energiesolara',$link) or die ('Can't use energiesolaradb: ' . mysql_error()); $x=mysql_query("SELECT umiditate FROM parametrii"); $y=mysql_query("SELECT temperatura FROM parametrii"); $info1 = mysql_fetch_array($x); $info2 = mysql_fetch_array($y); $xi=array($info1['umiditate']); $yi=array($info2['temperatura']); include('phpgraphlib.php'); $graph=new PHPGraphLib(500,280); $graph->addData($xi,$yi); $graph->setTitle('Grafic'); $graph->setTitleLocation('left'); $graph->setLegend(true); $graph->setLegendTitle('Module-1', 'Module-2'); $graph->setGradient('green', 'olive'); …

Member Avatar for metalix
0
145
Member Avatar for Conielo

Hi, I can't solve this problem: I have a query which fetches the contents of the page meta tags from a database. It works fine when I have the query on page but when I turn it into a function (which is placed in my functions file) and call it …

Member Avatar for johny_d
0
178
Member Avatar for Leon1958

Hi guys, I need to change my static HTML page (i.e. [url]http://www.mypage.com[/url]) with a link (<a href="http://www.mypage.com/form.php"> to a page with dynamic link - if user's URL for my page is [url]http://www.mypage.com/?123456789[/url] this 9-digit number from URL should appear in the link to the form - [url]http://www.mypage.com/form.php?123456789[/url] Thanks in advance.

Member Avatar for metalix
0
141
Member Avatar for haboota

Hi, I having been playing with Pyxy Gallery and I really like it. However, it works in all browsers except Internet Explorer (I am using IE8, havent tried it in earlier versions). I contacted the developer, who unfortunately has no interest in the project anymore, and I was wondering if …

0
62
Member Avatar for niths

hi, i am new to php. i had a query about how to get the file name and file size of the uploaded file. so that i can display it in a table. thank u.

Member Avatar for metalix
0
86
Member Avatar for phpDave

HI, I am trying to insert the current date into mysql when a user submits their info. I cant use timestamp for this one. I am using datetime. It works when a user updates but not for creating. I get all 0's in the date column. Here is the code …

Member Avatar for phpDave
0
90
Member Avatar for baseballfury

Hi there, I'm trying to compare 2 arrays at the moment. There are 2 tables, the first (Category) holds a list of categories, e.g. Electricians, Plumbers, Builders and each has an ID number. The second table (Company) is a list of companies e.g. JonTheElectrician, GaryThePlumber and of course BobTheBuilder. Each …

Member Avatar for baseballfury
0
172
Member Avatar for sting23

Hi I'm currently creating a basic math tutor for kindergartners and i'm using dreamweaver 8 as my text editor with PHP and MySql. One of my modules involves lessons in which i would want to put addition and subtraction and i have created a flash documents to demonstrate(addition and subtraction) …

Member Avatar for HITMANOF44th
0
59
Member Avatar for hoaxvn

I have a question: Supposing that I am browsing a web page on my nokia (or some one else) mobile, In the Page, there is a HyperLink like "[B]Send 0109210[/B]" to win a prize, if I click on the HyperLink, the my phone will send a message to the [B]0109210 …

Member Avatar for wsdlab
0
105
Member Avatar for python08

Hi all, I've looked through this forum for some hours and am absolutely unable to fix my problem; no matter what I do. I'm trying to pass a PHP variable as part of a MYSQL query like so: [CODE] $id = $_GET["bodyid"]; $blog = getEntries("SELECT `Articlebody` FROM `Blog` WHERE id …

Member Avatar for warren88
0
166
Member Avatar for phpDave

Hi everyone, I am trying to validate a user registration form. User must enter letters and/or letters only. [CODE]//check username $_POST['user_name'] = trim($_POST['user_name']); $checkChar ='/^[a-zA-Z0-9]+$/'; if (!preg_match($checkChar, ($_POST['user_name']))); { $error['char'] = 'Username must contain letters or numbers only'; }[/CODE] When I submit the error message keeps coming up when it …

Member Avatar for vitana
0
206
Member Avatar for suri mariabell

How can I assign a user can only login to a web application via a particular valid client PC? If I have 20 clients, I want to restrict the PC no.1 for a user A to login, PC no.2 for a user B login and they cannot login to other …

Member Avatar for vitana
0
76
Member Avatar for mk1200

Hey guys, I'm sure this has been done before, but I haven't found the snippet yet. I think I have to use preg_match_all. Here's my very simple stopping point: [CODE]$content = $obj->introtext; $xml .= "<ImageUrl><![CDATA[$content]]></ImageUrl>";[/CODE] Here are two examples of the introtext table data: [QUOTE]<p><span style="font-size: 10pt;"><img src="images/stories/D-West.jpg" alt="D-West" style="margin: …

Member Avatar for mk1200
0
1K
Member Avatar for niths

hi, i am new to php. i had a problem with insertion. when i upload a file i should get the filename,uploadedby,uploadeddate,and size of the file in a table. first of all i am not getting inserted in the database itself. so can any one help me ..... --------upload.php-------- [CODE]<html> …

Member Avatar for JRM
0
110
Member Avatar for sallycheng

It cannot display the value of the checkbox,please tell me what wrong of it! Thak you [ICODE] <!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"> <head> <meta http-equiv="Content-Type" c /> <title>Untitled Document</title> </head> <body> <?php if(isset($_POST["Sumbit"])) { $fruit=isset($_POST["apple"]) ? $_POST["apple"]:""; if(isset($_POST["bananan"])) { if(!empty($fruit)) $fruit.=", "; $fruit.=$_POST["bananan"]; } if(isset($_POST["orange"])) …

Member Avatar for sourcebits
0
287
Member Avatar for arunajasmine

Hi, I am using the Content SUbmit component of Joomla 1.5 . In my site i am having a main menu with tabs Home,About forum,Blog Where blog is linked to a section -- IFsection In that blog home page i have a sub menu with a Create a post linked …

Member Avatar for cwarn23
0
85
Member Avatar for niths

[QUOTE]hi, i am new to php. i want to get the uploaded filename,uploadedby,date, and size of the file. dont know how to get the name of the file and size. so please any one.... [/QUOTE] [CODE]<html> <body> <form enctype="multipart/form-data" action="upload2.php" method="POST"> <table> <tr> <td><img src="Logofinalcopy.gif"></td> </tr> </table> <table> <br><br> <tr> …

Member Avatar for prem2
0
292
Member Avatar for kunyomi

Hi all, I have a database with contact info, and I need to display the info in groups. Currently in my database table called contacts I have a field called 'groups'. The values are 'favorites', 'home', 'work', and 'friends'. I tried creating a page called group.php and used a dropdown …

Member Avatar for kunyomi
0
377

The End.