39,320 Topics

Member Avatar for
Member Avatar for qazs

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 …

Member Avatar for qazs
0
125
Member Avatar for vbjani

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 …

Member Avatar for vbjani
0
84
Member Avatar for alexruimy

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 …

Member Avatar for fpepito
0
92
Member Avatar for girish

:?: 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..

Member Avatar for billah_norm
0
57
Member Avatar for laurencetuck

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 …

Member Avatar for Dani
0
83
Member Avatar for jos

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, …

Member Avatar for Dani
0
144
Member Avatar for rudysplif

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

Member Avatar for fpepito
0
293
Member Avatar for aphex23

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 …

Member Avatar for aphex23
0
132
Member Avatar for andyseaton2003

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 …

Member Avatar for billah_norm
0
121
Member Avatar for kamui

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 …

Member Avatar for kamui
0
122
Member Avatar for billah_norm

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?? :-|

Member Avatar for chunguy
0
344
Member Avatar for cuddlers89

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

Member Avatar for PoA
0
91
Member Avatar for cuddlers89

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

Member Avatar for PoA
0
74
Member Avatar for qazs

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 …

Member Avatar for ReDuX
0
156
Member Avatar for jyothicm

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?

Member Avatar for jyothicm
0
123
Member Avatar for monicao

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 …

Member Avatar for billah_norm
0
77
Member Avatar for sammy1958

can someone please elaborate on code below that evaluates to 42! //$var is an integer = 42 $var = "3 mice" + 39;

Member Avatar for billah_norm
0
96
Member Avatar for Hendrinx

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 …

Member Avatar for Hendrinx
0
163
Member Avatar for Decency

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 …

Member Avatar for fpepito
0
207
Member Avatar for deepsand

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 …

Member Avatar for Young Teck 06
0
110
Member Avatar for nahid

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.

Member Avatar for Zachery
0
57
Member Avatar for Luckasoft

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, …

Member Avatar for Gary King
0
227
Member Avatar for tip

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: …

Member Avatar for tip
0
131
Member Avatar for maxfaction

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 …

Member Avatar for ReDuX
0
281
Member Avatar for tip

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; …

Member Avatar for tip
0
89
Member Avatar for sunil kumar bob

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.

Member Avatar for ReDuX
0
189
Member Avatar for foreverman2002

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 …

Member Avatar for foreverman2002
0
139
Member Avatar for ep2002

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 …

Member Avatar for Gary King
0
264
Member Avatar for ubik

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 …

Member Avatar for ubik
0
106
Member Avatar for OurNation

Maybe possibly im just stupid but can some one in depth explain php how to use it and what it is :-| :lol: :sad:

Member Avatar for Alcides
0
81

The End.