No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
13 Posted Topics
Hello friends... I have one question that why session variable are stored on server side, what is reason behind this. If it is stored on client side what will be disadvantage.
Hello dear friends.. I have some confusion in following code. <?php session_start(); $_SESSION["name"]= "abc"; session_destroy(); echo $_SESSION["name"]; ?> as I am assigning value to session variable, after assigning I am destroying whole session but after destroying as I echo $_SESSION["name"] it show value. It is printing value even session has …
In combobox use onchange() event .. and pass this value to a function as argument and use ajax to dynamically update second combo box... Study little bit about ajax.
hi guys.. I mostly use resources variable when fetch data from database... But I don't have clear concept about resources variable , How it work , what is it's nature.. Can anybody tell me about it nature.
Hi.. I want to make following series.. I try a lot but i am having confusion in loops. so please help me. 1 212 32123 4321234 So any one have idea about this .
Does php support video conferencing...I i am working on an online telemedicine system..i want to make this project in php..but main theme of this project is video conferencing..so plz tell me does php have any facility to video conferencing..
ur code is right.. on same page only wright this code. [CODE]<?php if(isset($_GET['user_Id'])) { $user_id=$_GET['user_Id']; $result=mysql_query("DELETE FROM table_name WHERE user_Id=$user_id"); } //if user id is string then use single quote marks. //also wright this code before SELECT statement. mean on op of page. ?>[/CODE]
Declare construct before foreach loop. like $construct='';
which browser u r using.. this mostly happen in internet explorer.. try this code in firefox.
<?php mysql_connect('localhost' , 'root', 'pass'); mysql_select_db('std_record'); $result=mysql_query("SELECT * FROM student"); if(mysql_num_rows($result)>0) { ?> <select name="student"> <?php while($rows=mysql_fetch_array($result)){ ?> <option value="<?php echo $rows['id']; ?>"> <?php echo $rows['name']; ?></option> <?php } ?> </select> <?php }. Try it.. it is easy approach to write html code seprate from php code. nap.
<?PHP include("connection.php"); $result=mysql_query("SELECT curso_name,curso_periodo FROM curso"); ?> <select name="primeira_opcao"> <?PHP while($rows=mysql_fetch_array($result)) {?> <option value="<?PHP echo $row['curso_name']?>"><?PHP echo $row['curso_name']?></option> <?PHP } ?> </select> <?PHP mysql_free_result($result); mysql_close(); ?>
Make clear what do u want to do..If u write ur source code then it will be easy for us to response u. In php there are many ways to add rows in database... one by one as well storing values in array and through loop u can store multiple …
I want to make a dictionary..If user enter first character in text box it give suggestion words like when we write in google search box it give us suggestions. so can any one help me to do this.. I did little bit in AJAX but still i am not successed …
The End.
panhwer