39,393 Topics
![]() | |
| |
Hello guys, I am a new learner in PHP and I am modifying a simple binary site. I am here to ask help how can I calculate my downline pairs or the total left and right side of some user. Here is the example of my tables in database: +++++++++++++++++++++++++++++++++ … ![]() | |
In my new project I decided that I will use RedBean ORM system with Codeigniter PHP Framework. How can I get all records from table with simple relation? I know, that I can use R::exec or R::getAll queries but I want to make sure if there any other solution(s). TABLE … | |
how to set the minvalue=today and max value=today+30 in javascript or how to do it in jquery what are the files i need to download .plz explain me i never used jquery before . | |
Hello I made some tries to get info from http://portal.onrc.ro The workflow is like: 1. Login => redirects to a page 2. Get the form (GET /ONRCPortalWeb/appmanager/myONRC/wicket?p=bpi.buletinBpiOnline) 3. Change the search type (POST /ONRCPortalWeb/appmanager/myONRC/wicket?_nfpb=true&_windowLabel=TestWicket03_1&_urlType=action&wlpTestWicket03_1__wu=%2FONRCPortalWeb%2Fappmanager%2FmyONRC%2Fwicket%2F%3Fwicket%3Ainterface%3D%3A1%3AformCautare%3A%3AIFormSubmitListener%3A%3A) => redirect to an interface (GET /ONRCPortalWeb/appmanager/myONRC/wicket/?wicket:interface=:<@interface_NO>:1:::) After changing the search type, i don't get redirected. … | |
![]() | Hi Is there a way to set meta tags description and keywords in template file if no description or keywords are set? To chek if exsists and if not to set it? Thanks |
Hi all. sory but im beginner on web creating. I need create catalog. first page i need create item add form. after page i need create items catalog. all on mysql sory for bat English :) who can help me. i have login register index pages. | |
Hey guys I'm in the middle of connecting my website to my SQL database at the moment i have the following and I need some help if you guys dont mind config.php //Mysql Connect | mysql_connect("host","username","password"); //Below example to connect in localhost $a=mysql_connect("localhost","root",""); //select your database $b=mysql_select_db("database_name",$a); submit_form.php $firstname=$_POST['firstname']; $lastname=$_POST['lastname']; … | |
Hello my Boss recently gave me the assigment to print our entire Wiki in order to have a hard copy in case of emergency. I wouldn't have a problem if that was once but he insists on doing it weekly. I googled long enough to know that there is no … | |
i have use this code on localhost to store user emailid on serverdatabase.but i got the following error XMLHttpRequest cannot load http://192.232.240.245/saveemail.php?redirect=http://localhost/digital/real/comparebuy.php. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access. var emailID=$('#firstname').val(); $.ajax({ url:"http://192.232.240.245/saveemail.php?redirect="+document.URL, type:'post', data:{'emailID':emailID}, success:function(){ alert("ok"); } }) | |
hi I am new in php. I could not insert the data into mysql table. and there is no error prompt Below is my code. Pls help me <?php include_once '../inc/header.php'; if (isset($_POST['submit']) && $_POST['submit'] != "" ) { $name = $_POST["name"]; $address = $_POST["address"]; $tel = $_POST["tel"]; $fax = … | |
IGNORE. not sure how to delete a post of mine | |
Hello, I have a problem with my list down menu. My list down menu will display data from MySQL. It working very well. But, there are problems when I add if else statement. I want to display the list down menu based on the one field from MySQL. For example … | |
**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, … |
The End.