39,320 Topics

Member Avatar for
Member Avatar for assgar

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 …

0
65
Member Avatar for jnscollier

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 …

Member Avatar for digital-ether
0
358
Member Avatar for techhelpforme

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.

Member Avatar for bitmaster
0
502
Member Avatar for genievb88

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

Member Avatar for digital-ether
0
76
Member Avatar for Riazansar

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 …

Member Avatar for Riazansar
0
219
Member Avatar for chubbywubba

[COLOR=green]If PHP is ran through the Apache server the files must be in the what folder?[/COLOR]

Member Avatar for UrbanSky
0
53
Member Avatar for gigtech

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

0
57
Member Avatar for chubbywubba

[COLOR=#000000]If PHP is ran through the Apache server the files must be in the what folder?[/COLOR]

Member Avatar for pty
0
63
Member Avatar for Upon1

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

Member Avatar for Upon1
0
225
Member Avatar for 7arouf

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 …

Member Avatar for w_3rabi
0
120
Member Avatar for welbyobeng

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"] = …

Member Avatar for digital-ether
0
103
Member Avatar for jscriptanit

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.

Member Avatar for Phaelax
0
112
Member Avatar for JSR

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 …

Member Avatar for JSR
0
126
Member Avatar for cancer10

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 …

Member Avatar for digital-ether
0
100
Member Avatar for sweetcrabhoney

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

Member Avatar for sweetcrabhoney
0
88
Member Avatar for Eko

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 …

Member Avatar for Eko
0
104
Member Avatar for Estreetloans

Does anyone know a good source for some basic beginners type tips for using php? Thanks?

Member Avatar for jbennet
0
233
Member Avatar for Turnkey Monkey

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 …

Member Avatar for dr4g
0
189
Member Avatar for tomf
Member Avatar for MaestroS

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

Member Avatar for dr4g
0
763
Member Avatar for SuperioAssassin

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 …

Member Avatar for dr4g
0
143
Member Avatar for jscriptanit
Member Avatar for dr4g
0
95
Member Avatar for cancer10

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

Member Avatar for omick16
0
106
Member Avatar for hbmarar

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 …

0
65
Member Avatar for realnsleo

hello, could someone show me how to redirect a page in php after a specific amount of time like 5 seconds. thanks

Member Avatar for johny_d
0
96
Member Avatar for justinm

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

Member Avatar for w_3rabi
0
126
Member Avatar for MattEvans

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 …

Member Avatar for Infarction
0
121
Member Avatar for ko_tish

Short guide to include RSS on your website Including RSS feeds in to your own pages is pretty simple with PHP and some open source libraries. The follwing lines show how to create HTML from RSS feeds using the popular PHP tools magpierss (fetches and parses the RSS feed) and …

Member Avatar for Dsiembab
0
86
Member Avatar for Clanham

I am trying to display all data from my MYSQL database but it results in a blank page: <? mysql_connect($host,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query="SELECT * FROM events"; $result=mysql_query($query); $num=mysql_numrows($result); mysql_close(); echo "<b><center>Database Output</center></b><br><br>"; $i=0; while ($i < $num) { $title=mysql_result($result,$i,"title"); $title =mysql_result($result,$i,"title"; $description =mysql_result($result,$i,"description"; $organization =mysql_result($result,$i,"organization"; …

Member Avatar for dr4g
0
96
Member Avatar for realnsleo

could anyone please help me and show me how to validate a form with the php_self function and the error message appears to the side of where the error came from. Thanks. You could also give me useful links.

Member Avatar for dr4g
0
95

The End.