39,402 Topics
![]() | |
Anybody could help me how to configure database/table images in MySQL ? Thanks. Roland | |
I want to use PHP mail() function to send email to hundreds of users, in mail function I can set mail list like: $sendto="user1@abcd.com,user2@xyz.com,user3@yahoo.com,....."; But in this way when user receives this email, he can see all the email recipients at the top, I want to hide this info, is … | |
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 … | |
hey, i'm trying to insert data into my database with PHP5 i've created this code, <? //open the connection $conn = mysql_connect("localhost", "user", "pass"); //pick the database to use mysql_select_db("musiclist", $conn) //create SQL statement $sql = "INSERT INTO musiclist (artist, title)"; $sql.= "VALUES ("; $sql.= "'John Denver', 'Thank God I'm … | |
Good day to all members! Please help me :cry: Anybody could help me or could give me a php code. What I need is I want to put link on each data that I had retrieved through array from mySQL database so that when I'm going to click each of … | |
hello! I an a newbie in php. i am transfering value from one of my page to another(Mailign page) thru query string and the values gets dislayed in an input control. Then the user enters other required values on this mailing page and then clicks submit which sends a mail. … | |
I am a beginner for php. I just wrote three php pages to generate some information from a mySQL database. The first page set up criteria (such as state and industry for some company information) and a form for people to search from the mySQL database. The second page is … | |
I know this isn't strictly PHP...but it does deal with the integration of RSS with a PHP forum, so I thought this forum was the best fit... I am using the original (re: free) release of IPB 2.0.0 for my college newspaper (we're very broke, or else we'd pay for … | |
Good day to everyone! :D Anybody could give step by step PHP code or explanation with examples of how to get the information to other page. For example my main page is index.php inside of it I have three links to the following PHP files: roland.php, haydee.php and ricky.php. Now, … | |
I have got this code, which am trying to display it in white writing. I could get the first part in white but couldn't get the variable ($HTTP_SESSION_VARS['items'] to come up in white. echo '<font color="#ffffff"><b>Total Items = </b></font>'.$HTTP_SESSION_VARS['items']; I have also tried the code below but got an error … | |
[b]Configuring PHP with MySQL[/b] [B]Intro[/B] To use PHP with MySQL, of course you need to install MySQL server on you system first. On my local system, I have MySQL server installed in \mysql directory. If you need help on installing MySQL on your system, please read "Herong's Notes on SQL". … | |
Am not too sure what this code does can someone help me please? I know it starts a session but what all that xtra validation? // start the session session_start(); if (!get_magic_quotes_gpc()) { if (isset($_POST)) { foreach ($_POST as $key => $value) { $_POST[$key] = trim(addslashes($value)); } } | |
I currently run a fully modified phpBB forum and I like it. I do have lots of errors though and its starting to annoy me. Im thinking of switching to vBulletin but I need to know some stuff first. How easy to install is it? Is it as easy or … | |
hi i ahve developed one artcicle submit site. in taht i have done list of authors and the number of article submitted by them. but in the first page taht is fine but in second page onwards the number of article shows 0. i cna show the website http://articlenetworks.com/authors.php this … | |
hi i ahve a mysql databse in which list of name is stored. i wnate to retrive the data form that databse. i have problem in retriving it. if i have name jack 3 times in my databse, but when i wnat to show the names i get jack jack … | |
I see that the vBulletin has the possibility of Sub-Categories.. By question is: [b]Does phpBB have this option, or not?[/b] And if not, WHY!? | |
[COLOR=Navy]Hello, Ps can anyone enlighten me on how to learn PHP. I mean I am a novice and would like to know if it requires a compiler etc like C++,C ..to compile codes. In essence what are the things needed to learn PHP...and how can I really develop myself well … | |
Good day to everyone! Anybody could give step by step PHP code or explanation with examples of how to get the information to other page. For example my main page is [U]index.php[/U] inside of it I have three links to the following PHP files: roland.php, haydee.php and ricky.php. Now, if … | |
Hey there, im not very great at php and im wondering how i could fix this error [CODE]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home2/blindst/public_html/forumbeta/vtopic.php on line 328 No replys to this topic.[/CODE] This is line 328 [CODE]$sql2=("SELECT * FROM `reply` WHERE tid = '$id' … | |
I'm trying to add an RSS feed to my videogame website, but it isn't working. These are the steps I have done so far: A) I have copy and pasted the RSS reader to a blank notepad file, and named it rssfeed.php. This is that code: <?php $olderror_reporting =error_reporting(0); include … | |
i ahve a summary for example hsssssssssssssssssssssssssssssssssssssssssssssssssssss hsssssssssssssssssssssssssssssssssssssssssssssssssss sbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb i wante to break these summary and dispaly only first line. hsssssssssssssssssssssssssssssssssssssssssssssssssssss which function i have to use? any body please help me |
The End.