41,416 Topics
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.
Is there a need to enable the forum archive on vBulletin forums? I am using mod_rewrite to rewrite all of the threads to have .html extensions anyways, so I am worried about duplicate content.
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:
We are designing a new webpage for our department using PHP. The webpage created keeps scrolling down farther than the data. An example of a page with this issue.[U][url]http://www.wed.siu.edu/New/[/url][/U] We did not seethis in the HTML prgrammed pages. Does anyone have any suggestions.
hello!! What do I have to do to convert PHP3 pages to PHP4 pages? Are there any compatibility problems? Thanks Laxy [URL=http://www.funspot.com]www.funspot.com[/URL]
I'm ujsing php 4.0.3 with apache web server. generally i use mysql. but i have to use mssql for another reason. so i am using ODBC for this purpose. but the "odbc_fetch_array()" is not work. says, undefined function. but as far i know, this function should work with this version …
I have just finished a very careful (I thought) session of loading mods. I was sure to have backup versions of every file I effected, and I tested each mod in turn, if they didn't work I scrapped the idea of the mod and put back the old files. Anyway, …
Hi guys. Could someone please tell me; is there a way of making an avatar disappear from the gallery after someone has selected it? I am working with the adinfinitum phpbb template. I'm fairly new to the phpbb code, but I have managed to get a little forum on the …
[font=Arial]Hi,[/font] [font=Arial][/font] [font=Arial]Does anyone know of a tools or method of converting Access forms to php forms? [/font] [font=Arial][/font] [font=Arial]If so, please email me at [email="[email protected]"][email protected][/email][/font] [font=Arial][/font] [font=Arial]Thanks in advance[/font] [font=Arial]Paul[/font]
i'd like to know how well is apache and php in handling wireless application? any comments ?
I am a second year IT student who is working on a project using PHP(frontend) and MySQL(backend). I am brand new to these softwares which are not being touch in class. I have 2 questions: 1. How do I populate fields (textboxes) in a html form from a selected item …
I'm using phpbb for my whole website [url]http://www.SetAFocus.com[/url] ... using "phpbb fetch all" to integrate them into pages and make it magazine-like. Am I trying too hard that it messes up the flow of the website and turning off visitors from registering? There are times I'd want to make it …
I have no problem to insall php engine in the past and I installed it many times in before. However this the time I got this error message and I don't really how should deal with it. the error message says: ----------------------------------------------------------------------- This application should be called only by the …
I'm trying to pass the value from a radio button to a second, and then a third page. I can pass all other values with no problem, but no value comes from the radio button. Any ideas?
I found this [URL=http://www.allsyntax.com/tutorials/view.php?id=3&page=1]PHP Tutorial[/URL] and thought it was very good.
Hi .. i was trying to install MySQL apache server and php4. i did instal MySQL and Apache and they did work fine on.. but php didnt get install properly, i installed MySQL and Apache on D. and Php in C drive its a same hard disk though, do u …
And I need help with setting up and installing PHP as well. :D Ok, fact of the matter is, I am SOOOOO lost and confused that I am about to give up on the whole thing!! I've got the PHP files upload to the hosting site, and I followed the …
Dont laugh... :o I recently purchased a php nuke template at the template monster and dont know how to upload it properly to my server. I have all the required bits and pieces running but there instructions are a bit vague Hi Willie, To install a PHPNUKE theme you need …
I only started last week with php mysql(be nice) I have a MySQL db where a user can enter contact info, usually stuff: FirstName LastName Address City State Zip I return this info to a php page which shows all info in db. $result = mysql_query("SELECT * FROM contacts"); I …
Hey, how're you doing today? My name is Robb Moceri and I have been working on a website for somebody and I ran into a very complicated problem(complicated on my end), and seriously cannot find the answer. Like I said, I am working on a site... they wanted me to …
I've at least *seen* PHP code before, and have modified my own phpBB forum moderately. However, I've been set a project to build a web interface for recording skittles scores (like 10-pin bowling, but with 9 pins!!), and producing a nice ordered table with player names, number of games played, …
My brother installed an W-Agora forum on my website and has since disappeared on me. I think he lost his telephone and internet service. I cannot get the attachments (photos) to show. The are inline but will not view. I have tried everything and have had a message on the …
[size=4]Core PHP Programming: Using PHP to Build Dynamic Web Sites[/size] [b]by Leon Atkinson[/b] More of a reference book ... and a mediocre one - Don't expect to learn much from this book. The tutorial is mediocre and so is the reference. This book could've fit in about 100 pages or …
i dont have a server and dont want to set one up becuase apache never works for me but i would like to test my php scripts so is there like a way of using an ide for php i also need one for java.
This command working but i do't understand it ??? i am writing funtion in which it using please guid me.. <?php $dbHost="localhost"; $dbLogin="root"; $dbPassword="123"; $dbName="test12"; $query=""; $error=""; $mySqlError=""; $connect = mysql_connect( $dbHost, $dbLogin, $dbPassword ) ; if ( !mysql_select_db( $dbName ) ) { return "<p>Error: Database[ $dbName ] could not …
I am new to php and i want to know if i can use microsoft access as the db??? instead of mysql??? please help?? :-|
I know everyone here probably really likes this forum i do to. But right now i am making my own forum and i am looking for people to join. just goto willpull22.remnetworks.com and click tech forum or goto willpull22.remnetworks.com/phpbb. i hope that advertising another forum isnt against daniweb rules.
welcome, i need a help to how make a setup.php or install.php to install my fourm on apache. thanks
Hey dani, I notice that all of the links in these forums always open up a new window, is that a feature of vbulletin or is there someway I can declare that globally?
Hi I wanted to make a shopping website, not exactly shopping but somewhat like that. I dont know how to use php or my sql so i wanted to know which CMS or portal system will help me out.I am just naming the few scripts present in fantistico,can any one …
I am looking for bulletin software preferably that I don't have to modify much to fit my needs. I just taught a robot camp for kids and would like to have a forum/bulletin for the kids to post on. I would like this bulletin software that can be easily customizable …
Hi all, I'm trying to see if this programmer knows what he is talking about. I'm going to be changing all my files from .phtml to either .htm or .php I have a small amount of php on my site... [url]http://www.exoticpublishing.com[/url] This programmer is saying that I can change it …
Greetings, This is my first post in this group. I am new to php script language. I am trying to use it get stock information and plot them in my way. A lot of examples showed to get stock quote in csv format from yahoo finance. In stead of quote, …
i have an idea for an rpg that i want up but i dont know rpging, if anyone would like to help please email me. but here is the idea. u register, login, and the train ur member. in the training screen, u get skill points and xp points. after …
Ok i am making something and i am not sure what, firstly it was going to be a bit like a search engine but then i got carried away on other features and now i dont even know what i am making! Its nothing complicated just i am slightly bored …
Thank You for taking your time to read this. Well, the subject kind of tells it all. I have built an webshop, but would like the order to be place in an text file insted of mysql. This text file has to be in an csv format in order to …
The End.