PHP4/Questions

SubjectDate AskedExpert
halp me pls10/2/2010Jason Baker
  Q: In my site smsmoney.host.sk is there an error, how to decide a problem?
  A: Not sure what you are wanting but from what I can tell just by seeing the errors is that most likely ...
PHP Include external web page7/28/2010Jason Baker
  Q: I was wondering if it's possible to include an external website and the links from the the external ...
  A: The reason why it is removing your header and footer is because those links are referencing a ...
Passing an array from one server to another by Form Post6/9/2010Jason Baker
  Q: I have a requirement of sending an array generated from Mysql database and PHP from my server to ...
  A: Maybe a session? For instance at the first line of your form script put the below there. ...
Swapping array key with one of the values in Mysql Result Array1/31/2010Jason Baker
  Q: $result = mysql_query("SELECT Stn_Code, name, col16, col17 FROM mis_stations WHERE year =2009 AND ...
  A: // sets up function and takes the results variable as well as what type of array you want. // see ...
Swapping array key with one of the values in Mysql Result Array1/29/2010Jason Baker
  Q: $result = mysql_query("SELECT Stn_Code, name, col16, col17 FROM mis_stations WHERE year =2009 AND ...
  A: Hey Thomas, First thing I would do is set up the connection to your db. Noted here as ...
Help on getting Max and other values in corresponding rows12/1/2009Jason Baker
  Q: My requirement is to output the Maximum sale, Sales man-wise, Year-wise along with the other values ...
  A: Taking a look at what you have given me it seems to me as though you are not getting the desired ...
PHP8/31/2009Jason Baker
  Q: I want to setup on my website where the logged in user clicks submit on the form data...and then the ...
  A: The echo command does exactly what it says. For instance if you were to go into dos and type in ...
PHP8/30/2009Jason Baker
  Q: I want to setup on my website where the logged in user clicks submit on the form data...and then the ...
  A: What I mean by an echo statement is the syntax to output writing/text to the screen. So if someone ...
PHP training7/11/2009Jason Baker
  Q: I am a long time computer consultant with programming background, and would like to learn PHP. Can ...
  A: Well Jan, I can not recommend any specific tutorial as I am not sure of your level of expertise with ...
Online forms using PHP6/20/2009Jason Baker
  Q: What PHP coding is necessarry to create on online form, where people can enter information and it ...
  A: I am going to write out some code for you and can explain it line by line after im finished. <? ...
Retrieving value from "pagename.php?i="6/17/2009Jason Baker
  Q: When I acess my datapage.php passing a value as, for instance, "datapage.php?test=34", how to ...
  A: First off you would need to define the test variable i.e. $test=$_GET['test']; That $_GET as well ...
Image upload5/29/2009Jason Baker
  Q: i need a full code "upload(and retrieve) image to through php and save it in mysql"
  A: To retrieve something from mysql table I usually do something like this <? $table="imageshere"; ...
My database5/19/2009Jason Baker
  Q: I asked this question on yahoo answers. The 2 answers I got contradicted eachother. So maybe you can ...
  A: Sorry for the delay. To be quite honest I do not know as I am not familiar with the s2g technology, ...
PhP on my PC5/17/2009Jason Baker
  Q: I am interested in learning PHP to write personal pages for myself. I know from experience that I ...
  A: Well Joe, as long as you have either IIS or Apache set up along with php and maybe even a mysql ...
Session5/13/2009Jason Baker
  Q: i have a php protected website. my question is this: how can i display loggedin members to other ...
  A: What you will want to do is set up a table called onlineusers. create table onlineusers(userid int ...
Uploading Multiple Large Files7/23/2008Pritesh Chandra
  Q: I am trying to set up a site to design calendars using my users pictures. In order to do that I have ...
  A: i am not sure what OS u using. to change the "upload_max_filesize = 20M", you need to open the ...
mail spam7/23/2008Pritesh Chandra
  Q: I used this to send mail: <?PHP echo mail($to,'test','body','FROM: '.$from);?> but my mail is ...
  A: try this. $msg = "YOUR MESSAGE\n"; $to = "EMAIL_ADDRESS_OF_THE_PERSON_TO_RECEIVE_THE_EMAIL"; ...
php mail problem7/23/2008Pritesh Chandra
  Q: I want to use php4 mail(). I can not find any php.ini in the server to set the SMTP but it says that ...
  A: sorry for the late reply. was very busy with work.. anyway. try this out. $msg = "YOUR ...
RSS with PHP7/14/2008Pritesh Chandra
  Q: I sent you a question about building RSS with PHP. you sent me a sample code that worked well but ...
  A: heres what i want u to do.. open a email account on hotmail.com and attach the files and email it ...
PHHP RSS7/12/2008Pritesh Chandra
  Q: I want to make a Php RSS generator. I used echo to produce xml tags. but the browser shows it as ...
  A: your code is fine. u just need to feed more details for the XML to work. try this <?php ...
remove repeted7/12/2008Pritesh Chandra
  Q: This is Arul. I have Array like this. Array ( [0] => Array ( [sessionID] => ...
  A: Can you please provide more clearer details. u say u only want distinct values in the pages array, ...
PHP Modules7/5/2008Pritesh Chandra
  Q: I purchased a php script and setup the settings in the Adm backend office. I have some HTML ...
  A: first i do not know which script u purchased so i need more information from u. second, the error ...
Drop down list6/9/2008Pritesh Chandra
  Q: im ira.. im having trouble again..i've tried the codes you have asked me to implement but still i ...
  A: try out this code below. cheers pritesh chandra *************************** <? session_start();?> ...
read,edit and update (php)5/27/2008Pritesh Chandra
  Q: i need ur help wih my codes. i have a table that contain different forms like the textfield,textarea ...
  A: do this <option <?php if ($status == "completed") echo "selected"; ?>>completed</option> <option ...
login using sessions then add session to database5/11/2008Pritesh Chandra
  Q: I need help. I have a login system that on sucessful login starts a session. This is the code: ...
  A: So u want to get the $_SESSION['SESS_MEMBER_ID'] in the second form right? then use the hidden ...
php certification3/28/2008Pritesh Chandra
  Q: it is fine. i want do php certification course in online give some idea or links pls Thanks
  A: Can you give me some information first so that its easy for me to give u some hints. 1) how many ...
.htaccess3/28/2008Pritesh Chandra
  Q: i want to know about .htaccess and apache configuration with simple tutorial and any open source for ...
  A: for .htaccess please read this http://httpd.apache.org/docs/2.2/howto/htaccess.html and also ...
php & javascript3/26/2008Pritesh Chandra
  Q: is any possible to get javascript variable into php except using hidden box? pls tell me
  A: yes you can. You can write a function that returns a value and call that javascript function from ...
How to use value in javascript in php3/19/2008Pritesh Chandra
  Q: how can i use the value in js in php. because i want insert the selected value into db thx
  A: Please send me the js and state which selected value u want to be added to the db. And i will try ...
booking system3/13/2008Pritesh Chandra
  Q: Im new to PHP. However, recently, I was asked to build a booking system and Im doing for the viewing ...
  A: for eg if the file is called index.php and u want to pass the value of name which is jen to that ...
Show value from database in drop down list3/13/2008Pritesh Chandra
  Q: now i'm facing the problem that read the value from database and show in drop down list. The problem ...
  A: first, sorry for the late reply. was away from work and took a break for easter. anyway, i have ...
booking system3/12/2008Pritesh Chandra
  Q: Im new to PHP. However, recently, I was asked to build a booking system and Im doing for the viewing ...
  A: i think u should read on this. http://www.php.net/manual/en/function.date.php To get the date in ...
booking system3/11/2008Pritesh Chandra
  Q: Im new to PHP. However, recently, I was asked to build a booking system and Im doing for the viewing ...
  A: since you are new to PHP, i would first suggest that you download yourself the php manual. U can ...
Show calculation in php with java script3/7/2008Pritesh Chandra
  Q: jason here again. i would like to ask about how to automatically display the total value of ...
  A: this can be done with PHP. (and with Javascript also). What i can do is help you complete this in ...
php3/1/2008Pritesh Chandra
  Q: how to attach file with a mail in php
  A: I think u asking about the mail function in php right. if so then, u have to attach it via headers ...
PHP modification2/28/2008Pritesh Chandra
  Q: Using the following PHP script I get a nice directory listing for a few directories that have too ...
  A: Please have a look at the code below. I have added the "Total files" & "Total folders" section for ...
Array Problem2/22/2008Pritesh Chandra
  Q: Pritesh, I am a newbie to php/mysql and have been teaching myself using web tutorials over the past ...
  A: The code below should help you achieve this with easy. hope this helps. cheers pritesh chandra ...
Array Problem2/20/2008Pritesh Chandra
  Q: Pritesh, I am a newbie to php/mysql and have been teaching myself using web tutorials over the past ...
  A: The thing is that you need to loop through the mysql_fetch_array to get each value individually. ...
caching a form data2/11/2008Pritesh Chandra
  Q: I have the following question (once again :-) ): I have a form that I submit to another page, but ...
  A: Please have a look at the code below.. I do not know if u using PHP or not since ur action script ...
how to show data in the graph form1/27/2008Pritesh Chandra
  Q: Morning Pritesh, Thank a lot for your answer before. Now i would like to ask its that any method to ...
  A: I think u should take a look at this. Download JpGraph at ...

Page:   1 | 2 | 3  |  Next      All

PHP4

All Answers


Ask Experts

Volunteer


©2012 About.com, a part of The New York Times Company. All rights reserved.