Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
75% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #1K
~27.3K People Reached
About Me

understanding, caring, emotional......

Interests
listening music, watching cricket and sleeping....
Favorite Forums
Favorite Tags

36 Posted Topics

Member Avatar for sexycodette

hi, dear As i don't know about your fields name and their data types are correct or not. still you can try this syntax also, [CODE] mysql_query("INSERT INTO cats (title,type,cat_parent,cat_descr)VALUES ('Category Name', '0','0','Category Description')"); [/CODE] or try to use [B]die() function[/B] in insert query for finding the exact error.

Member Avatar for Adiel
0
3K
Member Avatar for vaibhav1983

Hi,Dear check out this... [url]http://www.leigeber.com/2010/02/javascript-wysiwyg-editor/[/url]

Member Avatar for quasipickle
0
164
Member Avatar for Brianbc
Member Avatar for khushhappy

hi. khush need to know after upload you want to store in local directory or display it on the same page.?

Member Avatar for cossay
0
299
Member Avatar for Joe34

hi dear, here the code for you [CODE]<?php $result="<?php echo'hello';?>"; $fp = fopen('data.php', 'w'); fwrite($fp, $result); ?>[/CODE]

Member Avatar for monica singh
0
114
Member Avatar for bjeffries

Hi, all u have to do is ... visit [url]http://images.websnapr.com/[/url]...... then login to the websnapr account ,they will provide u a key for generating the thumbnail... then jus add this code to ur form <?php $im="http://images.websnapr.com/?size=s&key=enter key&url=http://www.google.com"; echo "<IMG SRC=\"$im\" BORDER=\"0\" ALT=\"\" \/>"; ?>

Member Avatar for bjeffries
0
333
Member Avatar for zyzagy
Member Avatar for Hridayesh
Member Avatar for Hridayesh
0
145
Member Avatar for daneuchar

hi dear, if you r working on a big projects then only opt for any framework.else for simple programs you can use wamp.

Member Avatar for daneuchar
0
131
Member Avatar for arctushar

hi Dear, in form tag action is missing so put [CODE]<form method="POST" action="index.php">[/CODE] hope it works for you

Member Avatar for arctushar
0
16K
Member Avatar for mtvaran

hi, dear.. In line 37 ,why are you using $field ='$searchword'"..... and in line 45 try to use mysql_num () or mysql_assoc() with mysql_fetch_array. let me know what exactly you want...

Member Avatar for monica singh
0
215
Member Avatar for Awah Mohamed

Hi, dear Check this out! [CODE]<?php $con = mysql_connect("localhost","awah","password"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("my_db", $con); $sql="INSERT INTO contacts (from, subject, message) VALUES ('$_POST[email]','$_POST[subject]','$_POST[message]')"; if (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } echo "1 record added"; mysql_close($con) ?> [/CODE]

Member Avatar for sudeepjd
0
113
Member Avatar for mtvaran

hi dear, Here is the complete code. [CODE]<html> <head></head><body> <form method="POST" action="only_check.php"> Enter the number of question <input type="text" name="question"> <input type="submit"> </form> <?php $value=$_POST['question']; for($i=0;$i<$value;$i++) { echo '<input type="text" style="position:absolute;border:1px #C0C0C0 solid;background-color:#C0FFFF;font-family:Courier New;font-size:13px;" >'."<br/>"; } ?> </body></html>[/CODE]

Member Avatar for monica singh
0
1K
Member Avatar for wangome

hi, dear... instead of using the php code in html tags try to use include function for implementing the php code...

Member Avatar for monica singh
0
135
Member Avatar for yashbhav

Hi Dear, you can take help from these sites... [url]http://www.buildwebsite4u.com/advanced/php.shtml[/url] [url]http://www.w3schools.com/PHP/php_mail.asp[/url]

Member Avatar for monica singh
0
185
Member Avatar for MoreBloodWine

hi, dear try to change the this line [CODE]echo 'Happy ', addOrdinalSuffix($current_year - $birthday_year), ' B-Day myu2sig.com !';[/CODE] [CODE]echo 'Happy '. addOrdinalSuffix($current_year - $birthday_year). ' B-Day myu2sig.com !';[/CODE]

Member Avatar for MoreBloodWine
0
121
Member Avatar for human2600

Hi, dear Check out these link. [url]http://www.tutorialtastic.co.uk/tutorial/creating_a_secure_php_login_page[/url] [url]http://www.weberdev.com/get_example-3958.html[/url] [url]http://scripts.tropicalpcsolutions.com/html/php-script/secure-login-php-script.html[/url]

Member Avatar for madiyasa
0
150
Member Avatar for wxflint

Hi,dear i think ur code working fine,but the only prob is there in[B] <a href="">[/B] here is the code which is working according to ur requirement..jus change its table database name and fields name as per ur requirement... [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta …

Member Avatar for monica singh
0
162
Member Avatar for hassancool
Member Avatar for hassancool
0
91
Member Avatar for avinash_545

Hello Dear, $_GET is having a error in its parenthesis.Use $_GET fucntion like this[CODE] Welcome <?php echo $_GET["fname"]; ?>.<br /> You are <?php echo $_GET["age"]; ?> years old! [/CODE]

Member Avatar for avinash_545
0
177
Member Avatar for daffi_gusti

Hi, here is the complete code for... all u have to do is jus change the string and its length as per ur requirement. [CODE] <?php /* [email]hide@address.com[/email] [url]http://staff.k-designs.com.sg/basica/[/url] */ function Permutate($strDataIn, $Length, &$PermutateCount) { for ($i = 0; $i < strlen($strDataIn); $i++) { $PermArray[0][$i] = substr($strDataIn, $i, 1); $temp[$i] …

Member Avatar for monica singh
0
148
Member Avatar for killbill07

Hi, dear... try another function ie.opendir() [url]http://php.net/manual/en/function.opendir.php[/url]

Member Avatar for monica singh
0
157
Member Avatar for monica singh

Hi, i want to calculate the domain age of any given website or domain name.... ex: google.com domain age .

Member Avatar for chrishea
0
64
Member Avatar for khushhappy

hi, dear Try this <?php $result=$val['name']; echo "<tr bgcolor="#F5F5F5"><td >".$result."</td></tr>"; ?>

Member Avatar for khushhappy
0
102
Member Avatar for shrikantdhyani

Hi, you can use $_get function for the same. [url]http://php.net/manual/en/reserved.variables.get.php[/url]

Member Avatar for monica singh
0
95
Member Avatar for niths

Hi Dear, [code] <?php $string = "123 4567"; $result = explode(" ", $string); echo $var_1=$result[0]; echo $var_2=$result[1]; ?> [/code]

Member Avatar for cwarn23
1
110
Member Avatar for khushhappy

Hi, You Can try MYsql update query for the same.... [url]http://www.w3schools.com/php/php_mysql_update.asp[/url]

Member Avatar for khushhappy
0
135
Member Avatar for Naveed_786

Hi Dear, Just start with these two website which is really good for php beginners. [url]http://www.tizag.com/phpT/[/url] [url]http://www.w3schools.com/php/default.asp[/url]

Member Avatar for chrishea
0
111
Member Avatar for lDeadeyesl

Hello Dear, you can try this [url]http://www.w3schools.com/php/php_sessions.asp[/url]

Member Avatar for rajesh1158
0
131
Member Avatar for amazed

hi, As i m not able to understand Ur prob clearly. So for the same,you can use die()function to understand the mysql error while connecting....

Member Avatar for jogesh_p
0
116
Member Avatar for jakizak

Hi Dear, Try to use[B] mysql_fetch_array() with MYSQL_NUM[/B] or [B]mysql_fetch_array() with MYSQL_ASSOC[/B] or [B]mysql_fetch_array() with MYSQL_BOTH[/B] As in ur code ur r fetching the records by the field name so use MYSQL_ ASSOC(). For Example you can check this link [url]http://php.net/manual/en/function.mysql-fetch-array.php[/url]

Member Avatar for jakizak
0
239
Member Avatar for znz

hi, i think u can try this.... [url]http://www.phpbuilder.com/manual/function.mysql-num-rows.php[/url]

Member Avatar for pritaeas
0
122
Member Avatar for nsam

hi, dear.... Here is the code for u. [url]http://www.plus2net.com/php_tutorial/checkbox-value.php[/url]

Member Avatar for vibhaJ
0
2K
Member Avatar for benhowdle89

Hi, Might be this code will help u out............. [url]http://www.plus2net.com/sql_tutorial/between-date.php[/url]

Member Avatar for monica singh
0
106
Member Avatar for spideyprasad

[B]Hi, jus try to do like this.....[/B] [CODE]<?php // Connect $link = mysql_connect('mysql_host', 'mysql_user', 'mysql_password') OR die(mysql_error()); // Query $query = sprintf("SELECT * FROM users WHERE user='%s' AND password='%s'", mysql_real_escape_string($user), mysql_real_escape_string($password)); ?>[/CODE]

Member Avatar for monica singh
0
136
Member Avatar for lifeworks

Hi, [B]gethostbyname() example[/B] [CODE] <?php $ip = gethostbyname('www.example.com'); echo $ip; ?>[/CODE] [B]gethostbyaddr() example[/B] [CODE]<?php $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); echo $hostname; ?>[/CODE]

Member Avatar for monica singh
0
187

The End.