39,320 Topics
| |
Hi Everyone, I have copied a .htaccess file from one website and I am trying to use the same htaccess file on a different website. here is the copy of the htaccess file I have copied from one site to another... <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^(\d+)/([^/]+)/?$ index.php?uiid=$1&title=$2 [L] </IfModule> … | |
Hello guys and gals. I have finally launched my new website and hope I can get your ideas on the design. The name of the site stands out what it will be used for. The best of all is that it is Free ! Please take a look here https://TurkishClassified.com … | |
I created custom post type with custom taxonomy. Its working, but i am facing one issue is http://example.com/taxonomy-slug/%term%/post-title this is my custom post type url exg: http://example.com/products/cars/bmw-z4 Here products -> taxonomy-slug cars -> taxonomy-term bmw-z4 -> product title custom-post-type slug -> products/%custom_taxonomy% this link is working, but also its working … | |
How can I make a like button, that show who has liked my post, on a social network? | |
I want to be able to update my database in order to change some dynamic content on my site which contains movie reviews. First Step I need to be able to select which movie review I want to update by selecting it from a dropdown menu which is dynamically populated … | |
I'm using the following code to verify that an email address has a valid DNS (otherwise, we consider the email invalid). $domain = substr($email, strrpos($email, '@') + 1); $isValid = checkdnsrr($domain, 'MX') || checkdnsrr($domain, 'A'); However, today it just flagged nearly all @gmail.com and @yahoo.com emails as invalid. Obviously the … | |
I have a table in and MSSQL DB that list period and week start dates for any date in a financial year but the page is only display the week numbers and period number none of the dates does any body have any ideas please. <?php $serverName = 'DESKTOP-R7RU80H\SQLEXPRESS'; $connectionInfo=array('Database'=>'WebPortal', … | |
I have an applications developed with PHP. I have a big text file where I want to match for a word but this can be change in the feature. How can I match a word in PHP? | |
Notice: Undefined index: ID in C:\xampp\htdocs\tugas\phpdb\ubahsimpan.php on line 10 im tired ,,, how i can fix that? My ubahdata.php <html> <body> <?php $koneksi=mysqli_connect("localhost","root","") or die ("Koneksi Gagal".mysqli_error()); if($koneksi){ mysqli_select_db($koneksi,"buku") or die ("Database gagal dibuka".mysqli_error()); $ID=$_GET['ID']; //Mejalankan Querry $sql="select * from anggota where id_anggota='$ID'"; $qry=mysqli_query($koneksi, $sql) or die ("Querry gagal".mysqli_error()); $data=mysqli_fetch_array($qry); … | |
a) Write MARIE code to: 1. Input a number and store it in X . 2. Y will be equal to “ | |
I'm a PHP developer working full time for opensource PHPFusion CMS for the last 10 years. I'm not here to do any sort of marketing for them, but if you are interested, you can google "PHP Fusion". That being said, I know a little or two about PHP if anybody … | |
Dear sir, Please help me about below query. here is two table sale and purchase. i want product wise result in output table like below picture. please help me ![22222.jpg](/attachments/large/4/f8a1f4cfc8eaaad4bde70a850826b310.jpg) | |
I'm creating a report page and can't figure out how to convert the array (row) to just get the ip_address. I'm a newbie to php and can't figure out how to accomplish this. Here's the code that I have so far: <?php $filename = NULL; session_start(); // start of script … | |
Hi, its me again. I've seen the other code for looping textbox but it goesn't seem to apply in our script. What we need is a specific text box that loops when the user inputs a certain number of textboxes that he want to put. Example: there's a text box … | |
How to use CURL in PHP CodeIgniter | |
my system is savings account system, in which i tried to redirect to another php page with the same user id that i want to manage his/her account yet , when i deposit all of the users have the same fk, here is my code, hope you help me with … | |
Whats the correct approach nowadays and why: 1. To upload any needed external libs together with webapp in separate folder and than include them (where needed) using relative path, or, 2. Reference remote path (usually some form of CDN), The problem Im facing is I was tasked with writing a … | |
<?php $sql =" SELECT * FROM `comments` "; $result = mysqli_query($db, $sql); while($row = mysqli_fetch_assoc($result)){ $comment_id = $row['comment_id']; $comment_company_id = $row['comment_company_id']; $comment_name = $row['comment_name']; $comment_content = $row['comment_content']; $comment_email = $row['comment_email']; $comment_status = $row['comment_status']; $comment_date = $row['comment_date']; echo "<tr>"; echo "<td>$comment_id </td>"; echo "<td>$comment_name </td>"; echo "<td>$comment_content</td>"; echo "<td>$comment_email</td>"; echo "<td>$comment_status … | |
I want to order a website for my online shop, but I have a question: who is better to hire, a freelancer or a company? I can't make the site I want alone because I don't have much experience in creating sites. I think hiring companies is expensive. I don't … | |
Is python used for web development? | |
Hi everybody. I'm trying to print all sub-category items using my own defined PHP function. The purpose of this function is to print all items, which parent value is $parent. There is some thing wrong with this function why it doesn't show information as I wish. To make you understand … | |
it come to my email id but i am getting this error...Syntax error '$names' 9T_VARIABLE) plz help me here is my code <? php $names = $_POST['name']; $visitor_email = $_POST['email']; $visitor_phone_no = $_POST['phone']; $message = $_POST['Message']; $email_from = "rkenterprises9083@gmail.com"; $email_subject ="New Form Submission"; $email_body ="User Name: $names.\n". "User Email: $visitor_email.\n". … | |
<?php include "database.php";?> <?php session_start();?> <?php // Getting total rows there in table $query="SELECT * FROM questions"; $results=$mysqli->query($query) or die($mysqli->error.__LINE__); $total=$results->num_rows; $row=$results->fetch_assoc(); //Reading the rows next by next and vice versa $offset=$row["question_number"]; // when button next is clicked it will fetch the next row if(isset($_POST["NEXT"])){ $offset++; } // if previous … | |
How can i check if email exists i have this code but it is not working <?php include "Config.php"; function mksafe($data){ $data=trim($data); $data=strip_tags($data); $data=htmlspecialchars($data); $data=addslashes( $data); return $data; } $fname = mksafe($_POST["fname"]); $lname = mksafe($_POST["lname"]); $email = mksafe($_POST["email"]); $sql = "SELECT * FROM `users` WHERE `email`=$email"; $result = $conn->query($sql); if($result->num_rows … | |
Hey guys, I recently started work on Minepress again, I'm having some problems however. I am trying to make a plugin which detects the ip of a minecraft server and results in printing out if its online or not here is display on my site: http://img545.imageshack.us/img545/4404/beaa1f33dce74c6dbee14e6.png as you can see … | |
I've just started working with PHP and MySQL, and I'm trying to create a table in MySQL. If I've got this right, I'm trying to do so by going to my host's SQL MyAdmin page and typing in mysql_query("CREATE TABLE example( id INT NOT NULL AUTO_INCREMENT, PRIMARY KEY(id), name VARCHAR(30), … | |
hello, I need to add items in the 'ide' element, so that it looks like the example below saving in XML (thank you!). The example I need: `<ide> <cUF>43</cUF> <cCT>00000004</cCT> <CFOP>6353</CFOP>... </ide>` In the current situation, Im getting only `<cUF>:` <?xml version="1.0" encoding="UTF-8"?> <CTe xmlns="http://www.portalfiscal.inf.br/cte"> <infCte versao="3.00" Id="CTe43120178408960000182570010000000041000000047"> <ide><cUF>43</cUF></ide> </infCte> … | |
Hi. Years ago, I started writing a game called iWarz. It's a PHP-script. I've never finished it and I'm not sure if I ever will. But what I can do with it is to show you the code. So please, go ahead and download it. Study it, tell me what … | |
My script for this website www.confessions.co.ke has issues. 1. I cannot implement reCAPTCHA. If switched on, comments are not posted. 2. When someone comments,it says 'something bad' happened. But the comment ends up being posted , but not visible. 3. Google indexing seems not to find the content. How do … |
The End.