39,326 Topics
| |
Hi I want to rename Image in this script after downloading ,now it downloads as default Want to rename it to x.png Any help appreciated Saw a way via PHPserver,but Im using JAVA App <html> <head> <script type="text/javascript" src="http://canvg.googlecode.com/svn/trunk/rgbcolor.js"></script> <script type="text/javascript" src="http://canvg.googlecode.com/svn/trunk/canvg.js"></script> <script> function getImgData(chartContainer) { var chartArea = chartContainer.getElementsByTagName('svg')[0].parentNode; … | |
| im working on my login script and whilst testing it, it seems that the code doesnt recognise the details stored within a database im entering a valid username and password in the login form but it is not processing it somehow the system thinks its wrong. I cant find any … |
How would I use two actions? <form id="myForm" action="form.php","form1.php" method="GET"> Does this work? Now I have 2 actions. how to connect 2 pages using php? plz guide me | |
For those that have a good understanding of PHP arrays, I have a form that takes in multiple inputs that can be added to the form by js, the data is added to the codeRef[] array and I have tried to do several different things to get the data into … | |
hey guys so ive been asked to add an import csv function to my contacts page. <?php require "connection.php"; if ($_FILES[csv][size] > 0) { //get the csv file $file = $_FILES[csv][tmp_name]; $handle = fopen($file,"r"); if ($data[0]) { mysql_query("INSERT INTO contact (fname,lname,email) VALUES ( '".addslashes($data[0])."', '".addslashes($data[1])."', '".addslashes($data[2])."' ) "); } } … | |
How do I find the network type(EDGE, UTMS, HSPDA etc) of user accessing my site in php Thanks. | |
i am making an album book in php for each user in php, but all pics are shown on page,, i want to show them according to user login,,not all pics plz help,,,thanks | |
Hello, Please how can I development a PHP application that Apache OpenOffice products can be installed into(e.g. Like Web OS). Thank you. Tony. | |
I have a drop-down list, which contains a list of over 150 schools. Each school in this drop-down list is located in one of 30 states. What i'm trying to implement is this: If a user chooses a school from the "select" list, the text box below it would automatically … | |
Hello guys, I need help about this, I have a PHP page, which searches for records, based on their first and last names, if sql finds the data then the second form comes out, which has lots of textboxes, to update the 'searched'information. And when I click the submit button … | |
pls can anyone kindly explaint to me the basics of argument and parameter, just started php newly. tanks. george. | |
Hey guys, So I've been devloping a TV Guide website that will allow you to fill out a variety of different fields, then searches the database for that information, and returns the results. The way I have it right now, the user has to fill out all of the fields … | |
can we make desktop application with php?? | |
I have a 2 column SQL table as follows: **Product Price** Drill 20 Hammer 15 Screwdriver 5 Screws 2 Nuts 3 Bolts 6 I eventually want to embed a PHP array into a Google charts script. But first, how do I pass my SQL query into an array? My code … | |
Hello everyone, I have 2 of my php pages. I am starting a session in my first page and setting the setting variables but whenever I am trying to access that variable in the 2nd page it doesn't show an error neither it pops out my desired result. In short … | |
I have the following code in my php files, but i am having a following error while loading my page? "Notice: Undefined variable: username in C:\xampp\htdocs\fyp\cms\cms.php on line 48" My page is successfully loading up, but username is not being shown in the page and the error is popped up … | |
Good Day, Does anyone here knows how to setup smtp via localhost? I'm using gmail and wamp, I want to test the mailing function first before uploading it to the web, but still no luck. Thanks for the help guys.. | |
0 down vote favorite I want to ask all of you for some help since i'm still new to web programming. So basically i have html table like this, <table width='200' border='1'> <TH>Year 1 Spring</TH> <TR> <TD> <div id="y1f_0">one</div> <div id="y1f_1">one</div> </TD> <TD> <div id="y1s_0">two</div> <div id="y1s_1">two</div> </TD> </TR> </table> … | |
I have the following code, and i am having these errors: "Warning: mysql_fetch_array() expects parameter 1 to be resource, integer given in C:\xampp\htdocs\fyp\qmc-login\login.php on line 58 Warning: mysql_fetch_array() expects parameter 1 to be resource, integer given in C:\xampp\htdocs\fyp\qmc-login\login.php on line 59" Can somebuddy find out whats the problem? Thanks in … | |
Hi there, Can anyone tell me how to integrate the google place search api in website.? | |
Hello, I am working on some code that does a remote call to a licensing server to validate whether the license is valid, invalid, expired and suspended. I have a login code that is using prepared statements: function login($email, $password, $mysqli) { // Using prepared statements means that SQL injection … | |
value is Tourism & Hotels url?catagory=Tourism%20&%20Hotels&maincateg=Tourism%20&%20Hotels if i call that catagory to another page $category = $_GET['catagory']; and in second page i displayed that value echo $category; but this showing only Tourism and the remaining words r gone.i want to display Tourism & Hotels with special char | |
I'm just learning jquery , The thing is that how can I make jquery and php contact each other in one single page ? if there is an example I really appreciate it! | |
can anyone help me with the code below, I would like to strip out comas from the URL http://www.balmanltd.co.uk/products/steering/ball-joints/ball-joint,-drag-link-end/am1148 $str = trim($str);/*remove any unwanted outer spacing*/ $urlkey = preg_replace("/[^0-9a-zA-Z]+/","-",strtolower($str)); $htmlkey = ($htmlext) ? $urlkey.".html" : ""; return array($urlkey,$htmlkey); | |
Hi this is Sukhdev, I am new in php and wish to know how to import the data from excel sheet to mysql Table; 1. I have a table with the name of city in mysql with following fields; city_id,city_name,tier_id,tier_name,state_id,state_name 2. what would be the function for uploading above fields, … | |
I have the following code for a login page that is supposed to display an error when the user enters the wrong username and password combination. can anyone have a look at the code and tell me why it isnt displaying the error message when its supposed to. Here is … | |
hi , i am searching for a good tree menu design for products categories to use it in my website , i need it to be flexible so i could style it as needed and also simple so i can target it with my own javascript. thanks again. | |
How would one include a footer on a page if PHP has stopped executing during an error? | |
i have coding like this. its working fine but in another page i want to display only the rating image.below i added my page links. in searchdetails.php page i want to update the rating and display and in searchbycat.php file i want to display only the rating image only without … |
The End.