Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
81% Quality Score
Upvotes Received
12
Posts with Upvotes
12
Upvoting Members
6
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
0 Endorsements
Ranked #490
~30.7K People Reached
Favorite Forums
Favorite Tags

121 Posted Topics

Member Avatar for azgold

> is happening is it hits zero and never goes to winner.ph It is not going to winner.php because mysql_query will not gives you the resultset and not the count. If you need count then do as following $resultSet = mysql_query("YOUR QUERY COMES HERE"); $counter = mysql_num_rows($resultSet); // Now your …

Member Avatar for Zagga
0
167
Member Avatar for Tko_1

> how to include php file within this script ?? Why do you want to include a php file? If you want to include any php file then include_once('filename.php')

Member Avatar for Tko_1
0
168
Member Avatar for sigit_p

Check what is the path coming from your database. Try like this and paste your output on the screen echo $row['link']; exit; echo "<img src='". $row['link'] ."' alt='' />";

Member Avatar for sigit_p
0
216
Member Avatar for Crow77

Check this link for more details https://developers.google.com/finance/docs/finance-gadgets

Member Avatar for Crow77
0
99
Member Avatar for mrcniceguy

[QUOTE=mrcniceguy;1139978]Hey guys, i need Your suggestions(help). i created a social network website not long time ago,now i want to put the News feed in the home page like the Facebook one. That is if a friend posts status,add friends,uploads photos,video,join groups,Commented something etc to appear in the home page. Please …

Member Avatar for joshmac
0
166
Member Avatar for saiprem

I have installed latest version of wamp server in my local, I have the following version for Apache - 2.2.17 PHP - 5.3.5 mysql - 5.5.8 I am recursively calling a function inside a class, It has end point after 1300 iterations. But I don't know in my new wamp …

Member Avatar for saiprem
0
327
Member Avatar for borntowin_786

Hey dude, If you want to find the number of weeks in a year and number of weeks in a month, just use the following code.. [code=php] <?php echo date("W", mktime(0,0,0,12,31,2010)); // To find number of weeks in a year echo "<br />"; echo date("w", mktime(0,0,0,12,31,2010)); // To find number …

Member Avatar for emixfr
0
128
Member Avatar for TronCraze

You can maintain 2 different sessions for user session one : logged in user $_SESSION['logged_user_id'] = $logged_user_id; session two : Higher security logged in user $_SESSION['secured_logged_user_id'] = $secure_logged_user_id; so when you have both the sections with you, you can manage all the other pages with session1 variable. when ever it …

Member Avatar for ahmedelhamahmy
0
125
Member Avatar for Blacklister

You can use Ajax Auto Updater function in your page.. Check the example of Auto updater with Ajax in the following url [url]http://demos111.mootools.net/Ajax_Timed[/url] Thanks & Regards Sai Prem <snipped>

Member Avatar for ketan_156
0
606
Member Avatar for xuexue

There are plenty of beautiful sites which will provides autocomplete functionality check the following example [url]http://www.exploremyblog.com/html/blog_contents.php?blogid=300[/url] [url]http://www.ajaxdaddy.com/demo-jquery-autocomplete.html[/url]

Member Avatar for xuexue
0
143
Member Avatar for mbarandao

Do you want to capture the new payment amount? and replace the existing payment data of that user? or add to the payment amount to the existing data. [QUOTE=mbarandao;1408126]Hello: Here is an interesting question. I have a client payment recording form which retrieves data from a table that has clients …

Member Avatar for mbarandao
0
91
Member Avatar for youlichika

If you want to use any JS frameworks, check the following link to do your operation [url]http://net.tutsplus.com/tutorials/javascript-ajax/submit-a-form-without-page-refresh-using-jquery/[/url] or if you want to use XMLHTTP objects then use this [url]http://www.pixel2life.com/publish/tutorials/221/introduction_to_php_5/[/url] [QUOTE=youlichika;1408059]I want to post value from index.php, then get the value by self without refresh the page. one botton with two …

Member Avatar for saiprem
0
175
Member Avatar for JoeyWong

Check whether you are able to see the values after posting the data. Just try printing your data after submitting the data [CODE] echo "<pre>"; print_r($_REQUEST); echo "</pre>"; [/CODE] The main problem in your code is you have to put your select box code inside the form. Then only you …

Member Avatar for saiprem
0
264
Member Avatar for h0neydip

It seems you don't have file in the specified location $file_link = "../tmp/users.txt"; Also you need to specify the exact path something like /var/tmp/users.txt or /home/tmp/users.txt or /tmp/users.txt

Member Avatar for saiprem
0
103
Member Avatar for phpuser

[QUOTE=phpuser;1128555]Hi All, My client want statistics report for page visits and he gave me google analytics reference for same. In which they gave facility to get report between two dates and report wil be day, week and month wise. I having with two dates but havent any idea how i …

Member Avatar for phpuser
0
134
Member Avatar for vizz

Many blogs are available in PHP check the following link [url]http://php.opensourcecms.com/scripts/show.php?catid=2&cat=Blogs[/url] Thanks & Regards Sai Prem <snipped>

Member Avatar for FlashCreations
0
181
Member Avatar for saiprem

Hi all, I implemented jsTree([URL="http://www.jstree.com/"]http://www.jstree.com/[/URL]) in my script, which is displaying a tree structure for me, but i have a problem The problem is onCliking on the anchor tag it is not taking me to the url given on the href attribute, please help me to resolve this Ex : …

Member Avatar for nilaa
0
361
Member Avatar for umandajayo

[QUOTE=umandajayo;1124093]What is the method of passing user inputs to database in Joomal or where the places handling the user inputs to send to the database. eg: localhost\Joomla\components\com_user\views\register in this directory have a module for handle new user registration. I need to know how joomla carry the user input values for …

Member Avatar for jwd.adodis
0
113
Member Avatar for ishq

You need to add a style to your main widget div(FeedBurner display div) style="float:left";

Member Avatar for saiprem
0
80
Member Avatar for bjeffries

your_name and your_email textbox values will not be posted to your processing, for that you need to call the same action page and pass the variable values. To pass the variable values to your processing form, you need to collect the textbox values (your_name and your_email) using javascript and send …

Member Avatar for bjeffries
0
143
Member Avatar for haribo83

The statement [COLOR="Red"]"The problem occurs with some hidden fields with details from the recordset not being displayed,"[/COLOR] Is that hidden fields data contains in include file which you are talking about.. Then how you will get the recordset(DB) data in an include file, while including the file you just need …

Member Avatar for saiprem
0
411
Member Avatar for gymangel812

I didn't find anything wrong in your code, perhaps an extra brace is closed or need to close a brace in your script, double check by commenting out each if condition and switch statements.

Member Avatar for rajarajan2017
0
170
Member Avatar for lakshmi4788

Hi try your code like this everything will works, I think it is not necessary to connect to DB. [code=php] $dbname = 'database_name';//your actual database name $backupFile = '/home/lakshmi/Desktop/'.$dbname . date("Y-m-d-H-i-s") . '.gz'; $dbuser = 'root'; // mysql username $dbpass = 'password'; // mysql password system("mysqldump -u $dbuser -p$dbpass --quick …

Member Avatar for lakshmi4788
0
258
Member Avatar for decmatt

It seems you are not reading the $cmd value from the request Add this in the top of your script. $cmd = $_REQUEST['cmd']; hope it helps you [QUOTE=decmatt;1214876][Code] <? //connect to mysql //change user and password to your mySQL name and password mysql_connect("localhost","******","******"); //select which database you want to edit …

Member Avatar for rajarajan2017
0
104
Member Avatar for k2k

It seems your geolocation.class.php page is not there in the same directory check where is it located and give correct path in your include to load the geolocation.class ex: include('somedirectorypath/geolocation.class'); or include('../somedirectorypath/geolocation.class'); [QUOTE=k2k;1213137]i was having fun with php until i hit this road block... geolocation.class.php is in the same directory …

Member Avatar for saiprem
0
277
Member Avatar for reedd5404

IN your Login script how you are checking? Using database right? If the user has authenticated then create a session id. Wherever you want to give access to the logged in users then check for session id. After logging out the user, destroy his session

Member Avatar for diafol
0
112
Member Avatar for niths

there is nothing in php to retrieve the postback data, you need to fetch the button id's again from DB

Member Avatar for saiprem
0
111
Member Avatar for muralibobby2015

hmmm, You said , you don't require javascript, but still you are using javascript in your php :). My suggestion is put the login details in a session(email, username , password....whatever you need), onClicking each tab call the check function, If it fails echo an error in alert box, and …

Member Avatar for saiprem
0
4K
Member Avatar for Pityu

Your checkbox name is "noutate" So you need to change the your if and update query like this [code=php] if (isset($_POST['noutate'])) { $update ="UPDATE content SET noutate='".$_POST['noutate']."' WHERE ID='$r_id'"; } [/code] [QUOTE=Pityu;1212975]Hey there. I am attempting to create an administrator option, which would be the following: When the administrator checks …

Member Avatar for saiprem
0
849
Member Avatar for ivanichi

Check the following website, it is having high & powerful features it [url]http://phpexcel.codeplex.com/[/url] [QUOTE=ivanichi;1213305]Hi friend, i want my table on database can be view in excel, but i have problem, how to set colspan, rowspan and bgcolor in excel with php ? can you help me.. thanks[/QUOTE]

Member Avatar for saiprem
0
79
Member Avatar for tweakernut
Member Avatar for ItecKid

Copy the following code and try, I hope everything will works fine [code=php] while ($row = mysql_fetch_assoc ($results)) { #First table results, this loop works fine $data = sprintf ("SELECT * FROM table_2 WHERE num = '%s'", $row['number']); $foo = mysql_query ($data); $bar = mysql_fetch_assoc ($foo); echo $bar['field_name']; } [/code] …

Member Avatar for urtrivedi
0
137
Member Avatar for preetg

May be it is browser version problem, check it once [QUOTE=preetg;1208193]Hi everyone i am using Window XP, mozila firefox, and php 4.1 i made php project for my final year exams...now this is not runing.. my project consist menu that list out all the options. this menu is in javascript …

Member Avatar for rajarajan2017
0
110
Member Avatar for qazplm114477

Recently I saw YII framework, It is much better to develop large applications in PHP using YII framework. Yes definitely you can become a professional webdeveloper(You can even be a freelancer) I used Cake PHP for the past 3 years, recently I become familiar with with YII Check for the …

Member Avatar for saiprem
0
96
Member Avatar for blood08

Hi first check that your PHP variables are passing values to your query... Try your code like this [code=php] // Retrieve data from table where row that match this passkey echo $sql1="SELECT * FROM $tbl_name1 WHERE confirm_code ='".$passkey."'"; $result1=mysql_query($sql1) or die(mysql_error()); [/code] In the above query, if all the values …

Member Avatar for saiprem
0
266
Member Avatar for preetg

Just upload the downloaded zip into FTP, using CPANEL..extract the uploaded zip file, then start using it.... :) Using phpMyAdmin create a DB OR Using CPANEL create a DB(mySQL databases) your life will become very easier if you just type [url]http://yourdomainname/extrracted_directory_name[/url] At installation time it will asks you to enter …

Member Avatar for saiprem
0
165
Member Avatar for JoeyG7

I saw in your code, there is no form tag, put form tag and keep the method to post, and then check the radio button before posting the data..Then I hope everything will works for you.

Member Avatar for saiprem
0
153
Member Avatar for boyRevolt

Hi I hope this will give you a little information regarding how to use an array in next page..... [code=php] <?php $n = 6;//$_POST["var_n"]; echo "<pre>"; print_r($_POST); echo "</pre>"; ?> <html> <body> <br> <center><h2>Reverse Array</h2></center> <form action="", method="post"> <center> <br>Please input the contents of the array: <br> <?php createTextBoxes($n); //$array_ref …

Member Avatar for saiprem
1
73
Member Avatar for surya_nar

Hi Surya, First of all I didn't understand your requirement properly, but i found a minor mistake in your code, please check the following you can understand [code=php] echo("<select name=\"selectItem\">"); while($row = mysql_fetch_object($results)) { echo("<option value='".you should have your database retrieved value here, some thing like $row->id."'>$row->vend_des</option>"); } [/code] [QUOTE=surya_nar;1198656]I …

Member Avatar for saiprem
0
157
Member Avatar for neethub3@gmail

Try like this, it will works for you [code=php] <?php mysql_connect("localhost", "root", "123") or die(mysql_error()); mysql_select_db("jai") or die(mysql_error()); $sql = "SELECT distinct db_name FROM dbsname"; $result = mysql_query($sql); $options=""; while ($row = mysql_fetch_assoc($result)) { $db_name = $row["db_name"]; $options.="<OPTION VALUE=\"$db_name\">".$db_name."</OPTION><br />"; } if(isset($_POST['db_name']) && $_POST['db_name']!='') { //perform your other operations based …

Member Avatar for saiprem
0
222
Member Avatar for toasty525

[QUOTE=toasty525;1194533]Hi, i have a php script on server1 that sends var1 in a url to server2 like [url]http://server2/script.php?var1=test[/url] server2 then posts back to server1 with the url [url]http://server1/callback.php?var1=test&var2=somedata[/url] i then want callback.php to redirect to [url]http://server3/someScript.php?var1=test&var2=somedata[/url] but callback.php dosnt seem to be redirecting to server3 ? If i type the …

Member Avatar for saiprem
0
63
Member Avatar for hassancool

You can do meta refresh in your page, but that really annoys the user. So better to don't go for it. If meta refresh is used , then using your page in offline is not possible(If you want to make it available, you need to use relative urls in your …

Member Avatar for saiprem
0
93
Member Avatar for saiprem

Hi All I have my URLs without cleanup [url]http://10.0.0.76/project/mydashboard.php?section=12&section_childs=1[/url] [url]http://10.0.0.76/project/some_x_page.php?section=12&section_childs=1[/url] OR [url]http://www.myprojects.com/mydashboard.php?section=12&section_childs=1[/url] [url]http://www.myprojects.com/some_x_page.php?section=12&section_childs=1[/url] How can I get my URL like below [url]http://10.0.0.76/project/mydashboard/section/12/section_childs/1[/url] [url]http://10.0.0.76/project/some_x_page/section/12/section_childs/1[/url] OR [url]http://www.myprojects.com/mydashboard/section/12/section_childs/1[/url] [url]http://www.myprojects.com/some_x_page/section/12/section_childs/1[/url] I know we can do it with .htaccess, but i don't know how to write, can any one please help me to implement this.

Member Avatar for vitana
0
125
Member Avatar for hassancool

[QUOTE=hassancool;1175831]HI all, I am using a php Code for Image hosting script and having this kind of error continuously..... "Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpbihhaX' to 'http://masalalook.com/imagehost/upload/41270034561.jpg' in /home/masalalo/public_html/imagehost/config.php on line 83" Line Number 83 contains this "if (move_uploaded_file($_FILES['file']['tmp_name'],$filedir."/".$newname))" Help me plz how to get out of this trouble...... …

Member Avatar for saiprem
0
96
Member Avatar for nonshatter

No actual problem is that, you are using header for redirection, then POST data will be lost, so your record insertion will be empty...

Member Avatar for nonshatter
0
175
Member Avatar for tryphy

Because you are always retrieving the data from the database and showing in that field, If you want to populate your data, every time you need to update or save your data in your DB.

Member Avatar for saiprem
0
204
Member Avatar for ismael ahm@d

[QUOTE=ismael ahm@d;1174743]Hello Everybody, i m facing problem that how i increment the values, first when i set the ID_No as auto increment in php/mysql after the debugging when i delete 2 no; row from the table next time the ID_No starts from the 3rd one row and basically i dont …

Member Avatar for saiprem
0
68
Member Avatar for tinudeshmukh

You can use predefined php functions for it. the functions like * system * shell_exec * exec * passthru For more information check PHP Manual

Member Avatar for saiprem
0
65
Member Avatar for tryphy

refer to this thread, I gave answer here... [url]http://www.daniweb.com/forums/thread258810.html[/url]

Member Avatar for saiprem
0
160
Member Avatar for whiteyoh

[QUOTE=whiteyoh;1162165]Hi All, I thought I was getting along well with PHP, but i have been given a project at work to interact with a 3rd party client using SOAP and im lost. Can anybody help me get started with this? They are going to send me a url with a …

Member Avatar for whiteyoh
0
118

The End.