39,326 Topics
| |
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 … | |
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 … | |
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... | |
| 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 … |
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 … | |
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 | |
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 … | |
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? | |
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 … | |
[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'); … | |
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 … | |
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. | |
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 … | |
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. | |
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 … | |
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 … | |
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) … | |
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 … | |
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 … | |
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 … | |
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 … | |
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: … | |
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> … | |
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"])) … | |
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 … | |
[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> … | |
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 … | |
Hi guys. I have to create a academic management system as a study project in PHP. I have very little knowledge of PHP and am really confused. Can anyone guide me in this project. Also I need to how would be the documents to create for this project and out … | |
Hello all. First post from a PHP newbie. I'm trying to teach myself how to retrieve data from my MySQL databse and have so far managed to get the text retrieval to work. What I'd now like to do, is to get my PHP page to retrieve an image, specifically … | |
hi all, i want to use curl to automatically login on behalf of a user & get the SessionID for that user. i will configure php to store the sessionID in the url instead in a cookie on the user's browser. once curl has login on behalf of the user, … |
The End.