39,402 Topics
![]() | |
...any help?.....i successfully installed the xampp, when i try to run files i encounter error 404... | |
hello, am new to this site and i know very well that i have so much to learn about php. actually, i need a php script that can email username and password to a private email. although, i have one but it doesnt have the lines that can email the … | |
Hi everyone! I will try to give you as much info as possible to solve this quick! I am reading the Apache_Php_sql weekend crash course and I am stuck on testing my php installation. Here's what I have so far. Vista Installed Apache 2.2.11 listening on port 80 at "c:\server". … | |
Hello I am a newbie with MS SQL and PHP. So if you could help it would be much appreciated. I connected remoteley to a Microsoft SQL server 2005 database with PHP. I have to call a procedure (A) wich calls another procedure B within it. How do I get … | |
Hi every body..! I'm new to the php, but i know a little like some syntax and all... but i don't know how to start with php.. i need your help in [COLOR="Red"]1. How to start in php 2. What are the softwares require and how to instal and configure … | |
Hello Guys, I would like to know if its possible to have a form with four felds which when i press submit it stores the details to database and then excel or directly to excel, iv been searching around, and couldnt find much information, so would apericiate so help. Or … | |
ok so basically I have an image uploader in my page and it is giving me troubles When I first got the script working it had the problem of submitting the same image to mysql whenever the user hit refresh. I fixed this problem with a header that automatically redirected … | |
In my form i placed a table and it contain some data. Now i want to retrieve a particular cell data | |
is it good to ask whats the use of id while working with php.... if u talk abt property . whose property is it.. the link of the present web page or that of the destination page that the codes makes the page to get redirected.......... | |
Hi all, I am looking for a browser based game developer or team of developers who have the experience of creating browser based strategy games like travian.com or ikariam.com Thanks! | |
Hi, i have installed apache 2.2 and have installed php 5.2.9. The installation has taken place succssfully. However when I try to test my php script with a simple <? phpinfo(); ?> I dont get any output in my browser. I have looked throuh the folurms and have tried a … | |
Hello all, Does anyone know where i need to look if I want to outsource php in the West Midlands? This is urgent so I would appreciate it if some one can get back to me ASAP. Thanks | |
I'm trying to have a form submit to a url with the users selection input from a dropdown. When I submit the form it goes to the search.html page as in the code but is not picking up the prodMFG from the dropdown. Any ideas how to make it work...a … | |
Working recently with Microsoft's rapid development environment for ASP left me impressed with the speed of the tools. I'm curious if anyone knows of a rapid development environment for PHP. I use phpEdit Professional and Dreamweaver Studio 8 which has some real nice php code already defined but one would … | |
![]() | Hi all. Have been trying to get my head around a problem in my custom messaging system. This is my msg table: id (PK) datetime_posted (datetime) from_id (FK for user id) to_id (FK for user id) title (the title obviously) msg (the body) status (0 = inbox, 1 - removed) … ![]() |
hello everyone. i need to develop a site where i need to show members of the site on google map via the database. can anyone please hep me with this? i have never worked with google maps API. thanking you in advance | |
Hi all, The following code should select all data, grab the highest value row (i.e. the newest), and display that exact rows number, contained text and time/date of creation. It is correctly grabbing the row number, but still only grabbing the contents of the first row. I am not getting … | |
Hi All, The title of this thread is the error i am recieving when running the script below. Im hoping to get it to show all entried from the selected row. [code] <?php $dbh=mysql_connect ("------", "--------", "-----------") or die ('I cannot connect to the database because: ' . mysql_error()); mysql_select_db … | |
I have a Drupal site, and I have been all over the Drupal forums and gotten nowhere. My sidebar blocks disappeared, save for one single block, which changes. However, the blocks can be accessed and served by another module the Panels module. The site is Drupal 5 but I am … | |
I have two arrays, Forms and formsShared. [code] <?php foreach ($Forms as $r): ?> $("#shareform<?=$r['Form']['id'];?>").hide(); $(".Share<?=$r['Form']['id'];?>").click(function(){ $("#shareform<?=$r['Form']['id'];?>").toggle("show"); }); <?php endforeach; ?> [/code] Currently, I have this hide and toggle function for each Form in the Forms array. I want these functions to be enabled for the forms in the formsShared … | |
I need a way to select the values from another table and then insert them In another table. And using the id which is posted from . in this file i need to select data from 2 differnt table and then insert it into the table MainStrInv . Please check … | |
to start with .. lemme ask u .. whether i can use <?php ?> inside <script ></script> anywhere and also if i can use html tags there????????????????????????? ![]() | |
Hello, I have a tracking program I built for one of my websites so I know which keywords are getting visitors. Anyway, the tracking program works, but it fills my error logs with this one error: PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in... Anyway, … | |
with the little understanding of php wht i hav understood is that.. we use request whn v use certain data frm the same page and use the database.. in case of post v use it whn v hav to get the data frm a different page.. forget get for the … | |
Hello World, I am Antonio KC, from Peru. Currently I am developing a job board system, php based, using CodeIgniter framework. | |
Hi all, I am a student trying to access a database that is on a different server than where my web pages are stored. My webpages running PHP scripts are here (128.118.142.34 through 128.118.142.46) and my database is here (146.186.83.60) Here is the code that I implemented: [code]$con = mysql_connect(146.186.83.60, … ![]() | |
Evening All. I am busy creating a website that will have about 20 pages. So I have made a header and a footer (include("");). now that i am ready to start with the main content of the site i cannot seem to add div tags to the css file inside … ![]() | |
I can't seem to figure out this simple issue. Basically, I'm doing an integer validation to ensure a user does not exceed the range of a "BIGINT" for MYSQL. As you know, the range of a BIGINT is: -9223372036854775808 to 9223372036854775807 So, to test the validation, I used: -9223372036854775809 and … | |
If i create a custom session handler that stores my session information in a database and use the normal session variable since I overwritten it would these sessions work across a load balanced web server cluster. | |
On a PC, Explorer or FireFox I get a box around any image that has a link associated with it. All browsers on my Mac appear as desired. My typical... [CODE]<a href="http://www.link.com/" target="_blank"><img src="images/MyPicture.gif" width="200" height="103" align="top" /> </a>[/CODE] Is there any way to get rid of these? | |
Ok so basically I am creating a ftp loop, that takes dynamic inputs from a previous page (all variables should be present, but naturally may not be formatted correctly... or i wouldnt be posting) So.. I can get it to loop through a connection just fine, but I seem to … | |
Hi ive got this bit of code, trying to reteach myself stuff about PHP ive forgotten and having a general play. However i can only get this code to half work [CODE]<?php include_once("connect.php"); $username=$_POST['username']; $password=$_POST['password']; $email=$_POST['email']; $existing= "select * from CSLE_User where Username = '$username'"; $exist=mysql_query($existing) or die (mysql_error()); $num=mysql_numrows($exist) … | |
do anyone knows how to connect to a MS SQL server(database in internet,i have ip,db username and db password).i used mssql_connect from my PHP ,but how to activate it in windows or Ubutu.i download all dll files needed but i cant connect..pls help me.... | |
hi all, marquee is working fine in my localhost firefox but when i made it live its not working in ff any ideas why? thanks in advance ![]() | |
I could use some assistance in trying to streamline this jumble of code into maybe a function, or at least slimming this down some. with this code I am counting the amount of images in a folder (4 folders actually) and then getting that result, and supposedly adding one to … | |
Hi there, I am having problems with editing/updating a record. I have 3 tables: Student (studentNum,firstName,lastName,ClassRoom), course (courseID,courseTotalCapacity), course_allocation (studentNum,courseID). I have 3 courses, MATHS=101,BIOLOGY=102,CHEMISTRY=103. The total number of students allowed for each of the 3 courses is courseTotalCapacity = 20. Meaning that only 20 students can register for MATHS, … | |
I have error on this line.. what should I change..thank you [code=php] mysql_query("INSERT INTO lesson (subject,year,learningArea,objectives,ability) VALUES ('<?php echo $onrow["subject"]', '<?php echo $onrow["year"]', '<?php echo $onrow["learningArea"]', '<?php echo $onrow["objectives"]', '<?php echo $onrow["ability"]' ") or die(mysql_error());[/code] | |
hi guys, i already made a simple website using the localhost XAMPP, everything is going well, now i want to upgrade it, meaning i want it to be uploaded in a web server? is there any sites you could refer to me for the complete step by step procedure of … | |
I have a login form that works just fine, except when it forwards to the 'menu.php' page. The 'menu.php' page has a list of links that is suppose to be in relationship to the 'mem_id'. For example, there's a link called 'Profile'. When you hover over the link, it is … | |
ok what i am trying to do is math between different values and then echo something if that number is in between those values [CODE] //gives % $bal = $other / $first + $second + $third; //checks what percent is in between if($bal < 50) { echo "3pt"; } //if … | |
Hi folks, I am brand new to PHP, but I am trying to learn from an online tutorial. I'm using this one: [url]http://inpics.net/tutorials/php/variables24.html[/url] I'm sure there are many others, but that's where I'm at now. I am on the variables section, and they present this code: [CODE]<?php # This script … | |
Hi everyone I am having a problem with displaying an image from mysql with base64_decode. my image viewer looks like this: [code] <?php require_once($_SERVER['DOCUMENT_ROOT'].'/site/dbconnect.php'); $result=mysql_query("SELECT * FROM images WHERE p_id='".$_GET['p_id']."'"); $table_returns=mysql_fetch_array($result); $encoded=$table_returns['data']; $image_name=$table_returns['image_name']; $the_date=$table_returns['date']; mysql_close($connect); echo base64_decode($encoded); echo $image_name; echo $the_date; ?> [/code] I don't know what I am doing … | |
Before I start coding my webpage, I'd like to know if I'll be able to test curl functions without my site being online. I know you can test webpages in browsers offline. Can curl still get me data from other websites while I have internet access, but my site is … | |
hello everybody..can someone help me to find out the script for testimonial...i have been searching but i can't found it..please everybody..i really need it for my last year project...really need help from the pro.... | |
Is there a way to send a streaming url such as mms or asx through mysql or a php file so that it does not appear in the source code? | |
hey all, been a while since i was this stumped. i have main.php which calls in an iframe child.php child.php is only a table it has lots of TDs in it. now what i want to do is to have a button on main.php that when pressed creates an XLS … | |
Hey, I need help getting that ugly yyyy-mm-dd format to change to something prettier. I would prefer being able to output it in the form like January 01, 2007. Something easy to read for the average user. I can leave it stored in yyyy-mm-dd in my database, but in my … | |
hi, i have a script here which display an item name from database into textfield based on the combo box selection, i cn display the item name but my problem is i dont know how to display the item information into the textbox? i'm required to use php but i … | |
Hi guys, I have been working on a site and have managed to add a login script. I made an "status" script myself which tells people if a user is online or not. I did that by using database(easiest way I could think of), when person logs in it changes … |
The End.