39,402 Topics
![]() | |
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 … | |
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']) && … | |
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..... | |
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 … | |
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 | |
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 | |
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 … | |
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 … | |
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, … | |
![]() | 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> … |
[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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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'; … | |
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 … | |
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 … | |
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 … | |
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); … | |
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 … | |
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 … | |
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 … | |
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 … | |
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] | |
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 … | |
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 … | |
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 | |
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 … | |
hi to all, i need code for downloading a page into a doc file. | |
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 … | |
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 ? | |
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 … | |
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 … | |
![]() | 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 … |
Can someone please tell me how to send a HTTP request through PHP . | |
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 … | |
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 ). … | |
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 … | |
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 … | |
![]() | 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: … ![]() |
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 … | |
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 : " … | |
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 = " … | |
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] <%@ … | |
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 ° code. If I try: [code] echo ° [/code] I get an error. … | |
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 … | |
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 … | |
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 … |
The End.