39,316 Topics

Member Avatar for
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
141
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
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
138
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
136
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
181
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
172
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
145
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
86
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
80

The End.