39,323 Topics
| |
**Part One**: Learning the Basic Patterns **Disclaimer**: please pardon my spellogrammatico errors. I am not really a rough draft person. I type and write codes the split seconds as they crossed my mind, otherwise I will get extremely lazy and then will eventually hibernate like a tardigrade. I hope I … | |
Hi I have a question with my code. I implemented drop down list populated from my oracle DB. So my question is, I need to populate the rest of the data into my <input type="number" min="currCutting" max="currQty" /> tag that pulled from the database according to the Head_mark selected from … | |
Hi all, I'm working on my PHP to generating the xml output. I use simple_html_dom method to parsing the contains from my script called get-listing.php. Here is my PHP script: <?php ini_set('max_execution_time', 300); $errmsg_arr = array(); $errflag = false; $link; include ('simple_html_dom.php'); $base1 = "http://www.mysite.com/get-listing.php"; $html = file_get_html($base1); $countp = … | |
Hi, i working on a profile system, each users has their public profile and its directory is in http://website.com/username but the proble is that my root is gonna get a bit messy if all folders of each user is created ther, so i want to put all users folder in … | |
I have a form which shows results if a proper roll number is entered... the results are fetched from http://results.vtu.ac.in and only the table is shown... now i want to add the data of the table to my database using php. Is there a way to do it..? for example … | |
So I have a single drop down menu populated from data base, now i want to get a bit snazzy and select from the first and from the selected then populate the 2nd drop down to select and then link to a url. Here is my code for first drop … | |
I try to limit my search result to 5-7 per page, but i got this error: *Parse error: syntax error, unexpected T_STRING * My Code is: <?Php require "config.php"; // All database details will be included here $page_name="page1.php"; // If you use this code with a different page ( or … | |
I am trying to code a mysql query that will enable me select and insert multiple vaules from one table to another table in the same mysql database. I want to automatically populate the values from my id,levy from my tb_residents into table 2 resident_payments uid , rate . I … | |
Hello, I am trying to access the admin page and there is error in the admin first page: http://www.indonusa.net.id/IndonusaCMS/admin/ How to fix it? admin/index.php <?php include ($include); ?> </div> </div> </body> </html> <? } ?> Here is like the last 20 lines of admin. | |
I have two tables in db named department (contains department) and sup (contains name of supervisors name). now my query is: By selecting the department in select menu the next select field sup should automatically get fetched with names. how can i do it with php using onchange javascript menu.. … | |
Hi, Entering website first time. Script says Admin then admin. Like so Admin Id: Admin Password: admin But get Error. Wrong Admin Login. Plus these errors top of page: Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/adven735/public_html/config.php on line 4 Warning: mysql_fetch_array() expects parameter 1 to … | |
I can't seem to get a response from my query method. I have a database connection from method ping_server and use mysqli as connector. Can anyone help me figure out why I cannot print results from mysqli_fetch_array. dbclass.php class db { private $connection; private $selectdb; private $lastQuery; private $config; function … | |
I am new to parsers. I want to extract/parse the HTML documents. I have heard of this HTML DOM using PHP. Can ypu tell me some links or some basic introduction to start with? How can I use it to extract info from HTML document? Thanks in advance. | |
On the Ad there is 2 security groups 1. SG-warehouse1 users : test1 2. SG-warehouse2 users : test2 These 2 Security groups belogs to one distubution list : DL-warehouse what i am trying to do instead of searching 2 secuirty gorups i like to check if the user links to … | |
Undefined index: id line 7 help me please email me asap at asmafayaz@hotmail.co.uk <?php // Connect to database server $conn = mysqli_connect("mysql5", "fet12014211", "Milkshake12","fet12014211"); // Show a particular value. $id = $_GET['id']; // SQL query $strSQL = "SELECT * FROM countries where iso_alpha3='" . $id . "'"; // Execute the … | |
<?php $to='gsankar5181@gmail.com'; $message='hai'; $sen=mail($to, 'My Subject', $message); if($sen) echo "yes"; else echo "no"; ?> 14-04-04 14:35:44 : Message is missing sender's address 14-04-04 14:39:37 : Message is missing sender's address 14-04-04 14:39:39 : Message is missing sender's address | |
I have one certificate in the pfx format and I am trying to sign s/mime email with it using openssl but I am getting this error. Warning: openssl_pkcs7_sign(): error getting private key. Here is my code that I am trying to sign the file $privkey = 'file://'.realpath('email.pfx'); openssl_pkcs7_sign("msg.txt", "signed.txt", $signcert,array($privkey, … | |
i have a checkbox to show the below contents. how can i store the value of checkbox whether checkbox is checked or not and i have to get the value when checked any one suggest me am beginner to php | |
Hi guys, sorry if i'm posting this and it is already answered in another discussion. I am creating a website for a sales process using phpstorm, I'm new with all this so that is why I'm so confused. Actually i have this form: <form name="frm" id="frm" action="<?PHP echo $_SERVER["PHP_SELF"]; ?>" … | |
can anyone help to check my coding? what i need is to enter the groupcode and when i click search,it will retrieve all the modules. but only one module that appear instead of all. <?php $server="localhost"; $username="root"; $password=""; $connect_mysql=mysql_connect($server,$username,$password) or die ("Connection Failed!"); $mysql_db=mysql_select_db("reportdatabase",$connect_mysql) or die ("Could not Connect to … | |
My Problem is How can i get(for display) image in "Chat.php" **e.g** i have get id. $new_id = $_POST['id'] Image path src got perfect My Jquery ajax function his as under function requestChat(name,id) { var img_src = $('#el').attr('src'); //path got perfect jQuery.ajax({ type: "POST", url: "chat.php", data: "name="+name+"&id="+id+"&img_src="+img_src, success: function(html) … | |
Hello. I am user of CPAgrip and they gave us postback so I wanted to use it. Everytime when my server gets postback I want my user who is reponsible for it get points. Let's start. Variables sent in postback: http://scr.hu/1htz/yo1co **Example from affilate network:** <?php if($_POST['password'] != 'secretpassword'){ echo … | |
Hello there, I want to introduce message system in my website. I've created table fields as follows: id(int), receiver_id, msg_id, msg_sub, msg_desc, msg_time Below is my html form in which registered users will be displayed in dropdown list: <form class="form-horizontal" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <legend>Send Message</legend> Recipient:<select name="receiver_id" data-rel="chosen" … | |
Hello, i just coded for login script now i want to add "sha1" to my code due to security reason but it's showing an invalid login error i don't know the reason but when i use this withouht "sha1" it's working fine but i want to secure password into database … | |
Localhost is not running even if it is installed successfully. Please help me. Urgent!!!! | |
Please can someone help me optmize this query, it is slow and brings the same data for the debtage column SELECT customer.custid,customer.compname,customer.phone,customer.depot,acctofficer.acctfullname AS acctoff, STR_TO_DATE(mastorders.lastsuppdate,'%d-%m-%Y') AS purchdate, STR_TO_DATE(transactions.timestamp,'%Y-%m-%d') AS debtage, format( customer.balance, 2) AS balance, customer.balance AS balance1 FROM customer,mastorders,acctofficer,transactions WHERE customer.custid=mastorders.custid and acctofficer.acctoffid=customer.acctoff AND customer.depot='$depot' GROUP by customer.id ASC. … | |
how to use datepicker jquery what are the essentials think i should download to use datepicker | |
I want to have a supplier table, with ID, NAME, CONTACT, PHONE, etc, In my main table, a record can have more than one of these suppliers, what is the best way to select multiple rows from the supplier table if they relate to a record in the main table? … | |
Hi I am new, Pls help me the following issue. When click the update button, ID should be to another page to process the update function. Below is my entire code index.php <?php include_once '../../inc/config.inc.php'; $sql="SELECT * FROM demo order by id"; try { $result = mysqli_query($con,$sql); include 'view.html.php'; } … | |
hi im doing a project on online table reseration. im using a table "reservation" to store the table details of reserved table +--------------+-------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------+-------------+------+-----+---------+----------------+ | reserve_id | int(15) | NO | PRI | NULL | auto_increment | … |
The End.