[PHP] library manger ..
Hi list, can any one suggest a good PHP/mysql based library manager to manage books,magazines, documents, cds etc . I tried libman .. but i am having problem with that . many thanks in advance ... with love gowtham -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] connecting remote host ..
hello list, My php script works fine with local mysql database. however when try to use some remote database it fails and gives follwing error .. Warning: mysql_connect(): Unknown MySQL Server Host 'http' (2) in /usr/local/apache2/htdocs/gowtham/forphp/db_qry_4repeat.php on line 86 the mysql_connect() syntax is as follows .. $db=mysql_connect("192.168.1.109", "root", "password"); 192.168.1.109 is the ip (internal IP on LAN) of the machine hosting the database. thanx a lot in advance .. -- Ra. Gowthaman, Graduate Student, Bioinformatics Lab, Malaria Research Group, ICGEB , New Delhi. INDIA Phone: 91-9811261804 91-11-26173184; 91-11-26189360 #extn 314 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] passing values of checkboxes in PHP- solved
I myself solved the problem. sorry for the trouble .. sincerely, gowtham On Mon, 2004-05-17 at 11:51, gowthaman ramasamy wrote: > hi list, > I have a problem with getting the values of check boxes ... > > In the form i have many checkbox options created dynamically. All of > them have same name but different values. But when user submits the form > i am able to access only the value of last checkbox that user cliked. > Values of rest of the selection is not displayed/passed. How can i get > all the values. > many thanks in advance ... > followings are my scripts ... > > form this prints lot of check boxes on the from as per the > result or previous mysql query > > while ($rows2 = mysql_fetch_array($result2)) > { > echo something > ... > } > > > > I am trying to access these checkbox values in follwing script > --- > if(isset($_POST['submit'])) > > > { > echo "hello"; > echo $hell=$_POST['protid']; > echo $counts = count($hell); > } > ?> > counts says there is only one value (that is value of last checked > box) I also tried putting $hell=$_POST['protid'] in a while loop > did not work. > sincerely > gowtham > -- > Ra. Gowthaman, > Graduate Student, > Bioinformatics Lab, > Malaria Research Group, > ICGEB , New Delhi. > INDIA > > Phone: 91-9811261804 >91-11-26173184; 91-11-26189360 #extn 314 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Ra. Gowthaman, Graduate Student, Bioinformatics Lab, Malaria Research Group, ICGEB , New Delhi. INDIA Phone: 91-9811261804 91-11-26173184; 91-11-26189360 #extn 314 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] passing values of checkboxes in PHP
hi list, I have a problem with getting the values of check boxes ... In the form i have many checkbox options created dynamically. All of them have same name but different values. But when user submits the form i am able to access only the value of last checkbox that user cliked. Values of rest of the selection is not displayed/passed. How can i get all the values. many thanks in advance ... followings are my scripts ... form this prints lot of check boxes on the from as per the result or previous mysql query while ($rows2 = mysql_fetch_array($result2)) { echo something ... } I am trying to access these checkbox values in follwing script --- if(isset($_POST['submit'])) { echo "hello"; echo $hell=$_POST['protid']; echo $counts = count($hell); } ?> counts says there is only one value (that is value of last checked box) I also tried putting $hell=$_POST['protid'] in a while loop did not work. sincerely gowtham -- Ra. Gowthaman, Graduate Student, Bioinformatics Lab, Malaria Research Group, ICGEB , New Delhi. INDIA Phone: 91-9811261804 91-11-26173184; 91-11-26189360 #extn 314 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] breaking the string
hello list, can we split a string into substrings of particular size. for example .. i have as sting of 1000 characters. can i split it into stings of 150 and feed them into an array. sorry i am bothering you guys again and again today sincerely gowtham -- Ra. Gowthaman, Graduate Student, Bioinformatics Lab, Malaria Research Group, ICGEB , New Delhi. INDIA Phone: 91-9811261804 91-11-26173184; 91-11-26189360 #extn 314 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] variable passing using URL
hello list, I have a problem in passing variables using URLs. I have a link from a PHP 'Page One' and passing some variables thru URL. This link should now open another page (main frame) which will have two frames in it (left frame and Right frame). But I want the variables to be passed on to the left frame(one of the two frames in main frame). Can this be done some how? I apologize if this does not sound like a PHP question. Many thanks in advance. -- Ra. Gowthaman, Graduate Student, Bioinformatics Lab, Malaria Research Group, ICGEB , New Delhi. INDIA Phone: 91-9811261804 91-11-26173184; 91-11-26189360 #extn 314 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] parsing value by URL-worked
thanks a lot dear Zac and richard that worked. I earlier tried $_POST[name] but not $_GET[name]. thanks again i ll reset what richard mentioned. On Wed, 2004-05-12 at 17:12, Zac Hillier - Net Affectors wrote: > try $_GET[name] > > Zac > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] parsing value by URL
hello list, I have a problem in passing the value to another PHP script from the first one. can any one help me to debug it. I generate the following URL from first script to pass two variables to next script. But the values are not passed on. But the URL invokes the second script (ya with out parsing the variables). NOTE: the url which is sent to browser is FINE and looks like this http://gowtham/forphp/detailedresults.php?name=testrun_hetero_srtdout&firstfile=hello But I am not able to print the variables $name and $firstfile many thanks in advance gowtham scripts are Script 1 __ clik to see detailed page" } script 2 _ second script ... that is detailedresults.php -- Ra. Gowthaman, Graduate Student, Bioinformatics Lab, Malaria Research Group, ICGEB , New Delhi. INDIA Phone: 91-9811261804 91-11-26173184; 91-11-26189360 #extn 314 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] mouse over problem on php.. sorry Ignore this
I am very sorry for that. I am very sorry i bugged you all. anyway thanks for the hints ... thanks a lot > -- Ra. Gowthaman, Graduate Student, Bioinformatics Lab, Malaria Research Group, ICGEB , New Delhi. INDIA Phone: 91-9811261804 91-11-26173184; 91-11-26189360 #extn 314 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] mouse over problem on php
hi list , In the web page, i display different bars (actually tables with single column, with cellpadding=1 and color=xxx) based on the information parsed from MySQL database. I, now want to display more information by mouse over when ever user moves the cursor over the bar(actually single cell table). I use .. and have two problems in this ... 1) i need to have some txt/figure to be linked. But i dont want to keep any thing in the table (single cell). Can i display some text when mouse is moved over table(cell). 2)even if i hyperlink the text with title attribute... only the text before the first space (the very first word) is displayed. Not the entire sentence. Many thanks in advance .. gowtham -- Ra. Gowthaman, Graduate Student, Bioinformatics Lab, Malaria Research Group, ICGEB , New Delhi. INDIA Phone: 91-9811261804 91-11-26173184; 91-11-26189360 #extn 314 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php