39,320 Topics
| |
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /data/9/0/24/113/676928/user/690291/htdocs/inc/_up_index1.php on line 40 This is the error i get every time when any of my php scripts try to read/write in my mysql data base. This is _up_index1.php [PHP] <? $test_act['new_tranzaction']="OK"; $test_act['tranzaction_details_started']="OK"; $test_act['tranzaction_details_pointing']="OK"; $test_act['accept_tranzaction']="OK"; $test_act['reject_tranzaction']="OK"; $test_act['tranzaction_details']="OK"; $test_act['payment']="OK"; … | |
Is there any significant difference between Php 4 & Php 5 ? Like they are better in different scenarios or something ? I am planning to use Php for web development with mySQL on an Win XP m/c and Apache server. Is there any pros & cons for choosing one … | |
hi, I have written this small code section [PHP]<?php // database connection $host = "localhost"; $user = " "; $pass = " "; $db = " "; $table= "test"; $conn = mysql_connect($host, $user, $pass) OR DIE (mysql_error()); @mysql_select_db ($db, $conn) OR DIE (mysql_error()); $sql="SELECT * FROM $table WHERE image_id=100100"; $result=mysql_query($sql) … | |
Hi, I have used php_write function in PHP4 and it works fine, I have updated my codes to PHP5, I have changed some codes for this and when I use this function php_write php5. Please if anybody knows why it happend help to me. Thank you | |
I have a list of files that are pictures but i want to have <- previous next -> under each picture that goes to the next picture. Was thinking maby should create an array of all the images and then echo out the array | |
The following script will take your variable [b]$comments[/b] and filter out any bad words. [b]eregi_replace[/b] is case-insensitive, so it will take out the word, no matter the way it is input. [php] $bad_words = explode('|', 'badword1|badword2|badword3|etc|etc'); foreach ($bad_words as $naughty) { $comments = eregi_replace($naughty, "#!@%*#", $comments); } [/php] This will … | |
Please please please i need a bit of help, with setting my php site layouts. I have decided to use tables instead of page frames for various reasons. I am now however having some problems with getting my page to display as I wish, so if anyone could please give … | |
Hi, I need to implement my image retrieval project on a web-based. I would like to know if there are any good tutorials on creating image thumnails? thanks in advance, tristan | |
Hi, When i try to run the php script [PHP]<? php $myFile = "testFile.txt"; $fh = fopen($myFile, 'r'); $theData = fgets($fh); fclose($fh); echo $theData; ?>[/PHP] I get the error : "Parse error: syntax error, unexpected T_VARIABLE in C:\xampp\xampp\htdocs\readfile.php on line 3" I can't figure out why, any help appreciated tris | |
Hello there, I am working with a company that I am paying to develop my website. I am not a webmaster or developer myself, ok? So I may not quite put things "right" in technical terms and for that, I apologize... My website is about 3/5's of the way completed. … | |
Hi there, I'm pretty new to php so please bare with me - :rolleyes: lol. I've created two tables in a MySQL db one called topics and one called courses. I have a couple of files which allow me to post data to the db (written in php) and now … | |
hye all, im here just want to ask for a very basic problem about checkbox. i do search but there is nothing related to my problem. my problem is : 1. i have a dynamic table with checkbox on each row of my table. 2. each row has different value … | |
How do I download and install Apache HTTP Server on my Windows XP computer )so I can test my PHP scripts without having to publish the script to the internet every time)? [B]Martin[/B] | |
Hi I've been told by my bf that php and mysql are very very powerful tools in the computing world and that it can make all kinds of neat things like databases to small nifty programs. I'm a model, and I began to get addicting to computers after i was … | |
Howdy, I know this's not the first mod_rewrite thread, but I hope I can find the answer here :o I have a game script running on server and I need to change the dynamic url to SEF. placed this code: Options +FollowSymLinks RewriteEngine on RewriteRule game/(.*)/(.*)/$ /games/game.php?$1=$2 in the .htaccess … | |
Hello there, I am relatively new to PHP. I would like to know if there are any free forum scripts out there that would come with a blogger script as well, and once the forum is running, when you click on the author of a particular post, it sends you … | |
Hi, I'll explain basically what I'm trying to do. A person goes to my site to download. Before they can download they have to agree to the TOS (according to my lawyer this is best). So on the page (let's call it agree.php) I need several things: 1. textarea with … | |
Hi, I need some advice on where I can find relevant materials on passing values from an executable C programs to PHP scripts. I think its possible by passing the values and store on a text file and import the text file into the scripts. But I am now trying … | |
i run a forum powered by phpbb version .19... one of my moderators is very concerned about an ip address been seen logged onto 10-30 pages on the forums, at the exact same time. spme of these pages were private messages, profiles.anyway the ip is called a googlebot, but this … | |
I have a Nuke php site. The problem is that the meta tag is setup to display what the creator wanted the keywords to be. I need it changed so that I can make it relevant to my site. Please let me know how to do this. [URL=http://casino.finditjack.com]My Site[/URL] Thanks | |
Greetings All, My Setup: ---------- - Windows XP - Apache 2.0.52 - PHP 5.0.3 - PHP Nuke 7.8 My Problem: ------------ After attempting to upgrade from PHP 5.0.3 to a later version, Apache no longer reconizes my PHP website What I tried to do: ------------------ I had a perfectly running … | |
I'm interested in starting a site that would have streaming videos on it that only members could login and watch. I don't want the videos to be downloaded on to their computers. What do I need to be able to do this? I am good to go in the HTML … | |
anyone know if there are any scripts like [url]www.ratemyprofessors.com[/url] ? I want to make a site similar to this. Maybe i need to talk to a web developer and just pay them. I dont see myself learning this as i would like to get a serious site going. | |
Good day to you! Is somebody could explain and give examples to me what are the functions of session in the page and what are the purpose of it? I'm waiting for your detailed help... Thank you in advance... Roland | |
Good day members! Could somebody help me here, could modify it for me. There is an error in the syntax: $query = "UPDATE jobs SET position = '$position1', description = '$description1' WHERE id = '$checkbox1'"; $query = $query . " 'UPDATE jobs SET position = '$position2', description = '$description2' WHERE … | |
im working on win xp with apache 2.0.55 ,php4 when i run the code <html> <head></head> <body> [B]abcdefrr[/B] <br /> [B]<?php // print output echo 'php code '; ?>[/B] </body> </html> i get [B]output on browser [/B] abcdefrr ----please help me run php code embeded in html page also the … | |
hi.. i can't seem to find a smtp server.....the one i did download a free smtp server and nothing seems to work...i simply need to send mails using php on a apache server since the smtp server is sittin on my pc itself, i (or didn't) changed the php.ini file … | |
Dear all, Is there any [B]ONE[/B] Web Server that supports all Server scripts eg PHP,ASP,ASP.NET,JSP, Servlets, JavaScripts, VBScripts, etc. | |
Is anyone know how put ad on a forum site ;) [URL=http://almiso.com]www.almiso.com[/URL] | |
hi iam new to php and finding it a little hard ive downloaded xampp as i don't own a host yet the problum iam having is that a have a nuke mod with i would like to run how do i install it been sat here for 2 days and … |
The End.