39,402 Topics

Member Avatar for
Member Avatar for spokie

Hey guys thank you for the help you have been giving me it is much appreciated!!! Now can someone help with some code, im developing a website using php and mysql and id like to know how do you limit the amount of data that the php script takes from …

Member Avatar for sikka_varun
0
100
Member Avatar for designingamy

Hello all, I am having a hard time trying to figure out why I can't get my code to successfully check my email address. It seems I can plug in anything and it won't give me an error. This is my code for that line: [code] <?php session_start(); if((!empty($_POST['email']) && …

Member Avatar for designingamy
0
85
Member Avatar for gtamawale

i am beginner. i dont know how to configure mail server. would u please explain about mail server and also about smtp and pop3 server and their configuration with example.....

Member Avatar for gtamawale
0
194
Member Avatar for squarkman

Hi Gurus, I have a form that works well. But there is no validation. Can validation be added on after the fact? I'm sure it's not ideal but can it be done. General suggestion appreciated on how. Here's the code [code=php] <?php if(isset($_POST["Submit"])) { require("c:\php\includes\class.phpmailer.php"); $mail = new PHPMailer(); $toaddress …

Member Avatar for sikka_varun
0
127
Member Avatar for arshadshaikh

I am using apache2triad 1.5.4. I need to use MS SQL Server 2..5 database with my php application. How do i use it and how to configure it. Please let me know ASAP. Thanks

0
46
Member Avatar for macokovac

for example,,, banner and in there should be : site stat: members, total paid... and - member xyz earned xyz $ so far... Do you know guys where could I find it on script ? thank you

0
62
Member Avatar for mm2409

lines of code is: [code=php]$que_id = uniqid(); $que['Yes'] = No; $que['No'] = No; $que[$_POST['r1']] = Yes; $que_words1= $_POST['q1']; $sql = "INSERT INTO `tbl_CT_Questions` (`Question_ID`,`Questionnaire_ID`,`Question_Words`,`Answer_Type`) VALUES (0,'".$que_id."','".$que_words1."','".$que[$_POST['r1']]."')"; $result = mysql_query($sql) or die(mysql_error()) ; echo mysql_error(); echo $sql; echo "<br>";[/code] whr query returns : [code=sql]INSERT INTO `tbl_CT_Questions` (`Question_ID`,`Questionnaire_ID`,`Question_Words`,`Answer_Type`) VALUES (0,'494220e779547','Conflicts Questionnaire','Yes')[/code] as …

0
78
Member Avatar for elbuhleini

Hi, N00b in need for some help :) I would like to do this: our affiliate inputs an url of his choice and submits. The script gives him our app with his affID embeded in it. When his visitor installs this app, he is redirected to url, which was submitted …

0
97
Member Avatar for servis

Hellow evey body, I have to use same sql query frequently on diferenet php scripts pages in a appliction, i want to put this query in a funtion to use it where i want but this funtion is not working at all. i am unable to figure out the problem, …

Member Avatar for servis
0
139
Member Avatar for Borderline

Evening I am trying experiencing problems with a new layout. I am trying to achieve the following style: [url]http://www.further-flight.co.uk/testing/notes/attempt.htm[/url] My current layout has ended up like this: [url]http://www.further-flight.co.uk/testing/notes/failedlayout.jpg[/url] Code: [CODE] <div id="menu"><?php include($_SERVER['DOCUMENT_ROOT'].'/testing/notes/menu.php');?></div> <div id="main"> 1.1 Allow Apostrophes </div> <div id="content"> <p> Information relating to allow apostrophes here </p> </div> …

Member Avatar for somedude3488
0
132
Member Avatar for DanceInstructor

[CODE]Warning: Unknown(): Unable to call () - function does not exist in Unknown on line 0[/CODE] Has anyone seen this error or know what it means?? Thanks

Member Avatar for GrrUnknown
0
228
Member Avatar for designingamy

I'm having a hard time with sessions. I have a long form on 3 different pages and then a preview page of everything entered. I created the code to store the session variables on each page but on the preview page it comes up empty. I am using session_start(); on …

Member Avatar for designingamy
0
84
Member Avatar for digidreams

facing problem while searching a keyword from the mysql database the fuction is dispayed below and i need the word "celllabs & Co., Inc." to displayed in the search results. can you correct the code below [COde=php] function returnUnitSearch($details) { $newArray = array_keys($details); for ($i=0;$i<count($newArray)-2;$i++) { $strVal = $newArray[$i]; $newStr …

0
42
Member Avatar for nszumowski

Hey Everyone, hope you are all well... I have a little subscribe form at inkmedic.com it is a php include, when you click the submit link, the jquery plugin 'lighwindow' opens the elist.php file and should submit the form, however the email information from the form is not carrying over …

Member Avatar for nszumowski
0
102
Member Avatar for franko75

Hi there, I'm looking for some feedback on a simple database class i've written. I'm just trying to get to grips with OOP, so any feedback would be appreciated. I do realise that PDO is available, and that this database class is really just a wrapper for mysql_* functions, but …

Member Avatar for somedude3488
0
114
Member Avatar for maxbox

i cant understand why this error commimng up [CODE]<?php $mysql_host="xxxx.xxxxxx.xxxx"; $mysql_user="anuncios"; $mysql_password="xxxxxxx"; $mysql_db = "suecia"; $conn = mysql_connect("$mysql_host","$mysql_user","$mysql_password") or die("Could not connect : " . mysql_error()); mysql_select_db("$mysql_db",$conn) or die("Select database failed"); $code = mysql_query("Select * from jos_call where code = '".@$_REQUEST['nombre']."'",@$conn); if (mysql_num_rows($conn)==0){ //error here// echo @$_REQUEST['nombre'].' - Codigo correcto'; …

Member Avatar for sikka_varun
0
89
Member Avatar for mcx76

Hi, I am thinking to use Oscommerce. and i want to make some change as I want that "When user see products and like to order.User simply go to Contact us page and send email. Actually i want "Add to cart" to "Contact us for more information and it go …

Member Avatar for sikka_varun
0
127
Member Avatar for gazet22
Member Avatar for gazet22
0
51
Member Avatar for stevehart808

Hi, This script works great when uploading photos but if I try mp3's I get 'Error uploading file' Any ideas would be much appreciated! Thanks [code] <? $uploadDir = 'mp3/'; include ("../includes/database.connect.php"); if(isset($_POST['send'])) { $fileName = $_FILES['userfile']['name']; $tmpName = $_FILES['userfile']['tmp_name']; $fileSize = $_FILES['userfile']['size']; $fileType = $_FILES['userfile']['type']; // get the file …

Member Avatar for stevehart808
0
207
Member Avatar for sleign

I have written a guestbook in php using a MySQL database to store the entries. I am now writing the backend for it so that the rows in the table can be modified via a form. The way the form works is this: A table is displayed on a page …

Member Avatar for sikka_varun
0
2K
Member Avatar for samtwilliams

HI All, I am currently following a tutorial on mysql and php and I am getting this error on displaying results ready for an update in a form. Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/site/update.php on line 11 [CODE]<? $id=$_GET['id']; $username="web183-sql"; $password="sqlpassword"; $database="web183-sql"; mysql_connect(localhost,$username,$password); …

Member Avatar for sikka_varun
0
186
Member Avatar for designingamy

This may seem like a dumb question...well, it probably is. I am trying to write code for form validation. I wrote the code to check the information and then if everything looks okay, to use header ("Location....... and send them to the next page, but of course I get the …

Member Avatar for designingamy
0
82
Member Avatar for mgn2683

Hi, I'm trying to display a report page from an assignment table. Basically, I have a recordset pulling in the info, and dynamic text within a repeat region on a table. I'd like to put in a second repeat region within the intial region to display the 2nd, 3rd, 4th …

0
57
Member Avatar for trtcom1

Hi, I need somebody to have a look at my code below and help to see what I have done wrong. I have 3 tables:[B]Student[/B] [I][COLOR="Red"](studentNum,firstName,lastName)[/COLOR][/I], [B]course[/B] ([COLOR="Red"][I]courseID,courseTotalCapacity[/I][/COLOR]), [B]course_allocation[/B] ([I][COLOR="Red"]studentNum,courseID[/COLOR][/I]). The AIM is to allocate students to 2 classes (courses 101 and 102) as long as there is available space …

Member Avatar for trtcom1
0
168
Member Avatar for asifkamalzahid

ftp_ssl_connect() is only available if both the ftp module and the OpenSSL support is built staticlly into php, this means that on Windows this function will be undefined in the official PHP builds. To make this function available on Windows you must compile your own PHP binaries. [COLOR="Red"](iw want to …

0
91
Member Avatar for an_an

wasn't too sure my codes are correct could sum1 help me check?ty. [code=php]<?php session_start(); unset($_SESSION['email']); session_destroy(); ?>[/code]

Member Avatar for Aamit
0
170
Member Avatar for marcmm

Hello, I am fairly new to PHP, having just started messing around with it, but I need to solve something and I would apreciate any help any of you could offer. Here is my problem: There's a hardware online store built using php/html and connected to a mysql database. It …

Member Avatar for marcmm
0
292
Member Avatar for vssp

Hi Friends In my mysql table , we stored the rtf file this type , we need to change this real word file .Please advise [code] {\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Times New Roman;}{\f1\fnil\fcharset0 MS Sans Serif;}} {\*\generator Riched20 5.40.11.2210;}\viewkind4\uc1\pard\sl360\slmult1\b\f0\fs48 We Have Moved!\fs32 \par \par \ul\fs36 Our New Address:\ulnone\fs32 \par 124 Greenfield Ave. \par …

0
97
Member Avatar for virspy

Hello friends iam new to this community and also iam new to the PHP can any one help me in getting the Telugu version of data in website as in eenadu.com i have to get the data in telugu please help me Thanks in advance Bye

Member Avatar for virspy
0
88
Member Avatar for elbuhleini

Hi to all, php n00b here :-) I have a simple problem and would like to ask for some help... What I want to do is this: when our affiliate submits his aff ID into the form, a php script should post that ID from DB, but load it into …

Member Avatar for digital-ether
0
146
Member Avatar for ChintuChowdary
Member Avatar for digital-ether
0
106
Member Avatar for PomonaGrange

Hi all. I am having a little trouble trying to get a small script to work. What I am trying to do is create a page to use with DADA mail mailing list software. I would like this page to search through the DADA mail text file of email address …

Member Avatar for PomonaGrange
0
153
Member Avatar for 99antsim

I need to create a new system for cms for a project for uni but i don't have a clue :( can anyone help or guide me ?

0
49
Member Avatar for an_an

i nd help in php cos i met error- Fatal error: Call to a member function bind_param() on a non-object in C:\xampp\htdocs\WAD_Project\userprofile.php on line 19. which i dun uds n cant solve after tryin. plz reply n help ty. if thr any other info u nd frm me to solve …

Member Avatar for blocblue
0
89
Member Avatar for cwarn23

I have just started learning php-gtk 2 but am a bit stuck. First is that are there any php-gtk 2 debuggers or error loggers that I can use because at the moment, if there is a bug in my script, the exported exe file made from my php-gtk script is …

Member Avatar for martin5211
0
138
Member Avatar for Heilong

Hello everyone, I'm new on the forum, where I think people can help me figure out my question. I'm coding an agenda where user can enter events, manage these events by date, time...etc all done using PHP (Cake Framework). My question is about reminders for events, I'd like to install …

0
62
Member Avatar for Anjali.want4u
Member Avatar for digital-ether
0
144
Member Avatar for cwarn23

I have been working on a function which creates a 1 million digit value of pi but php is treating a theoretical numeric variable as a string. Below is the code I used and for now I have put a small limit on the digits but it is line 22 …

Member Avatar for digital-ether
0
98
Member Avatar for marcmm

Ok, I'm having a big problem with an sql string for a query. I want to implement a methode that allows the user to search for hotels by entering the minimal price ( so if they enter say 20 it will only display hotels that have prices above 20 ). …

Member Avatar for marcmm
0
146
Member Avatar for bigbob

I hope someone can help I've been trying to sort this for hours. I am trying to pull info from my database and display everything which I have done successfully, however I have duplicate records in my database due to records in different subcategories. Anyway I want to display everything …

Member Avatar for digital-ether
0
138
Member Avatar for rajeesh_rsn

Hai, I had a small shopping web site. Need alert my clients through SMS every day. I need for help in " How to do SMS through my web site, in which the sender of the sms must be "my website name " . My hosting is Apache... and i …

Member Avatar for stephen84s
0
182
Member Avatar for bthaxor

hey all: i am using the wordspew shoutbox plugin for wordpress (at [URL="http://bthaxor.com"]http://bthaxor.com[/URL]), and have it customised exactly the way i want it except for one little problem. inbuilt is a function which converts text beginning with http, ftp, https etc. to links in the shoutbox. i have one problem: …

Member Avatar for bthaxor
0
176
Member Avatar for mgn2683

Hi, I am trying to restrict access to a dynamic list page based of a login id. Essentially a person will login, be directed to the index.php page and can then click on a link to Exam Evaluation. From this page, there are two links, and they can click on …

Member Avatar for digital-ether
0
159
Member Avatar for maxbox

hello i have received this error on line 28 the line 28 is this ?> Parse error</b>: syntax error, unexpected $end in <b>/xxxx/xxxx/xxxxx/xxx/xxxxx.xxxx/public_html /xxxxxx/ok/comprueba.php</b> on line <b>28</b><br /> here is the php file : [code=php]<?php $mysql_host="xxxxxx.xxxxxx.com"; $mysql_user="anuncios"; $mysql_password="ganaras4"; $mysql_db = "suecia"; $conn = mysql_connect("$mysql_host","$mysql_user","$mysql_password") or die("Could not connect : " …

Member Avatar for maxbox
0
88
Member Avatar for squarkman

Hi everyone: I have a form that will submit but won't show any data. No errors though. Does the syntax suggest anything right off the bat? It was working well until I broke up the $msgbody vertically for ease of reading. Thx [code=syntax] $msgbody = ; "Referred by = " …

Member Avatar for darkagn
0
85
Member Avatar for squarkman

I have a template for web pages which is asp.net Inside the content object or whatever it's called, it wish to place a simpe PHP form. I tried it and the PHP code doesn't seem to be recognized as PHP but as text. Can this NOT be done? [code=syntax] <%@ …

Member Avatar for serkan sendur
0
227
Member Avatar for kibosh

Hello, I'm trying to do something I thought would be very simple. I need to display a "degree" symbol as part of my PHP output, and I can't figure it out. I'm trying to use the ASCII &deg code. If I try: [code] echo &deg; [/code] I get an error. …

Member Avatar for Aamit
0
2K
Member Avatar for Kavitha Butchi

Hi All, I am trying to set background image. I retreived it from the database into $xyzimage variable and then trying it to display in the <body > tag. When i am trying to display it a tabel cell like <td> it works, but not in <body> tag. Is there …

Member Avatar for Kavitha Butchi
0
2K
Member Avatar for php2sheik

hi, is session_id is generated by javapage in one website is equal to session_id generated by phppage????.because i integrated php pages to java pages in that website. so i maitain session based on that java page. is this possible to session_id from java page to php page, if i get …

Member Avatar for digital-ether
0
183
Member Avatar for rajeesh_rsn

I am a web designer and Programmer.... I would like to make a web server in my office... I am newbie in this. I want to register a domain and need to make a web server and make my hard disc as server.... Please help me..... I had a 2 …

Member Avatar for jbennet
0
71

The End.