39,323 Topics
| |
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 … | |
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 … | |
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.. | |
hai frnds......how can i sent mail to multiple mailaddresses at a time? you have any script abt this.. so, plz help me..... | |
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. … | |
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'] … | |
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 … | |
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? | |
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 = … | |
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 … | |
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 | |
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 … | |
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 … | |
[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']; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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"; // … | |
this php n html code is supposeed to allow editting of property info/details | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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: ' … | |
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 … | |
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. | |
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 … |
The End.