39,320 Topics
| |
Hi, I'm trying to create some rows in a table using php code. Its like this: [code] <table border="1" cellspacing="0" cellpadding="0"> <tr> <td width>some item</td> </tr> <?php echo drawRow(); // draw another similar row ?> </table> [/code] But it turns out that the row is drawn before the table. In … | |
Hi all, I m new to php and I have a simple problem. I want to check whether a file exists or not using php. I used the file_exists function for that but it doesn't work while I m able to open the same file using fopen..I know its a … | |
Hi guys, I'm Alex. I'm a complete n00b to the world of PHP and am glad that y'all have support available here. :) Anyway, I'm unofficially doing tech stuff for a magazine and I'm working on a code to order subscriptions. I'm having a problem with variables in a loop … | |
:?: i am having the problem with cookies.. when working in windows , i can only set a maximum of 20 cookie variables not more than that.. any one tell me , how to overcome it.. | |
Hello PHP coders from Knysna South Africa! I've come here looking for answers fellow programmers. Like how to correctly install PHP and Apache on Windows XP as a development environment. I want to play with things like the gd library and pdf lib etc... the fun, interactive stuff that makes … | |
I see when i put my cursor over your subject/title of your threads in many forums at daniweb (but not all), a transparent cream/yellow box comes up with the first few sentences (or is it the first few paragraphs?) of the thread/post. I have vb 3.0.3 installed for my group, … | |
Hey, I have a USB barcode scanner and would like to make a php based program to interface with it. How can I read from the USB port using php (Mac OSX). thanks Dan | |
I am very, very new to this whole php thing, so i am sorry for being so dumb, i am trying to learn, and i am going crazy! I am trying to get several scripts working but keep getting similar errors for them.. looks something like this Warning: Division by … | |
Hi all, This is my first post and first attempt at PHP so sorry if this sounds daft. I'm about a fifth of the way through the php bible and a quarter through php/mysql for dummies, so it can only get better. Anyway I'm getting this error when I try … | |
Im new to PHP so please be gentle... Im trying to make a script that allows a user to enter a user name and pass, but no path, the path should be hidden from the user. I want them to only be able to view whats in the folder I … | |
I am a beginer of PHP. Which Version of apache is compatible with php 5.0?? which one for php 4.0?? I want to setup manually php for apache both of these versions. How can i proceed?? :-| | |
Hi I came across this website, [url="http://www.brishi.com/football.htm"][u][color=#000000]http://www.brishi.com/football.htm[/color][/u][/url] and i saw the calender thing in the bottom right, i have seen that on other sites, but i can't fine the script to put it on mine. Does anyone know where i can get a calender script like that one? Thanks | |
I have set up a phpbb2 forum and now want to add a galery to my site. Does anyone know a good gallery that will be compatible with the membership system of phpbb2. Thanks | |
Hi, I'm trying to connect to a database using MySQL. Very new at this. I already have an existing table consisting of 2 rows created using phpMyAdmin. The problem (not exactly) I'm facing is when i insert a new row, it seems to insert after the 2nd row, not at … | |
I have created a small application in PHP and MySQL. Could someone tell me what I need to do to add the appln. on an Apache Web server? Is there anything I need to take care of in the application to be a web app? | |
Hy, I made a php site that is a virtual shop. The problem appears when I want to add in the basket the second product. Then I receive the following error : "Fatal error: [] operator not supported for strings in c:\apache\htdocs\cos.php on line...". I know that [] is an … | |
can someone please elaborate on code below that evaluates to 42! //$var is an integer = 42 $var = "3 mice" + 39; | |
First excuse me for posting such a question, I'm sure it has a very simple answer. I am about to get to grips with PHP over the next few months and as such have no real experience. The problem I'm facing is with passing a variable declared at the top … | |
hey, i've been in a middle of a problem about passing a php variable from one .php page to another? for example: if im in a middle of sign.php which has a variable called $username: this user name is to be known through all the rest .php pages in my … | |
Guys, soory for being so stupid but I need your help. I am creating a new site with a forum & need a portal installed. I have installed 3 themes (phpBB2) but am not getting much help from sources I have tried. PLease can anyone help? I also need a … | |
I run a php program which make a excel sheet. I like to know how can I add text on top of the excel sheet. | |
Dear friends! We are asking your opinion on our [url=http://www.enginsite.com/PHP.htm]PHP Editor[/url] . Some people ask what is the point of yet another editor. We see our niche as low cost solution-a set of several tools with everything a web-master might need. It is still a long way to our dream, … | |
Can someone show me where I go wrong. I am trying to populate a drop down list with field "type_desc" from the [U]eventType[/U] table. Upon selection, the value that will be passed will be "type_code". All I am getting is a blank drop list. Can someone help. Tablename: eventType Fields: … | |
I constantly use the PHP INCLUDES feature on my site, & recently ran into a problem that I'm not sure is solveable at the moment & I'm hoping someone will have a solution. I'm aware that PHP INCLUDES is ususally for content that you want to keep constant over many … | |
Help with querystring error. I am try to pass a query string to the same page but having problem This is my code: <HTML><BODY> <div align=center> <A href="?page=1">Page 1</A> - <A href="?page=2">Page 2</A> - <A href="?page=3">Page 3</A> </div><hr> <? switch($page) { case "1" :?> THis is page one <? break; … | |
I am new to PHP and don't know how to upload a picture in database and after uploading how to display it. Plz help me if u know. | |
hi rellay i am new in you forum but i think that i will intersted with you... my quastion is: how can i compressed any file as zip by php? i have a file and i want from user to download it as zip file and i want to compress … | |
Hi all, Michelle here. I want to know, objectively, LOL yeh right, who thinks Pearl is better than PHP & why & if it's just as easy to find a Pearl Programmer than a PHP programmer. This is for DB applications. Pls. only respond to this thread if you know … | |
The problem is that SOMETIMES, my SID gets embedded in the URL, although at the begining of every page I have this code: ini_set('session.use_only_cookies', "1"); session_set_cookie_params(60*60); session_start(); session_register("blabla"); if (!$_SESSION["logged_in"]) session_destroy(); etc, etc; So there are days/times when the SID isn't embedded in the URL (and in the links of … | |
Maybe possibly im just stupid but can some one in depth explain php how to use it and what it is :-| :lol: :sad: |
The End.