39,320 Topics

Member Avatar for
Member Avatar for welbyobeng

Can anyone help..... When I search on my site this is the error I get [QUOTE] [B]Warning[/B]: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [B]/mounted-storage/home23a/sub003/sc21979-KVVZ/www/ghhookup/functions.php[/B] on line [B]28[/B][/QUOTE] This is a peice of the code from function.php [QUOTE]if(mysql_num_rows($sql_res)){ return mysql_fetch_object($sql_res); } else { return ''; } …

Member Avatar for sn4rf3r
0
195
Member Avatar for jan1024188

what sql is?what can we make with SQL?do i have to know PHP BEFORE LEARNING SQL ??????

Member Avatar for jan1024188
0
80
Member Avatar for jyan

Hi! I'm doing a small website with some mysql and php, and have difficulties with doing a login site. I have the form sending the username and password, and this site should check them. Here's the code: [php] <?php session_start(); if(!($connection = mysql_connect("host","user","pass"))) die("Can't connect to database."); if(!(mysql_select_db("db", $connection))) die("ERROR …

Member Avatar for sn4rf3r
0
169
Member Avatar for Danyal

Hello, My site has a error: Parse error: syntax error, unexpected T_STRING in /home/***/public_html/playground/maps.php on line 341 Line 341: $getopp="SELECT * from a_pokemon where Pokemon='$getuser3[Opponent]'"; $getopp2=mysql_query($getopp) or die("Could not get Pokemon from database."); $getopp3=mysql_fetch_array($getopp2); Thanks, Danyal.

Member Avatar for Astegiano
0
130
Member Avatar for Astegiano

Hello, I'm building a website like MySpace, the address is [URL="http://pantarei.awardspace.com/"]http://pantarei.awardspace.com[/URL] the website is wrote in Italian. It has members customizable profiles, internak message system, search user tools, a forum and a chat. I just builded the main forum page but I have a problem that I cannot solve. The …

Member Avatar for Astegiano
0
141
Member Avatar for Elle0000

I need to display the results of a short poll, and display the percentage of results for each option in each question. I don't know how to calculate the total number of results for each option or how to calculate and display the percentage of each vote. One of the …

0
57
Member Avatar for bazmanblue

hello has anyone installed and uploaded phpadmin through dreamweaver. can anyone explain to me how? im a bit stuck

Member Avatar for sn4rf3r
0
182
Member Avatar for mmarif4u

Hi every one, I have a little problem in php. problem is that i want to search mysql table by php coding. In php i want to use Drop down menu And a text field. I have mysql table name is guestbook, now i use two entries in dropdown menu …

Member Avatar for sn4rf3r
0
743
Member Avatar for Mikeish

I don't have much time to say this but I'm going to try and hurry... Here's a snippet of code: [quote] $subName = "someName"; include "contentHeader.php"; [/quote] Inside of contentHeader: [quote] echo $subName; [/quote] -------------------------- I know that this variable is correct because I had tried to use it on …

Member Avatar for Mikeish
0
61
Member Avatar for Barefootsanders

Hey everyone. I dont know if anyone here can help me but I run a site powered by the Joomla CMS. I wanted to design a component for my site and I was wondering if i could use C++ to design it instead of PHP and just use the 'system' …

Member Avatar for Barefootsanders
0
103
Member Avatar for cancer10

Hello, I want to convert a 1024 x 786 wallpaper into thumbnail in PHP Wots the code for it? Thanx in advance

Member Avatar for pcschrottie
0
85
Member Avatar for Validator

hi, i've been writing a liltle php script for 2 days now and i am stuck on a big problem which i can't find a solution for. i hope you guys can help me out, i have been searching all over the web for a solution and tried many things …

Member Avatar for Validator
0
126
Member Avatar for okparrothead

Hello all, I have a newbie question. I need an alternative to this: $variable = 'Sometext with some other text <?php include 'somescript.php'?> some more text'; where $variable will be echoed into a webpage as part of the page content. I can echo text into the page all day, but …

Member Avatar for okparrothead
0
5K
Member Avatar for omesa

Hello guys Its afternoon this side of Africa. I have a school project where a user register and they earns points. When the points are 10, the first user is either deleted from the database and/or retained in the system, either way the second person gets their points... and the …

Member Avatar for omesa
0
80
Member Avatar for kysolein

Well im a noob so be gentle lol Ive got a basic multiple choice quiz, and im trying to make it so that when processed it will insert the result into a table in the database. Anyone got any ideas how i should go about this?

Member Avatar for Puckdropper
0
96
Member Avatar for lconvoy

Hey all. I have tried my hand at some simple programming in both ASP.NET and PHP. Now I am pitching a complex website to some investors where I will be outsourcing to professional developers. I must decide between PHP and ASP.NET platforms. In my experience, ASP.NET seems to offer a …

Member Avatar for ManicCW
0
165
Member Avatar for srimks

Hey. I wish to develop a website for team members which has features as listed below. I am impressed with [URL="http://www.evolt.org/PHP-Login-System-with-Admin-Features"][COLOR=#0000cc]http://www.evolt.org/PHP-Login-System-with-Admin-Features[/COLOR][/URL] resource source code which is freely available and I am thinking to use that as reference. I need small help and they are - 1) Password protected login for …

Member Avatar for srimks
0
722
Member Avatar for lconvoy

Hey all. I have tried my hand at some simple programming in both ASP.NET and PHP. Now I am pitching a complex website to some investors where I will be outsourcing to professional developers. I must decide between PHP and ASP.NET platforms. In my experience, ASP.NET seems to offer a …

Member Avatar for sn4rf3r
0
132
Member Avatar for vssp

hai Friends How to convert time stamp to actual date uding php ? Please help me __________________ Thanks Vssp

Member Avatar for vssp
0
248
Member Avatar for nugget93
Member Avatar for nugget93
0
266
Member Avatar for Mych

I have a form which for debugging I'm submitting as 'get' so that I can see the values of the inputs being passed. the url pass is AddMValidate.php?prodno=1682&isnew=on&special=on&title=Special&Mselect=SAM&FCKeditor1=dkja+sdfjasfd+adj+ashfkjdhaskj+fdh&submit=Submit In my AddValidate.php page I have the following [php] #Validate that Machine Type has been selected $Mselect = $_REQUEST["Mselect"]; if ($Mselect =="SAM") …

Member Avatar for MCP
0
71
Member Avatar for fernandodonster
Member Avatar for Puckdropper
0
59
Member Avatar for cancer10

If I want my users to download a .zip or .exe file the command is <a href=filename.exe>Download</a> or <a href=filename.zip>Download</a> This will ask the visitors where to save the file on their hard disk. But what if I want my users to download a doc/pdf/php/html file and I dnt want …

Member Avatar for MCP
0
110
Member Avatar for preist

Hi everyone. Here's the question: I need a web program that will allow a English teacher to run a business where he checks the texts submited by the members. The program should be a website where a student will sign up to become a member, will log into the website …

Member Avatar for preist
0
100
Member Avatar for donkey

hey folks, i was wondering if it is possible to use the copy function to move a word file from the web server to another drive? Any help would be appreciated.. thanks

Member Avatar for Puckdropper
0
64
Member Avatar for dss

Hi, I need a urgent help on how to integrate paypal and how it works. Please read the following query: I am making a website on astrology and the requirment is that they had some paid services, like As a question? If a person click on as a question a …

0
48
Member Avatar for yakoo

Hello, I have a field in DB called bookingstatus whose value will be <>1<>2<>3 Now after certain action I want to add one more extra value i.e. <>1<>2<>3<>[B]4[/B] how can i update this, should i have to check the previous values? how do i do update? Any help would be …

0
102
Member Avatar for nathanpacker

Hey, at my job, I work on so many systems, and I have so many usernames and passwords, that I have to keep them all in a password protected spreadsheet. I would like to write a php app that I could put on my site where I could store all …

Member Avatar for nathanpacker
0
90
Member Avatar for bigmushy

Hi People, First of all I would like to appologize if this has been posted before but I have not been able to find the answer. The Problem Basically what I'm trying to do is create a page that lists all assets from an assets table and disables the check …

Member Avatar for bigmushy
0
106
Member Avatar for rcasinillo_s

Good day everybody! Could you help me on how to install mysqli extensiton in PHP ver 5? Thank you in advance. Regards to all, Roland

Member Avatar for alpha_foobar
0
703

The End.