39,323 Topics

Member Avatar for
Member Avatar for alexjbriggs

Hey Guys...i know this is a common problem and ive read other threads, but can't figure out my specific problem. Any help would be appreciated!! This script worked perfect until i moved it to a different host. Getting this error: [CODE] Warning: mysql_numrows(): supplied argument is not a valid MySQL …

Member Avatar for network18
0
93
Member Avatar for j_limboo

New to PHP Password change fails please advice [CODE] CREATE TABLE IF NOT EXISTS `ps_users` ( `id` int(255) unsigned NOT NULL AUTO_INCREMENT, `username` varchar(100) NOT NULL, `firstname` varchar(50) DEFAULT NULL, `lastname` varchar(50) DEFAULT NULL, `password` varchar(40) NOT NULL, `active` int(1) NOT NULL DEFAULT '0', `ip` text NOT NULL, `usergroup` text …

Member Avatar for j_limboo
0
198
Member Avatar for jrosh

I want to set a password to [B]phpmyadmin interface[/B] in WAMP.. How can I do that?? I jst want to make sure that no one will change my databases using Phpmyadmin GUI ..() mysql console is ok..... thankx in advance..

Member Avatar for jrosh
0
53
Member Avatar for muralibobby2015

hai frnds......how can i sent mail to multiple mailaddresses at a time? you have any script abt this.. so, plz help me.....

Member Avatar for network18
0
70
Member Avatar for valonesal

This should be pretty simple, We have written a script that calls certain information from our database then we use a simple echo to show the information on our other .php pages. What we need to do is be able to show this same information on html pages as well. …

Member Avatar for valonesal
0
170
Member Avatar for glycerine

I have the following update code but i keep getting a syntax error. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE order_id='105'' at line 21 [CODE]mysql_query("UPDATE status SET id = '". $_POST['id'] …

Member Avatar for Will Gresham
1
176
Member Avatar for mr_scooby

Hello, I have 2 php forms, the first that takes the input and sends it to the second form which checks to see if the fields are empty. What I have to do is if both fields are not entered is return to the main page and highlight the field/s …

Member Avatar for mr_scooby
0
140
Member Avatar for web3

I have a register and login code, but i don't know when the user register to automatically make user page.Can anybody help me?

Member Avatar for Will Gresham
0
132
Member Avatar for Reliable

I've been echoing variables by simply typing "echo" then the variable. For instance: [CODE]<?php $name = "Me"; echo $name; ?>[/CODE] This has been working just fine. I was watchign a tutorial and when he echoed his variable he put his in curly brackets. This is the example: [CODE]<?php $username = …

Member Avatar for Will Gresham
0
80
Member Avatar for genieuk

Hi, I been using a function for past few months that refreshes or redirects a user after xx time, for example after logging in etc. It workes fine in FireFox but notice that in IE7/IE8 and Google Chrome it does not redirect. I checked in IE and it is enabled …

Member Avatar for genieuk
0
154
Member Avatar for roti_john

Hi all, I would like to know is it possible for php do the images matching?Example, user upload the image and search from similar/ same picture? Thanks

Member Avatar for roti_john
0
100
Member Avatar for vaultdweller123

Hi everyone....I have a problem on my php date function... and i hope someone will help.... the PHP date function outputs incorrect results... It outputted incorrect date which is 8 hours late.... and i found out that the timezone has been set to UTC. So ive search the net and …

Member Avatar for tarunkhatri
-2
131
Member Avatar for jimSp

I have a newsletter that sends out a notification to members with in 30 days of expiring. The way it works is the script populates an <option> from the members table who fall with in the thirty days. All I want to do is be able mask the $to recipients …

Member Avatar for jimSp
0
167
Member Avatar for masterjiraya

[CODE=PHP]<?php echo "<html> <head> <title>QUIZ-FINALS</title> </head> <body background=fatcat.jpg> <form method=post> <table border=0> <tr><td colspan=3><b>Enter eight Score:</b><br></td></tr> <tr><td><input type=text name=1></td><td><input type=text name=2></td><td><input type=text name=3></td><td><input type=text name=4></td></tr> <tr><td><input type=text name=5></td><td><input type=text name=6></td><td><input type=text name=7></td><td><input type=text name=8></td></tr> <tr><td colspan=4><input type=hidden name=h value=true> <center><input type=submit value=Compute></center></td></tr> </form></table> <br>"; if($_POST['h']==true) { $n[0]=$_POST['1']; $n[1]=$_POST['2']; $n[2]=$_POST['3']; $n[3]=$_POST['4']; …

Member Avatar for poojamakhija
0
135
Member Avatar for jithusdani

Hi Folks, I have put my whole PHP code and MySql in server and I want to access the files in Client System through LAN . I am using the [B]wampserver[/B] in the server system to execute the script. So please let me know about the procedure to do the …

Member Avatar for sDJh
0
74
Member Avatar for Sagitarian

I have to update a site that has a few hundred html pages and uses frames. The admin wants to rid the site of the use of frames. I have gotten as far as to replace the frames w/php by including dynamic URL for the navigation menu. Here is my …

Member Avatar for diafol
0
122
Member Avatar for MacAdam

Hi, First of all, I'm no database expert. See me as managing a project where this problem occurs. We are building a system that will enable us to roll out Windows Patches automatically to all Windows systems we manage. We use WSUS on SQL Server 2005/SQL Express. The application will …

Member Avatar for MacAdam
0
158
Member Avatar for mjenn2

We've had an old website move server but am having lots of problems with it, plus it's been nearly two years since I did any PHP so any help would be greatly appreciated. Have sorted some problems out but am stumped by this one. Have stripped the code down to …

Member Avatar for mjenn2
0
95
Member Avatar for nadnakinam

Now code looks like this... [COLOR="Red"][B]No links(page navigaton links) working...[/B][/COLOR] i think(not sure) problem @ line no 55, 66 & 77...(query part of URL). [CODE]<?php //CONNECTION TO DATABASE! $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="accounts"; // Database name $tbl_name="login"; // Table name $tbl1_name="details"; // …

Member Avatar for nadnakinam
0
137
Member Avatar for dokinah1
Member Avatar for poojamakhija
0
260
Member Avatar for jjtao

U get the following error on my one page Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /usr/www/users/stealtf/components/com_aclassf/top.php on line 111 This is my coding [CODE]<?php /** * This file is part of Almond Classifieds Component for Joomla! (site:[url]http://www.almondsoft.com/j[/url] ) * Copyright (C) 2008-2009 AlmondSoft.Com. All …

Member Avatar for poojamakhija
0
165
Member Avatar for scias23

i can't get this from working. i want to execute these two queries ebcause i want to insert data to two separate table. is it possible to do this with one query? this is what i've got so far: [CODE=php] $sql = "INSERT INTO login SET studNo = $studNo, userName …

Member Avatar for liamfriel
0
245
Member Avatar for nilusara

in my web server all pages i develop targeting internet explorer browser but other browser can open it but not view properly.therefore i need to forcefully open it in internet explorer.if user open it in other browser than IE it gives a message box saying "The site is best viewed …

Member Avatar for Troy III
-1
282
Member Avatar for dourvas

hallo there, i ve implemented a log in system which works just fine. i have a simple form username and psw and when the user pushes the button "ok" i check into mysql database if those names exists. if yes, i create a session and i keep some variables so …

Member Avatar for pritaeas
0
101
Member Avatar for nadnakinam

i'm getting warning in all pages where i used session function... warnings are displayed before redirecting to the page... some help to solve this... here the warning message, [COLOR="Red"]Warning:[/COLOR] session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\vhosts\agamudaiyarsalem.com\httpdocs\profile edit.php:2) in C:\Inetpub\vhosts\agamudaiyarsalem.com\httpdocs\profile edit.php on line …

Member Avatar for poojamakhija
0
89
Member Avatar for CFROG

Being new to php I'm still trying to learn different ways to do things. Once I know that something works I tend to just stick with that method but I often wonder if it's even the best way to do it or should I be doing something differently. What I …

0
73
Member Avatar for InsaneVr6

I for the life of me can't get this to work and I get no errors. [B]admin.php[/B] [CODE=php]<html> <head> <title>Admin Area</title> </head> <body> <? //connect to mysql //change user and password to your mySQL name and password $conn = mysql_connect("host","username","password"); if (!$conn) { die('Could not connect to the database: ' …

Member Avatar for InsaneVr6
0
110
Member Avatar for genieuk

Hi, I hope someone can help me. My site been using cookies and i have decided to scrap cookies after finding to many security holes which i myself was able to hack in testing. I have looked online and found nothing that is want i am after even my php …

Member Avatar for genieuk
0
241
Member Avatar for ilokana

Can you divert one database to another database if the former has crashed? My site crashed and would like to have a backup database if this happens again (hopefully not!). Thanks.

Member Avatar for SoN9ne
0
69
Member Avatar for sugumarclick

Hi all I like to display the next and previous content's teaser for every node in drupal(PHP CMS) . .Is there any module available for this issue.. next and previous content's teaser should be of the same taxonomy of same content type.. Suppose if i a news is displayed in …

Member Avatar for sugumarclick
0
126

The End.