39,323 Topics
| |
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 … | |
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] |
The End.