39,323 Topics
| |
I have no idea what to do next. I have no idea what PHP is. I don't know where to download PHP and MySQL. Also, I am having trouble with the definition of terms. What is a webhost? Please help. Thanks. | |
Hi I am tring to populate a drop down by selecting another drop down. The first drop dwon populates from eventdata table and i want the second drop down to populate from a race table. I have tried to find the row which contains the same event id as the … | |
hello i´m trying to use the messagebox ok cancel in java to confirm or cancel when i try to eliminate some data from the database. i don´t know how it works. could somebody help me, or give me an example... | |
Hi I was using a schroll bar to display multiple rows of dynamically created from database records. The scrolling was not displaying the data properly so I have decided to use pagination. The problem I am having is, if I select one item on page #1 and another on page … | |
I have a form and here's what I have an issue with.... If the user types something in the boxes, and then accidentally goes to another site/page in the site WITHOUT hitting submit on the form, all the data is lost when they click the back browser button. What I … | |
what is php id? what does it let me do? does it let me put more than one page inside one file or something? If it does something like that, how do i use it? what is the code for it? Please help. I am sort of new to php. | |
hello guys, im practicing doing a website but i have a question, can i maintain the site from any computer or it has to be the computer that i set it up on? thanks in advance | |
dear members ! In my job i jst face this problem with one of our PHP based sites. what this script does is that asks users for some inoformation when they want to have a folder in one of our web servers. now the problem is that when they submit … | |
[COLOR=green]If PHP is ran through the Apache server the files must be in the what folder?[/COLOR] | |
Hi, I have been trying to see how it is possible to get the name of the primary key column from the database by checking the constraint name. I have, up until now been unsuccessful. I have tried the below and I get nothing returned and no errors as well. … | |
[COLOR=#000000]If PHP is ran through the Apache server the files must be in the what folder?[/COLOR] | |
I am currently using the PHPNuke portal (7.9) and I've been having some problems lately with my phpBB forums. I installed the system in January and have been tinkering around with it since. Everything has been running smoothly until a few weeks ago; my forums quit working. For no apparent, … | |
hey there i have a small question if u don`t mind my background is asp.net and i will apply for a job that requires me to know php, but i have never worked before with php are there any major differences between asp.net and php? and does both have the … | |
There is a script I am using....A Media Gallery...everytime I put in a javascript, it does not work. When I put [quote]<script type="text/javascript" src="[URL]http://www.example.com/js/swfobject.js[/URL]"> </script> <script language="javascript" src="[URL]http://www.example.com/js/player.js[/URL]"> </script> <script language="javascript"> var config = new Array(); config["width"] = 400; config["height"] = 300; config["clientId"] = "example"; config["bgColor"] = "#FFFFFF"; config["playList"] = … | |
I am in LAN.I want to put my site in a PC of that LAN and access from another PC of that LAN.What will be the procedure of that. | |
Anyway, i'm working on a PHP module for a CMS where if in the database a website user is either selected as, "GBP" or "EUR" in their Countries' currency field, a set of text is displayed. And if the users' currency is either, "USD" or "JPY", a different set of … | |
Search for a string in a variable--- Is there a way to find a particular string in php. For example: I want php to echo "Found" if the word "sports" in found in this url [url]http://yahoo.com/sports/soccer/index.html[/url] if not then it should echo "bad Luck" Is there any pre-defined function for … | |
[COLOR=navy]it says... Parse error: parse error, unexpected T_STRING in /home/onelastr/public_html/hyip/config/config.php on line 11 I'm very new to all this but i dont see what the problem is.. please help me.. any advice would be nice heres the script..[/COLOR] [I]<? define('dbHOST', 'localhost'); define('dbNAME', 'onelastr_hyip1'); define('dbUSER', 'onelastr_simba'); define('dbPASS', '...........'); define('PageAddress', 'hyip.onelastrose.com'); define('PageTitle', … | |
The following cod,when I press the [I]SUBMIT[/I] button , I get [I]"[COLOR=Red][COLOR=Black][B]Forbidden[/B][/COLOR], You don't have permission to access /< on this server[/COLOR]." [/I][code] <html> <head> <title> The Internet Joke Database </title> </head> <body> <?php if (isset($_GET['addjoke'])): // If the user wants to add a joke ?> <form action="<?=$_SERVER['PHP_SELF']?>" method="post"> <p>Type … | |
Does anyone know a good source for some basic beginners type tips for using php? Thanks? | |
Hello I am Marcus and I am building a directory service and need some help using php. I am new to working with a server but I did read Sams Teach Yourself book on this subject and ubderstand what needs to be done, but still have trouble finding a script … | |
Well, I were trying to make code that gets a XML element from the file and replaces with new data. Here is my code. Parsing command: function ExecuteCMD($forplayer, $what, $to) { $player_dir = 'D:\\Programy\\Open Tibia Server Project\\DeadTouch Binary\\data\\players\'; $SetPlayer = file_get_contents($player_dir . "\\" . $forplayer . ".xml"); $SetPlayer = str_replace($what, … | |
I have been looking at this code for some time and just can not figure anything wron with it. My Error Message is: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/gwthorn/htpsinc-web.com/York_County/login.php on line 13 I commeted 13 [CODE=php] <?php session_start(); //The fields are censored but … | |
| |
ok, see the code below [CODE] <? $rsQry = mysql_query ("select * from tblCustomer"); $arrQry = mysql_fetch_row($rsQry); ?> [/CODE] Now if I try to fetch a Customer's Name from the "Customer_Name" column from the "tblCustomer" table with the following code then I dont get anything: <? echo $arrQry["Customer_Name"]; ?> Why? … | |
Hi, Wishes. I am trying out with the cakephp framework but got stuck with the initialising the database with acl.php... i changed the directory to the scripts folder and tried the commad mentioned. But it do not seem to work... i dont know why? i used the db_sql file to … | |
hello, could someone show me how to redirect a page in php after a specific amount of time like 5 seconds. thanks | |
Want to download a .tar.bz2 and extract, then run the file into the database. Eventually I will be setting up some sort of a crontab job thingmebob, but for the moment, I want to be able to extract the files successfully. I have not touched on streams or system before, … | |
Consider the following code: [code="PHP"] <?php function important_function( $i ) { printf ("<p>Called for the %sth time.</p>\n", $i); return ($i < 3); } function loop_with_and( ) { $ret = true; for( $i = 0; $i < 10; $i ++ ) { $ret = $ret && important_function( $i ); } return … |
The End.