39,323 Topics

Member Avatar for
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
96
Member Avatar for Anonymusius

I have a program which requires a database. So I made a file that could generate the sql to create it (I copied the sql from PHPmyadmin as reference). When I execute the sql I get the error: [code]You have an error in your SQL syntax; check the manual that …

Member Avatar for dr4g
0
107
Member Avatar for ep2002

Hi All, Someone just told me that if you name your pages .php, it hinders your rankings. Is that true? Thanks Michelle

Member Avatar for stymiee
0
213
Member Avatar for HLA91

Hi I got this script of a tutorial site and I placed it on my site but it seems to work fine apart from it doesn't send the email can anyone help me please. the contact us page [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> …

Member Avatar for HLA91
0
164
Member Avatar for Legend01

Hi all i have recently been using fireworks MX and have created a working menu. it is uploaded on my server and currently have it in a html page as this was the code fireworks gave me. How can i put this html / javascript menu into a php block? …

Member Avatar for w_3rabi
0
211
Member Avatar for andy3250

could someone recommand me which software that i can use to unblock filter internet. I have website that i want to show it in other country but other country have blocked my website from peoeple see it. is there is any software that i can unblock filter internet! AM

Member Avatar for w_3rabi
0
79
Member Avatar for Moord

Currently, my company is running our website and intranet in CF. We're looking to move our website to PHP, but the intranet must remain in CF for the foreseeable future. Is it possible to run both CF and PHP on the same server? If so what considerations do I need …

Member Avatar for Moord
0
111
Member Avatar for kapil.goyal

can anybody tell me how i can upload a file without user interaction.the file full path is known and can be hardcoded.

Member Avatar for digital-ether
0
393
Member Avatar for tomf

How can i make this script work? It is meant to send an email to a person with a confirmation code, but it is not working. whats wrong with it? [code] <?php function send_mail($fromname,$frommail,$to,$subject,$body,$priority) { $fullmail = "\"$fromname\"<$frommail>"; $headers = "From: $fullmail\n"; $headers .= "X-Sender: $fullmail\n"; $headers .= "X-Mailer: PHP\n"; …

Member Avatar for digital-ether
0
139
Member Avatar for rednarjess

Dear All; I have table in vehicle.php file that contains vehicle information(plate number, vehicle model, reg. and exp. dates). I pprovided each record with href(more) if he want to know more about this specific vehicle in vehicle-info.php file. in vehicle-info.php I get the plateN and I pass it to the …

Member Avatar for GliderPilot
0
297
Member Avatar for Manawyddan

Hi everyone. i'm having the following problem with the PHP code that i'm writing: [B]Notice[/B]: Undefined index: email in [B]c:\program files\easyphp1-8\www\gestao_perfil.php[/B] on line [B]15[/B] [B]Notice[/B]: Undefined index: password in [B]c:\program files\easyphp1-8\www\gestao_perfil.php[/B] on line [B]22 Here is the code: [/B][code=PHP] <?php parse_str ($_SERVER['QUERY_STRING']); //Tenta estabelecer uma ligação ao servidor MySQL @mysql_connect("localhost","root","") …

Member Avatar for WhiteLeo
0
163
Member Avatar for DangerM0use

How would you execute MySql commands found in a text file? It's really beginning to bug me!

Member Avatar for digital-ether
0
85
Member Avatar for rednarjess

Dear all; I write this php file and when I want to view it does not make sense. It also can't retrieve the necessasry info from my database:( . Please can any one guide me. Note: I attached my DMV database. Thanks alot //=========== <html> <head> <title>Displaying Your Vehicles</title> </head> …

Member Avatar for rednarjess
0
75
Member Avatar for Don Gino

Hi I have recently attempted to make a forum with phpBB using a free php and mysql web hosting site. This is the link: [URL="http://www.zendurl.com/directory/dgcforum"] www.zendurl.com/directory/dgcforum[/URL] As you can see, error messages appear. I am new to all this and was wondering if anyone had any solutions to get the …

Member Avatar for Don Gino
0
71
Member Avatar for w_3rabi

hey guys anyone knows a way to direct the browser to the page he came from like the Back button php plz

Member Avatar for w_3rabi
0
82
Member Avatar for bhavna_816

I am new to PHP. I am trying to connect mysql with PHP with mysql_connect but i m getting "A link to the server could not be established" I have used ODBC 3.51 driver for odbc and made connections with odbc with odbc_connect but i don't know how to connect …

Member Avatar for jbennet
0
151
Member Avatar for shimon

I have been getting tons of email spam from my own domain name. It is coming from a contact form that uses sendmail.php. My guess is someone is trying to use it to spam other people, but it keeps going directly into my inbox. I can't block sender. I can't …

Member Avatar for dss
0
236
Member Avatar for azharcs

<h3>In php how do you create accounts and let the user send messages to each other which cannot be viewed by other people .</code></h3> <h2>The only thing i have come close to is by creating accounts by giving each one them an unique email id and let them send and …

Member Avatar for w_3rabi
0
105
Member Avatar for mmiikkee12

If I have a string like this: [code] blah test asdf [/code] What kind of regex would I use to change all single newlines (like between 'blah' and 'test') to <.br> and all multiple newlines (like between 'test' and 'asdf') to a maximum of two <.br>'s? I've tried these already: …

Member Avatar for urolicious
0
153
Member Avatar for ggboko
Member Avatar for dss
0
148
Member Avatar for siyomai

I got this error from my php code... [B]Parse error[/B]: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in [B]C:\Program Files\xampp\htdocs\projko\sign_in_sub.php[/B] on line [B]11 here is my code: [code=php]<?php ini_set('display_errors', 1); function sign_in(){ $con = mysql_connect("localhost", "root", "dodong"); if(!$con){ die('Could not connect: ' . mysql_error()); } mysql_select_db("dbko", $con); …

Member Avatar for siyomai
0
97
Member Avatar for dks1383

Hi Is there any free web hosting sites that suport php and mysql? (and work with them be easy)

Member Avatar for jbennet
0
115
Member Avatar for desiguru

I am looking for a PHP news system. I guess it will be more like any other news paper site online. I am looking for an open source or paid version. Does anyone know such thing?

Member Avatar for cpickering
0
74
Member Avatar for HunterSThompson

how would I upload files with php if someone can steer me into the right direction that would be great.

Member Avatar for cpickering
0
72
Member Avatar for hbmarar

Hi, I am not getting why my modifications for mod_rewrite is not getting working... Apache 2.0 Windows OS i uncommented the loadmodules line for rewrite but i do not find in my httpd.conf a single line with clearmodulelist nor addmodule. I do not know how to enable mod_rewriting in the …

Member Avatar for hbmarar
0
64
Member Avatar for chewbacca810

i having been programming for 10+ years now, so I always try to adhere to good programming practices (variable naming, spacing, etc). Yet, almost every snippet of code for JS or PHP that you can pull up goes against those practices. even when writing JS or PHP, where var type …

Member Avatar for rgtaylor
1
357
Member Avatar for assgar

Hello I have changed the process code abit so it receives the data from the form and ensures the data in array format. This has eliminated my previous error. The problem I am experiencing is the looping is not displaying the all contents of the arrays. Do you have any …

Member Avatar for shivamsoftware
0
110
Member Avatar for dansmit

I am trying to delete a member of staff from a table using php using a drop down menu of staff id's he is my code <!-- deletestaffmember.php --> <html><body> <?php putenv("TNS_ADMIN=/u1/oracle/Products/shu10g/network/admin"); $conn = OCILogon("wkagonye","maniki", "shu10g"); $query = "select StaffNo from tblstaff"; $stmt = ociparse($conn, $query); ociexecute($stmt); ?> <form action="deletestaffmember.php" …

Member Avatar for shivamsoftware
0
107

The End.