39,316 Topics

Member Avatar for
Member Avatar for iqra123

helloo i have to communicate between two users and i want to do it through e mails. how can we send messages on email address in php??? do we have to use any e mail server?? plz help !! Regards!

Member Avatar for iqra123
0
133
Member Avatar for alfredtiu

Hi everyone, can you check for me if my codes below are correct? i am having problem to retrieve my image file from mysql database. The errors start at "header" parts. I have no problem to store image file (mediumblob) in mysql database. The file shown are in HEX forms. …

Member Avatar for kalpanasarvan
0
346
Member Avatar for andydeans

Hi, New to PHP, wondered if anyone could point me to a script that would do the following: get email address from a website. Basically there is a site that is open for public viewing with addresses and phone numbers and email addresses that my client would like to target. …

Member Avatar for chrishea
0
102
Member Avatar for eantz

Hi there, Someone using symfony? help me, please.. I have form class that I embed to another one.. In the embedded form, I have multiple checkboxes. But when I try to save it and I check some value of checkboxes, the error said "SQLSTATE[HY093]: Invalid parameter number: number of bound …

Member Avatar for eantz
0
269
Member Avatar for SerjSagan

I am getting a weird error in Google Webmaster Tools when my site is accessed as [url]http://www.myurl.com/[/url] it shows duplicate meta tags for a [url]http://www.myurl.com/?ref=wierdurl.com[/url] I have no relation to this weird url, but obviously it is linked to my site this way and Google sees it as a separate …

Member Avatar for jay 11
0
163
Member Avatar for andydeans

Hi , i have used some gui tools to generate my php code from database and i need some help with the search form. basically the tools only created the search of dates in US format so someone had to write a cusotm function for it to display as UK …

Member Avatar for sergb
0
98
Member Avatar for kanjigirl

Is it possible to control which files get included by looking at the browser type? For example if I'm using: [CODE]<?php include("includes/nav.php"); ?>[/CODE] but for all IE browser versions I'd like to call a different file, nav_ie.php, can that be done, and if so, how would I go about it?

Member Avatar for FlashCreations
-1
110
Member Avatar for Silvershaft

I followed a tutorial on [url]http://www.phpeasystep.com/workshopview.php?id=6[/url] and I think it's not working properly for me. When I try to start the session in my sidebar thing it won't actually start somehow :S [code]<div id="sidebar"> <h2>[<a href="?page=home">Samppa's page</a>]</h2> <h3>&nbsp;Main menu</h3> <ul class="menu"> <li><a href="?page=about"> >> About</a></li> <li><a href="?page=projects"> >> Projects</a></li> <li><a …

Member Avatar for mrcniceguy
0
319
Member Avatar for druveen

Hi everyone [CODE] $i=0; echo '<script language="javascript"> var dA = new Array(); var x = 0; for(i=0;i<2;i++) { dA[x++]="'.$date[$i]." ".$message[$i].'"; '.$i++.'; } </script>'; [/CODE] here i want to increment $i above code is not working, Please help...Thanks in Advance...

Member Avatar for scrappedcola
0
217
Member Avatar for D4n1sD

Hello to everybody. Lately I have been working into a forum and I have been offering free e-mail accounts with my domain to all the people that register to my forum. However few of them will bother to use outlook for that, so I thought to make a login/registration page …

Member Avatar for Rhyan
0
91
Member Avatar for herberwz

Pls help: [B]Warning:[/B] require(connect_to_mysql.php) [function.require]: failed to open stream: No such file or directory in C:\wamp\www\chibenda\root_directory\index.php on line 3 [CODE]<?php $db_host = "localhost"; // Place the username for the MySQL database here $db_username = "root"; // Place the password for the MySQL database here $db_pass = ""; // Place the …

Member Avatar for drjohn
0
147
Member Avatar for Erco21

Hi! I have basic input form, which right now saves what i input into a txt file Now, i want to save/add that into a table (not mysql one, just a table on a page that anyone can see) so, i was wondering if there is any example code, or …

Member Avatar for sourcebits
0
85
Member Avatar for Deemar

Here's how I'm creating my form: [CODE] foreach ($all_rows as $column) { print ("<tr>"); print ("<td>". $column['name'] . "</td>"); print ("<td><input type='text' name='form1[".$column['id']."][materialsPrice]' id='".$column['id']."' value='".$column['materialsPrice']."'/> <input type='hidden' name='form1[".$column['id']."' value='"."' /></td>"); print ("<td><input type='text' name='form1[".$column['id']."][labourPrice]' id='".$column['id']."' value='".$column['labourPrice']."'/> <input type='hidden' name='form1[".$column['id']."' value='"."' /></td>"); print("<td><input type = 'checkbox' name = 'form1[".$column['id']."][quantityCheckbox]' id = …

Member Avatar for sourcebits
0
222
Member Avatar for jwescott

Been in computers since the Radio Smack days. Been developing in VB (DOS through 2005), Access VBA, Authorware, yada yada, so how come PHP is such a big deal? I must be getting old.

Member Avatar for maceman
0
22
Member Avatar for baudday

I have a picture of my database design attached. Basically what I'm wondering is if there is a way that I can use the foreign keys I have set up. For instance, shirtColorsLink contains two columns, shirtId, and colorId. Both are foreign keys from the shirts table and the colors …

Member Avatar for baudday
0
95
Member Avatar for gazzy1

HI I HAVE FORM IN MY PHP PAGE THAT INSERT DATA INTO MY DATA BASE: DETAILS OF MY PHP PAGE THAT HAVE DATA ENTRY FORM IS: oUTLET Id: oUTLETnAME: ADDRESS: CONT NO: SIMS: CARDS: LOADS: NOW THE HELP REGARDINGS IN THIS FORM IS THAT. I WANT TO OBTAIN DATA FROM …

-1
55
Member Avatar for gazzy1

HI, THNX FOR HELPING IN MY LAST POST. Now i wants the help in follwing problems. i have a table in my sql named as "retailer001". i have a php page that have the data entry form of all field that are in mysql table. my table retailer001 having 11 …

Member Avatar for KamranArshad
0
127
Member Avatar for Emeraldwebshane

Hey Guys I have just started to learn PHP and have been using a book called "PHP For Absolute Beginners" now i have found a fair few mistakes in the book which i have corrected myself but i have come across an issue which is probably a simple fix by …

Member Avatar for Emeraldwebshane
0
110
Member Avatar for sunilpro

Dear members, I am new for Php, wish to develope two dropdown list. One listing all DB's availabe with MySQL and on selection of one DB second should list tables in that DB ( with no 'GO' type button). Once Table selected third dropdown will list fileds availabe, Can some …

Member Avatar for Rhyan
0
174
Member Avatar for Geertc

Hello, This is my first appearance on a forum ever, I am fairly new at programming and I have following question : If I make a INSERT...SELECT statement (to transfer data from one table to another) in a MySQL-editor, the statement gets executed once ; the same statement in my …

Member Avatar for Geertc
0
170
Member Avatar for aMOEBa

I need to write a method to return the number of rows I have in my table. This code I've written so far; [code] <pre><?php class Database { private $connected=false; private $user,$pass,$host; private $db; private $result=array(); public function initialize($user, $pass, $host) { $this->user=$user; $this->pass=$pass; $this->host=$host; return $this; } function connect($dbname) …

Member Avatar for aMOEBa
0
93
Member Avatar for nabilamn

hai all. i got a problem to display a total from a few data in my database for example, in my database i got these fields: TABLE STUFF food double; clothes double; groceries double; total double; ---> should i put this in my table to save my total that will …

Member Avatar for scaiferw
0
188
Member Avatar for ayesha789

Hi, this is my file which showing result. I put check box for each result. [CODE=php]<? include("config.php"); echo "<form method=post name=myform action=b.php >"; $result=mysql_query("Select Distinct region,MaintainedBy From info"); while($ro=mysql_fetch_array($result)) { echo "<tr bgcolor=#FFFFFF style=color:#000000;>"; echo "<td>" . $ro[0] . "</td>"; echo "<td>" . $ro[1] . "</td>"; echo "<td><input name=id[] type=checkbox …

Member Avatar for ayesha789
0
133
Member Avatar for azegurb

hi there, I have taken script which fucntion as mysql connection. but there are somethings that i dont understand. does anyone can help me? Thanks in advance the code is below [CODE]function query($sql) { $link = new mysqli(DB_SERVER, DB_USER, DB_PASSWORD, DB_NAME) or die('There was a problem connecting to the database.'); …

Member Avatar for azegurb
0
107
Member Avatar for jatpatel1

Hi there, Is it possible to write description about an image without storing it in a db? I have a photo gallery and instead of using a database, I have used the dir() function to read all the files in the folder then put it in an array. It works …

Member Avatar for pzuurveen
0
100
Member Avatar for ramzmail

Is it possible insert datas of excel file [.xls] to the mysql? Not CSV file, please post me a coding...

Member Avatar for vibhaJ
0
62
Member Avatar for whiteyoh

Hi All, Ive just imported two CSV files into phpmyadmin, but i need to add an auto increment field into it, and then populate it. Any advice on how to do this would be appreciated

Member Avatar for vibhaJ
0
80
Member Avatar for wish02

Hi! Im planning to make the entries of the Ticket # links to view the ticket information. But how do i pass the value of the clicked ticket# to the next page? thanks in advance! [code=php] <?php session_start(); if(!session_is_registered(myusername)){ header("Location:main_login.php"); } ?> <html> <head> <title>Employee</title> <style type="text/css"> <!-- .tableContent { …

Member Avatar for ayesha789
0
114
Member Avatar for lonestar23

Trying to figure out how to parse the attribute value from an RSS feed which contains namespaces? Need to retrieve value "CA" from 'ac:country="CA"' in the code below. Thanks In Advance! [CODE]<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:ac="http://palm.com/app.catalog.rss.extensions"> <channel> <link>http://www.palm.com</link> <title>Device Apps for US</title> <description>Complete list of US Device channel applications …

Member Avatar for lonestar23
0
278
Member Avatar for cacoyle

this may seem a tad stupid but i've been googling for about half an hour and still no clarity - basically i have an animated gif called processing.gif i would like this gif to display in full screen for about 5 secs or so and then redirect to my home …

Member Avatar for Nahiyan
0
128

The End.