I simply love PHP,
- Interests
- Coding , Coding And Only Coding.
23 Posted Topics
| |
Hello Everyone Help needed, Has anyone implemented frequency analysis attack on caesar cipher in PHP and predicting the possible key for it. it should input the cipher text and predict the key using frequency analysis chart. | |
Hello DaniWeb, I want to develop PHP application, when there is Entry in specific table of database, it should send that information to subcribers on their emails, i am new to PHP. Suggest me solution to this problem. Thanks: ![]() | |
Re: you are forgettig to resume the current session, you want to destroy. <?php session_start(); //Resumes Session unset($_SESSION['username']); // Unset Session header("location:index.php"); // Redirects ?> | |
Re: just add below tag in pages where you want to include `menu.html`.. `<?php include('menu.html');?>` | |
Re: [Read This](http://www.sitepoint.com/migrate-from-the-mysql-extension-to-pdo/) Article. It will Definitly help you. | |
Hello , I am Ali from Pakistan and new to this forum and addicted to it. People here are so helping. ;) | |
Re: echo `$query` and tell us what results do you get. `echo $query;` `exit();` | |
Re: `if(!empty($stu_fname )&& ($stu_lname) && ($stu_email) && ($stu_telp && $stu_skype)){` try :) mark question as solved. | |
Re: What exactly Do you want to say ? can you be more brief ? what is generated in browser when you echo or print. `<a href="modify-user.php?id=<?php echo $row["id"]; ?>">Modify</a>` and what you want? | |
move_uploaded_file not working. althought the query works fine. newbie to php & daniweb :) . if($page=="Image") { $uploads_dir = '/gallery'; $tmp_name = $_FILES["t1"]["name"]; $name = $_FILES["t1"]["name"]; move_uploaded_file($tmp_name, "$uploads_dir/$name"); $insert="insert into gallery values('','$tmp_name')"; $query=mysql_query($insert); if($query) { header("Location:gallery.php"); } else { mysql_error(); } } | |
Re: ` GRANT select (id,name) ON Users To Dani` where id and name are cols in table Users | |
Re: Haha.Can't stop my laugh.Write that disc to some USB, and boot from that device. | |
Re: what output do you get ? with this code ?? And also share the generated html.. | |
Re: You are trying to Update Image of student against their ID. pass the value of session variable in querry. like this. $sql = "UPDATE std_login SET imagename = '$pic' WHERE std_id_no ='$std_id'; | |
Hello DaniWeb, I am working on project in which admin generates dynamic query by selecting value from the First dropdown(program) then second dropdown (semester). The concept is that For example: if admin select "MSCS" from the first dropdown list and "3" from the second dropdown list. it should populate all … | |
Re: ` $pname=$_GET['pname'];` Update `$pname=isset($_GET['pname']); ` | |
Re: May be there is problem with you connection with database. try <?php $mysql_host = 'localhost'; $mysql_user= 'root'; $mysql_pass=''; $mysql_db='secure'; if(@mysql_connect($mysql_host, $mysql_user, $mysql_pass)&& mysql_select_db($mysql_db)) { } else { die (mysql_error()); } ?> ![]() | |
Re: provide SQL , if possible. the information you provided is not enough to debug your error. Be brief while explaining your problem. | |
Re: Well personally i would suggest you [Bucky's Room](https://buckysroom.org). The very basics of HTML, CSS, PHP and every thing you need. | |
Hello DaniWeb. I want to generate dynamic table for my cources table. I have tried this code but the header(semester) seems not to be working. <section class="entry-content"> <?php $counter=1; $slect="Select * from mcs"; $qry= mysql_query($slect); while($row=mysql_fetch_row($qry)) { if($counter==$row[1]) { print "<div class='heading vcMsg'> <h3>SEMESTER $row[1] </h3> </div> <div class='column message-column'> … | |
Re: what do you get? when you echo $query ? |
The End.