- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 17
- Posts with Upvotes
- 14
- Upvoting Members
- 15
- Downvotes Received
- 3
- Posts with Downvotes
- 2
- Downvoting Members
- 3
- Interests
- PHP, MySQL, CSS, Jquery
- PC Specs
- Windows 10
Re:
I am trying to display some text "THIS IS A TEST" on the html page. I am getting this error: "Notice: Undefined variable: text1 in /home/public_html/themes/videos/content.html on line 23" Here is the php file ( I added line 35 and 39): <?php declare( strict_types=1); // these should be set in … |
|
Re:
How can I convert this Ruby Gem to PHP? token = "your_nypl_api_token" client = NyplRepo::Client.new(token) ``` ``` token = "your_nypl_api_token" options = {:debug => true, :server_url => "http://api.repo.nypl.org/api/v1"} client = client = NyplRepo::Client.new(token, options) Also url = "http://api.repo.nypl.org/api/v1/items/8568ccd0-c614-012f-1d74-58d385a7bc34.xml" uri = URI.parse(url) http = Net::HTTP.new(uri.host, uri.port) headers = { "Authorization" => … |
|
Re:
Hi, all I'm working on a website that is comprised of two iframes within several nested divs ( the frames named "frame-menu" and "frame-main"). Displaying as such: <div id="wrapper"> <div id="header">Header text/image goes here</div> <div id="menu"><iframe name="frame-menu" id="frame-menu" src="menu.php" frameborder="0" height="30"></iframe></div> <div id="main"><iframe name="frame-main" id="frame-main" src="login.php" frameborder="0" width="878" height="700"></iframe></div> <div … |
|
Re:
I have been trying to google and find out how to make a .php script that will make a an automatic slideshow of images from a folder, I've only managed to get the pictures to automatically show up on the php page, but I can't figure out how to make … |
|
Re:
<?php include("connect.php"); $cat_id=$_REQUEST['cat_id']; $search_key=$_REQUEST['search_key']; if($search_key != "") { $sql=mysql_query("SELECT * FROM tbl_products WHERE title LIKE '%$search_key%' OR short_descrp LIKE '%$search_key%' OR description LIKE '%$search_key%'")or die(mysql_error()); $count=mysql_num_rows($sql); if($count > 0) { while($row_city=mysql_fetch_array($sql)) { //echo $row_city['title']."<br>"; //echo $row_city['short_descrp']; ?> <div class="section group"> <div class="city"> <div style="float:left"> <img src="images/member_posts/<?=$row_city['image1'];?>" title="<?=$row_city['title'];?>" height="100" width="160" > … |
|
Re:
Hi. I'm working on my own CMS, i want the script to echo 3 posts in every page, and want the script to echo from the recent post and back to the oldest post. I mean like this: For example there is totaly 30 posts; First page => posts 30-29-28 … |
|
Re:
hello guys i have a problem and i beg for help, i'm doing a student IS i have a result table which store students results it is named capture 3 i have developed html form accept user who add marks for a particular student these are the hmtl code <?php … |
|
Re:
Hello all, I have a question: Does anyone knows any other website besides themeforest.net to sell website? Thanks before, Davy |
|
Re:
I'm trying to determine the value of $level based on the keyword user provide using If statement but whatever was the user entry the value of $level always giving as 1 this is my code I need your help to find the error <?php $q1 = $_GET['q1']; $con = mysqli_connect("localhost","FYP","123","FYP"); … |
|
Re:
Hi guys I am attempting to get data entered in an HTML form through PHP then converting this data into a JSON object which will be saved on a server and retrieved to the form incase someone wants to edit entries. Please help and advice on an alternative if you … |
|
Re:
The following code produces the XML file that I am after. $dom = new DOMDocument('1.0', 'UTF-8'); // pretty formatting $dom->formatOutput = true; // create root element $root = $dom->createElement('Poem'); $root->setAttribute('object_id', '542'); $dom->appendChild($root); // create title element $title = $dom->createElement('title'); $root->appendChild($title); // create a node for the title element $text = … |
|
This is a function I created to facilitate the sending of PHP emails. Just give it the name and email of who your sending it to, and your name and email. A subject and a message. These options are required. The type, cc and bcc options are optional. By default, … |
|
Re:
It's time yet again for a DaniWeb Developer Competition!! This time the goal is to utilize [our new API](http://www.daniweb.com/api/home) launched last month. There's a lot that you can do with our API. Essentially it allows your application (web, desktop, mobile, etc) to tap into DaniWeb's backend. Your own application can … |
|
Re:
how to send email from form in php? i used the code mail(); function of php but did not successfull. i also configure php.ini and send mail files but did not get success. Please give me suitable examples with all configure file in php. |
|
Re:
A little find and replace function for PHP, not tested, but theoretically should work. |
|
Re:
In php/html/javascript there are two different ways you may redirect a user to another page however there are a few things to consider before choosing with method to use. As you should know by now php has the ability to send html and javascript to the web browser and php … |
|
Re:
Hey guys, I just wanted to let everyone know that functions can be used very constructively and there are more to them then most think. Okay this example function is actually pulled from a class of mine so it would probably make more sense in my class but it should … |
|
Re:
I was having issues getting this working 2 years ago and through posting in here, got it resolved... Now I have another related question to the same rewrite code... I haven't ever run into this issue til now, so didn't realize it existed... I need the rewrite rule to be … |
|
Re:
please help me here with this problem. dont knwo whats happning. problem is here. require_once ( JPATH_ROOT .DS.'includes'.DS.'mpkorn'.DS.'userauth_include.php' ); $mpkauth = new manage_user_component(); $authorized = $mpkauth->check_loggedin_access(JRequest::getVar( 'option' )); |
|
Re:
<?php include 'include/AnonymousHeader.php'; $CON = @mysqli_connect('localhost', 'root', '', 'allyouneed') OR die('Could not connect to MySQL: ' . mysqli_connect_error()); ?> <table width="700"> <tr> <td> <h1>Sales Registration</h1> </td> </tr> <?php if (!(empty($_SESSION['LoginStatus']))) { $SQL1 = "SELECT * FROM sales"; $STM1 = @mysqli_query($CON, $SQL1); $ROW = 0; $SalesID = ""; if ($STM1) { … |
|
Re:
Anybody can help me with this?I would like to update the status of the user in the mysql database whether its disabled/enabled by inserting 0 or 1 through the edit page. |
|
Re:
I am trying to write a program in which the user will type a word into a search bar, submit it, and the program will search the contents of an array of files for that word and echo the contents of the files that contain the word into a text … |
|
Re:
please help me in my thesis subject. i need some suggestions.. can someone give me a unique features for enrollment system.. SMS features was so familiar that's why my professor rejected our proposed title.. help me please.. thank u guys.. |
|
Re:
Hello, I have a website in Wordpress. Example: http://www.mysite.com Than I developed a new theme for the website and I have created a new directory on server for developement and testing only. The URL is http://www.mysite.com/newsite/ Now Google scanned my this testing website and added URL from it. So google … |
|
Re:
I have hosting and domain with https://www.znetlive.in (with Apache version 2.2.21) suppose www.abc.com I want to rewrite urls.(Which is not working in anyways) http://www.abc.com/index.php for this http://www.abc.com http://www.abc.com/about.php for this http://www.abc.com/about http://www.abc.com/portfolio.php for this http://www.abc.com/portfolio http://www.abc.com/contact.php for this http://www.abc.com/contact I have tried all possible ways but it is not working. … |
|
I have a .htaccess file. I have two RewriteRule's that do the same thing. This one works perfectly, and can handle a huge query: RewriteRule ^p/(.*)(/?)$ index.php?p=$1 [QSA,L] This one will only handle a query up to 255 characters. RewriteRule ^(.*)(/?)$ index.php?p=$1 [QSA,L] How do I fix this, and make … |
|
Re:
This is my code on html. I don't know to to process in my html code in PHP. Can anyone help me?Thanks in advance. <div align="right"> <form action="search2.php" method="POST"> <table> <table border="0"> <h2 align="right" style="Verdana"> Statistic Survey Search </h2> <tr><td>Select Statistic:</td><td><select name="stat"> <option>--Select One--</option> <option value="Yes">Yes</option> <option value="No">No</option> <option value="Undecided">Undecided</option> … |
|
|
Re:
I have this rewrite setting: RewriteRule ^([a-zA-Z0-9_'-]+)$ /index.php?action=$1 but now I need for example to return an error to a register page by $_GET /?action=register&error=1 but with the rewrite rule I can't get a PHP script to work with this URL: /register&error=1 What rewrite rule do I need to make … |
Re:
I have a bunch of drop down boxes, then after they are selected the the total amount automatically appears at the bottom.. the only problem is it appeears like this - <span id="resp">Total</span> How would I make this insert into the database? |