39,326 Topics

Member Avatar for
Member Avatar for sukhy_1

Hello i want 2add the name of the person who logged in at the top of the page, but the name comes from a SQL database called details, but the username and password is kept in another table called member they both are linked by id, this code below luks …

Member Avatar for Suomedia
0
84
Member Avatar for macy2323

Can we call a php function on html buttons onClick event? if yes, how? i really had a hard time solving this.here is my code: [code=php]<?php function store_func($param){ //some code here } ?> ... <?php ... echo '<td> <input name="edit" type="submit" id="edit" value="EDIT" onClick="store_func($param);"/></td></tr>'; ... ?> [/code] it doesnt execute …

Member Avatar for Suomedia
0
82
Member Avatar for Flybye

Hi all. I have setup phpbb3 successfully in the past with MYSQL. Fast and easy. But my friend has a server that only supports MSSQL. The phpbb3 setup programs states only that "MSSQL Server 2000+ via ODBC is available." I have been spoiled using all the tolls Godaddy has to …

0
54
Member Avatar for demissew

As you know mysql is not compiled into php as of version 4, so you have to do some configuration for your php script to properly communicate with mysql server. I’m new to php/mysql development environment; at first everything was frustrating and you don’t get the help you require promptly. …

Member Avatar for peter_budo
0
127
Member Avatar for assgar

Hi I am trying to display appointments in a database and would like to display all appointments for a week. The time of the day appears on the left and vertical columns with the names of appointments on the right. The code below only generates a single column of names. …

0
82
Member Avatar for kishou

can someone tell me whats wrong with my code? [CODE]$file= "/file.txt"; $search ='/$_GET[word]/i'; echo $search; if (preg_match($search, $file)) { echo "A match was found."; }[/CODE]

Member Avatar for ShawnCplus
0
77
Member Avatar for juvincy

Hello, I have been trying to develope an online registration system but i can get the right syntax to use in the developement here are the specifications We have the following types of visits • Admission • Control/Entry/ Visit2/ visit3(routine1)/ visit4(routine2)/ annual • Acute(unscheduled visit) On register response page, we …

Member Avatar for sagedavis
0
140
Member Avatar for hsmom314

I'm trying to update a mySQL database from the info contained in an html form with checkboxes using PHP. Here's an example of what I'm trying to do: Stock number: 555 is available in red, white, blue, and green. My form will have a text box for the stock number …

Member Avatar for nav33n
0
165
Member Avatar for mcx76

I installed Osc store. I was having problem with Register_globle.which was not solved.I find the [URL="http://www.magic-seo-url.com/oscommerce/tips/running-oscommerce-with-register-globals-off.html"]link[/URL] i use this i successfully install store.But still unable to login to admin panel. On [URL="http://cravingcatering.com/store/index.php"]index page[/URL] still have this error.I appied different permissions 444, 644,755 but unable to remove the Message [CODE]Warning: I …

Member Avatar for Free_Man
0
154
Member Avatar for Dsiembab

I like to read about hashing passwords and have read articles about how md5 and sha-1 could be deciphered albiet it would take 25 million dollar computer and time but still if you could take a password and split it into two pieces and md5 hashed the two pieces add …

Member Avatar for Dsiembab
0
118
Member Avatar for dpatz

Hi, I have some checkboxes in an html form. This form uses php to email me the users response. So in my html I set the checkboxes up in an array like this: [CODE] <label><input type="checkbox" name="weekday[]" value="Monday">M</label> <label><input type="checkbox" name="weekday[]" value="Tuesday">Tu</label> <label><input type="checkbox" name="weekday[]" value="Wednesday">W</label> <label><input type="checkbox" name="weekday[]" value="Thursday">Th</label> …

Member Avatar for nav33n
0
258
Member Avatar for nyadimo

hi, once again i need your help, i am designing an online transaction system using dreamweaver 8, php 4 and mysql. i have already created database with mysql, and i want to connect that database with php. so am designing a dynamic wesite in which a customer visiting the site …

Member Avatar for Suomedia
0
112
Member Avatar for justted

Hello everyone, I really really need some help with this as Ive been trying to sort since December and cannot seem to get past it. I only know very basic PHP and still currently learning. Basically I have a website with multiple pages and a membership system which has a …

Member Avatar for Suomedia
0
239
Member Avatar for sukhy_1

Hello ive got this code of the net just wanted some1 2check it 2make sure, also ive got these two peices of code the ones ive highlighted them in red, but dnt understand wa it means by saying put this code in first line of web page any ideas, ive …

Member Avatar for petr.pavel
0
103
Member Avatar for justted

Hello everyone, How easy would it be and where would I start to create a system that members of my virtual pet community could check a box when they register (and update on their profile page) to accept or decline being added to an email list, then for a script …

Member Avatar for Suomedia
0
65
Member Avatar for sukhy_1

hello im doing a driving instructor website for my project, and a driving instructor enters his or her times of booking and the search below gets the results and displays them, but i want the user to be able 2select upto 2results and once they have selected them they click …

Member Avatar for nav33n
0
122
Member Avatar for mcx76

I am trying to install script. But getting error.Error is below and can be seen [here](http://www.cravingcatering.com/osc/install/) FATAL ERROR: register_globals is disabled in php.ini, please enable it! If put the php.in with below text.But its not working. register_globals = On I added .htaccess file with below code. RewriteEngine On RewriteCond %{HTTP_HOST} …

Member Avatar for Suomedia
0
282
Member Avatar for shezz

help me please.. my code for vote can't work to counting when the user send their vote... please look at the attachment.. run poll.php at localhost, and the results will display at results.php. but it fail to increase one vote that just add before. hope you all can help me …

Member Avatar for petr.pavel
0
54
Member Avatar for pedward

Hello, Can someone please help with some of my issues on tha rating script. Here is the sample of the url: [url]http://paperstreetmedia.com/rating-script/[/url] Here is how it is setup, the boxes are rollovers of images. Then I set the css on it to show numbers from 1-10 on each box. Now …

Member Avatar for petr.pavel
0
104
Member Avatar for sukhy_1

hello i need help on my website, i need a function so that when someone enters their date of birth it displays there age in another textbox, but if the person is under 16 a message box shud appear saying u are not over age, message box shud have a …

Member Avatar for nav33n
0
120
Member Avatar for sukhy_1

This code works but i want to add all the total costs up at the bottom of the search output, the[B] // Loop through data and display[/B] is outputs displayed from MySQL, from this code all i get is the total price for each booking but i want to add …

Member Avatar for sukhy_1
0
93
Member Avatar for dw-heath

Hello, I am having difficulties with this, I have been working weeks on getting a site finished and I'm down to the last couple of pages and this has become irritating. If you could help I would be very thankful. Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource …

Member Avatar for binoj_daniel
0
188
Member Avatar for kings

hi all my login is working,but when my url of the third page is typed it is displaying .i want to autheticate using session but it is not working z-login(1st page) [CODE] <form name="form1" method="get" action="z_login1.php"> User Name<input type="text" name="myusername" style="width: 10em;"> Password</strong></td><td><input type="password" name="mypassword" style="width:10em;"> <input type="submit" name="submit" value="Login"> …

Member Avatar for nav33n
0
123
Member Avatar for fujilec

halo, i am the newbie here. I got sumting to ask regarding the approvement and deletion for my database. I'd created a database, and the database contain data that need approval and delete from the admistrator. I use looping to retrieve all the data. PHP code as shown below: [code] …

Member Avatar for fujilec
0
120
Member Avatar for hawisme000

hi im new to this thread, i wish to learn using PHP but i dont know where to start at can u guys tell me a step by step on how to use php? thx in advance

Member Avatar for nav33n
0
69
Member Avatar for arch123

Hi I am getting a blank web page when I try to access the web page on the browser. I ma new to the PHP environment and I have been trying to debug but fruitless.. I know it is some html tag ot some minor problem in the cde. It …

Member Avatar for nav33n
0
129
Member Avatar for luemob

Notice: Undefined variable: home_query in index.php on line 18 Notice: Use of undefined constant U - assumed 'U' in inc/functions.php on line 168 I have installed a script that pulls info from api's and was able to eliminate the errors by chmod the cache folder to 777. I don't think …

Member Avatar for luemob
0
154
Member Avatar for assgar

Hi I am having problems how to proceed in editing appointment info. In this example I have a meeting (code 201) on Monday (day code 550) from 09:00:00 to 12:00:00. This is stored in the data table as: start_time end_time start_date end_date week_day type_code 09:00:00 12:00:00 2008-01-01 2008-01-01 550 201 …

Member Avatar for assgar
0
73
Member Avatar for ryy705

Hello, I can run php scripts on my computer from the command prompt but I can't open it through my web browser. My assumption is that this happens because apache is not configured to use php. Does anyone know what lines(s) I should add to apache's httpd.conf file? I found …

Member Avatar for WebManiac
0
225
Member Avatar for sasken20k

Here is our requirement. We use Php Scripting & Mysql as a back end. We need to add multiple (detail) records for a single invoice in a html page. First time, the end user should see only only one blank record. when he wants to add one more record, he …

Member Avatar for WebManiac
0
106

The End.