39,323 Topics

Member Avatar for
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
129
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
131
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
224
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
82
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
39
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
101
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
112
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
87
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
123
Member Avatar for gazet22
Member Avatar for gazet22
0
47
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
203
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
183
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
80
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
55
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
166
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
88
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
166
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
287
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
96
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
86
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
143
Member Avatar for ChintuChowdary
Member Avatar for digital-ether
0
103
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
151
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
47
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
87
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
131
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
60
Member Avatar for Anjali.want4u
Member Avatar for digital-ether
0
138
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
96

The End.