373 Posted Topics

Member Avatar for nccsbim071

[QUOTE=nccsbim071;1061426]How do i start mysqlserver with option of --log-bin using phpmyadmin. Where do i set mysql server startup options in phpmyadmin.[/QUOTE] are you using the MySQL as a standalone or with the wamp

Member Avatar for phpbeginners
0
140
Member Avatar for sam023
Member Avatar for sam023
0
535
Member Avatar for xuexue

[QUOTE=xuexue;1069448]hi, i want to have a button wherein it will create dynamic text boxes depending on the times i click the button. i've seen several codes thru javascript, however, i cannot get the value of the said textbox, could you please help me with this?? tnx..^^[/QUOTE] I thinking you looking …

Member Avatar for network18
0
2K
Member Avatar for elamigosam

post your database structure here and it may be possible with just few simple queries for any particular day

Member Avatar for elamigosam
0
84
Member Avatar for NoID
Member Avatar for NoID
0
146
Member Avatar for lavi_musiclife

and how you planning to envoke or call this function then after.This thing will run for the time, webpage is opened in the browser . For such requirement there is cron setup for the web server using scripting language

Member Avatar for network18
0
22
Member Avatar for yonker

[QUOTE=yonker;1067840]How To Learn with PHP Syntax[/QUOTE] Try to get some good tutorial for PHP and the syntactical errors can be override with the practice only.

Member Avatar for pritaeas
-2
85
Member Avatar for emurf59

yes , its still not clear from the post that what exactly your script is trying to achieve.explain that too and this is not the complete code i guess..

Member Avatar for hielo
0
138
Member Avatar for saktiyantra

[QUOTE=saktiyantra;1065763]Hello Everyone, I am new to Javascript and would appreciate any help here. My client has a requirement of a search function which is specific. That is, if a user puts in the word "lexus printer" in the search field the result for that would be "toner123" and it should …

Member Avatar for saktiyantra
0
119
Member Avatar for anu.reka85
Member Avatar for muralibobby2015
-3
86
Member Avatar for lifeworks

the variables inside the functions are meant to be local to that function and the vairable outside it wen we pass it to the function through the function call, they are just copied to the local context of that function's local parameters and not to confuse yourself with the local …

Member Avatar for network18
0
72
Member Avatar for indoreankita

[QUOTE=indoreankita;1067171]My session destroys automatically after every 25 min if the page is idle. how can i prevent it and do session destroy only when browser is closed. Please help[/QUOTE] you can set the expiration time limit for your session data

Member Avatar for venkat0904
-1
96
Member Avatar for hajjo

[QUOTE=hajjo;1062753]nobody wants to help. god bless this world[/QUOTE] you can get some ready made jquery stuffs for you to work ,you will just need to implement them in your code. check them like this - [URL="http://jqueryfordesigners.com/image-loading/"]http://jqueryfordesigners.com/image-loading/[/URL], [URL="http://blog.realmofzod.com/2009/04/09/asynchronous-image-loading-with-jquery/"]http://blog.realmofzod.com/2009/04/09/asynchronous-image-loading-with-jquery/[/URL] etc...

Member Avatar for network18
0
65
Member Avatar for nanat07

remove the onclick function from the form and use some button like submit type and leave the action tag as blank, hope this much will make your thing work.

Member Avatar for network18
0
98
Member Avatar for toasty525

[QUOTE=toasty525;1066579]Hi, i have the following snippet of php that i wrote but cant figure out why it wont work all the variables have been set before hand. Heres the PHP: [code=php]echo "<table border='1'> <tr>"; if ($win_score > $lose_score) { echo " <th>Winner</th> <th>Loser</th> <th>Win Score</th> <th>Lose Score</th> </tr>"; while($row = …

Member Avatar for network18
0
92
Member Avatar for sarithak

experiment around this, you will make it - [CODE]<script language="javascript"> function fullsc() { window.open("http://connectph1new.in.com/prt_test/test.php","fs","fullscreen=yes") } </script> <? ?> <html> <head></head> <body> <form name="frm" id="frm" method="post" target=""> <table> <tr><td>Name</td><td><input type="text" name="txtName" id="txtName" /></td></tr> <tr><td>Email Address</td><td><input type="text" name="txtMail" id="txtMail" /></td></tr> <tr><td>Body</td><td><textarea name="txtBody" id="txtBody" ></textarea></td></tr> <tr><td><a href="javascript:void(0);" target="_self" onClick="fullsc();return false;" />Open Full Mode</a></tr> …

Member Avatar for network18
0
85
Member Avatar for manishmannan

[QUOTE=manishmannan;1044814]Hello Every one is there any body who could help me on how to open a doc file and how to read its content thanks in advance[/QUOTE] The simplest way to do it - [CODE] $handle = fopen("file_name.doc", "rb"); $contents = ''; while (!feof($handle)) { $contents .= fread($handle, 8192); } …

Member Avatar for manishmannan
0
172
Member Avatar for proprasee

[QUOTE=proprasee;1063583]i have 10 buttons by default colour is red. for each click its colour changes to blue then red that was implemented. The problem is i ahave an array of 10 elements.initially value 0. when button changes to blue corresponding value changed to 1 for red -0 how can i …

Member Avatar for dasatti
0
213
Member Avatar for sam023

[QUOTE=sam023;1060871]i have a data in mysql in this format.. 1,2,3,4,5,6... can i split and show this data in this format in mysql?? 1 2 3 4 5 6 thanks ijn advance[/QUOTE] in mysql use this - [CODE]SUBSTRING_INDEX(field,'-',1)[/CODE]

Member Avatar for diafol
0
234
Member Avatar for aruti

[QUOTE=aruti;1060713]Hello, I am facing the error in my cart basket.. Cannot use object of type __PHP_Incomplete_Class as array on line......... Thanks in advance[/QUOTE] you need to provide us the more details, the code at which line this error is and maybe the class definition too.

Member Avatar for network18
0
85
Member Avatar for sam023

[QUOTE=sam023;1058139]error_reporting(0) is used to hide error message..!! i want to hide server message but i what to show other error msg in place of server message..!! that can be possible..? Thanks,,!![/QUOTE] server messages , you mean http errors or the php errors thrown by the server. Adding something like this …

Member Avatar for network18
0
130
Member Avatar for rajeesh_rsn

from where the captcha/captchafont.gdf is coming into the picture. Post its content here

Member Avatar for network18
0
94
Member Avatar for vgkarthi

[QUOTE=vgkarthi;1049778]Hi one of my friend have this problem.. it will be helpful if we can give him a solution. The session is set for 10 min .. but for one particular page the session must be extended and for other pages it must be set as before.. or resetted so …

Member Avatar for vgkarthi
0
115
Member Avatar for genieuk

[QUOTE=genieuk;1054380]Just realised sitemap file will be an xml file, forgot about that stupid me. Anyone know which is best to do what i want? I looked online for some tutorials to see how others do it but could not find anything. Thanks, Genieuk[/QUOTE] I like this [URL="http://www.xml-sitemaps.com/"]one[/URL] ,and [URL="http://apptools.com/phptools/dynamicsitemap.php"]another [/URL]

Member Avatar for almostbob
0
257
Member Avatar for galaxygal

[QUOTE=galaxygal;1051572][code=php] exec('java -version', $javaver); print_r($javaver); echo "<br />"; exec('java -jar start.jar', $output); print_r($output); echo "<br />"; exec('java -jar post.jar /home/content/j/a/n/jandtesting/html/solr/example/exampledocs/solr.xml /home/content/j/a/n/jandtesting/html/solr/example/exampledocs/monitor.xml', $output2); print_r($output2); [/code] I've never attempted anything with java before. I'm trying to get started on the solr tutorial -- a java based search engine based on Lucene. I …

Member Avatar for galaxygal
0
905
Member Avatar for SKANK!!!!!

[QUOTE=SKANK!!!!!;1054869]i want to style highlight_string() how can i style it?[/QUOTE] yes, you can simply put the code you want to highlight (including the php opening tag) as a first parameter and the second parameter as to true if expect the return from this function the highlighted code or if set …

Member Avatar for network18
0
102
Member Avatar for AirGear

[QUOTE=AirGear;1052477]i'm still a newbie in javascript. i know this question may be silly for some experts in javascript. and i'm sorry for that :( i want to create a dynamic form using javascript, where i can click a button to add some new fields. i tried to search it in …

Member Avatar for network18
0
166
Member Avatar for sam023

[QUOTE=sam023;1053200]i m updating 3000 records in on query after few sec.. page shows network timeout...!! how to get rid of it.. thanks[/QUOTE] use - [CODE] $very_high_time = 12000; ini_set('max_execution_time',$very_high_time); [/CODE]

Member Avatar for network18
0
84
Member Avatar for sam023

[QUOTE=sam023;1051221][url]http://www.d-scribe.de/webtools/jquery-pagination/demo/demo_options.htm[/url] these type of jquery pagination are riable for large data...??? where query doesnt need 'limit' in it..!!! thanks[/QUOTE] Its not that it using the query without the 'limit' in it, jQuery is just not allowing the page to refresh apart from providing the nice look otherwise the rest is …

Member Avatar for network18
0
102
Member Avatar for hkseo100

Not clear enough with your code, i think there should be something with flow - You want to set the var in cookies to 1 once visited otherwise it will be -1,\ so once your module starts, set this var in cookie with the -1 value to it and once …

Member Avatar for Atli
0
67
Member Avatar for ym_chaitu

[QUOTE=ym_chaitu;1053263]Hai I have some html files and i would like to display them in a random manner using the php. can any one help me out..I have been trying this one.. but it is not working.. [CODE]<?php $dir="./clock/"; $nimg="10"; $itype="html"; $rnumb=rand(1,$nimg); echo "<a href=".$dir."clock".$rnumb.".".$itype."></a>"; ?> [/CODE][/QUOTE] I have modified your …

Member Avatar for network18
0
1K
Member Avatar for tangara

There was some unnecessary html and body end tag lying somewhere in the middle of the code and the bold tag in between the javascript function call. So your improved code below - [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" …

Member Avatar for network18
0
92
Member Avatar for mundetas

[QUOTE=mundetas;1053218]Can someone please help:(. I have a database with a field Date. I made the datatype to Date. But when I code the date in php I use the date() function to get the current date it donesn't want to insert in the database. Please help. For example my code. …

Member Avatar for network18
0
98
Member Avatar for ruwanaru

[CODE] <?php if(isset($_POST['submit_or_search_btn']) && $_POST['submit_or_search_btn'] !='') { $query = "select car_name from cars where //now check if html element is set, add that part to your query too if($_POST['txt_model_field'] !='') $where .= "model is like ".$_POST['txt_model_field']; //and so on like this ... $query_exec = mysql_query($query); } ?> [/CODE]

Member Avatar for network18
0
164
Member Avatar for Neona

yes, i think this function would have been removed from the submit button's clickor else some other redirection to the form after this function etc.can you post the relevant code here

Member Avatar for network18
0
142
Member Avatar for rajabhaskar525

[QUOTE=rajabhaskar525;1052106]hai all, i want to refresh particular part of the page ,not whole page. is it possible? . if so, how is it? .........[/QUOTE] iframes or ajax

Member Avatar for rajabhaskar525
0
3K
Member Avatar for rajabhaskar525

[QUOTE=rajabhaskar525;1039672]hi all. i want to crop png image. when i am croping the png image i got "Fatal error: imagepng() [<a href='function.imagepng'>function.imagepng</a>]: gd-png: fatal libpng error: zlib error in C:\wamp\www\taslan\admin\products.php on line 120" error message. at line no 120 shows imagepng($bgim_new,$bgth_file_name,100); this function[/QUOTE] The 3rd optional parameter to the imagepng() …

Member Avatar for rajabhaskar525
0
168
Member Avatar for venkat0904

[QUOTE=venkat0904;1042451]Hi all, Since its been a while now that i am learning php I undertook a project to develop event calendar in php and mysql. There will be a public calendar published on site which every1 can view. Then as a user logs in he will have his own personal …

Member Avatar for venkat0904
0
269
Member Avatar for gk0110

[QUOTE=gk0110;1051298]Hi friends, I need to do this: Scroll down the scroll bar grey out all my page and show a loading gif load, thru ajax, content from the db server turn off grey and loading gif update current page content. how can i do this without using jQuery? Many thanks …

Member Avatar for IllBeTheJudge
0
111
Member Avatar for futhonguy

[QUOTE=futhonguy;1052100]Hi I am wondering if i can move a field (with contents) from Table B to Table A. If so how can i do it? Any advise ?? Thank you very much..[/QUOTE] yes, you can do it with the PHP Myadmin utility directly.Look for some option in the database for …

Member Avatar for futhonguy
0
94
Member Avatar for rajeesh_rsn

as the allowed checkboxes are different and limited for different users, I guess you are storing that information inside the user's details table. and while you fetch other details for the user , get that count too. [CODE] $sql_query = "select username,userid,chkbox_limit,age from usermaster";[/CODE] You can pass it to the …

Member Avatar for rajeesh_rsn
0
103
Member Avatar for Lalita_shah

[QUOTE=Lalita_shah;1048729]I am trying to insert unicode characters from excel file into phpmyadmin database through coding,but database is not accepting unicode characters and even date type,please help me if anyone having idea abt this,even i tried by converting .xls to csv format but .csv file does not support unicode characters and …

Member Avatar for network18
0
892
Member Avatar for praveen_dusari

[QUOTE=praveen_dusari;1050967]hi all, i have downloaded my site from ftp to make changes there is a virus in that server my sir told me to clear that and upload. In the source code i found a line which i thought is a virus containing a trojen program i deleted that line …

Member Avatar for network18
0
100
Member Avatar for xuexue

[QUOTE=xuexue;1052005]hi there, i am making a website. my problem is that, i have multiple users who should access the same page, now what i want is that, my login code will work whenever users will access it simultaneously. the problem is that, the code just checks the first logged in …

Member Avatar for xuexue
0
105
Member Avatar for ruwanaru
Member Avatar for shishtawitch

[QUOTE=shishtawitch;1051472]how can i play videos at its place...........like in facebook........!! i.e in facebook video thumb is given when we click on it it place at its place............!! how can i do it with jquery and php...........!![/QUOTE] have a look at this - [URL="http://plugins.jqurery.com/project/flowplayer"]http://plugins.jquery.com/project/flowplayer[/URL]

Member Avatar for network18
0
70
Member Avatar for motieno
Member Avatar for network18
0
655
Member Avatar for balam

[QUOTE=balam;1046209]i need help with one more thing. My pagination script is working fine when its outside the html code but when i put it inside the table it does not show the Prev 1 2 3 4 next. and also it does not respond to (mysql_query("SELECT * FROM flats ORDER …

Member Avatar for cwarn23
-1
135
Member Avatar for whiteyoh

[QUOTE=whiteyoh;1049913]hi all, i see i had some major things missing in there!! ive researched a bit and ive manaed to come up with the following....... vloser to my goal, but still a bit to go..... Theres an error stating "syntax error: unexpected = on line 15" Hi, Ive had another …

Member Avatar for Stefano Mtangoo
0
134
Member Avatar for Kruptein

[QUOTE=Kruptein;1047656]I have this table(building_lvl): [icode]lvl | building_id | region_id[/icode] And I want to get the region_id for which building_id=3 has lvl 2 and building_id=2 has lvl 5 [code]SELECT * FROM building_lvl INNER JOIN regions ON regions.region_id = building_lvl.region_id WHERE ((building_lvl.building_id='3') && (building_lvl.lvl > 1)) && ((building_lvl.building_id='2') && (building_lvl.lvl > 4)) …

Member Avatar for Kruptein
0
78

The End.