38,020 Topics

Member Avatar for
Member Avatar for veedeoo

**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 …

Member Avatar for veedeoo
3
2K
Member Avatar for chris.immanuel

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 …

0
153
Member Avatar for mark103

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 = …

Member Avatar for veedeoo
0
158
Member Avatar for centenond

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 …

Member Avatar for centenond
0
230
Member Avatar for punith_1

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 …

Member Avatar for punith_1
0
434
Member Avatar for mpc123

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 …

Member Avatar for diafol
0
140
Member Avatar for spluskhan

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 …

Member Avatar for spluskhan
0
229
Member Avatar for tundewoods

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 …

Member Avatar for pritaeas
0
373
Member Avatar for davy_yg

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.

Member Avatar for davy_yg
0
813
Member Avatar for sjarun833

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.. …

Member Avatar for Szabi Zsoldos
0
194
Member Avatar for L-D

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 …

Member Avatar for titos97
0
229
Member Avatar for raminshahab

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 …

Member Avatar for raminshahab
0
346
Member Avatar for nitin1

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.

Member Avatar for veedeoo
0
251
Member Avatar for titos97

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 …

0
152
Member Avatar for asma.fayaz.77

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 …

Member Avatar for titos97
0
850
Member Avatar for Sankar_1

<?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

Member Avatar for titos97
0
635
Member Avatar for saadi06

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, …

0
103
Member Avatar for mohan@nano

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

Member Avatar for mohan@nano
0
92
Member Avatar for carlosvz21

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"]; ?>" …

Member Avatar for Fernando_4
0
214
Member Avatar for fiey.hamzah

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 …

Member Avatar for Szabi Zsoldos
0
287
Member Avatar for ravi142

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) …

0
107
Member Avatar for oskarkxyz

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 …

0
195
Member Avatar for Nilesh_2

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" …

Member Avatar for nadiam
0
440
Member Avatar for Anubhav_1

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 …

Member Avatar for Bob Hensley
0
224
Member Avatar for arupjs

Localhost is not running even if it is installed successfully. Please help me. Urgent!!!!

Member Avatar for almostbob
-1
77
Member Avatar for Nollyvenon

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. …

Member Avatar for Nollyvenon
0
207
Member Avatar for hiiiiii@

how to use datepicker jquery what are the essentials think i should download to use datepicker

Member Avatar for Szabi Zsoldos
0
82
Member Avatar for websponge

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? …

Member Avatar for websponge
0
222
Member Avatar for Maideen

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'; } …

Member Avatar for Maideen
0
221
Member Avatar for hiiiiii@

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 | …

Member Avatar for hiiiiii@
0
203

The End.