Hi everyone,
I'm running a Wordpress website and I have a <marquee> on the front page that runs the news.
Is it possible to have it dynamically generate the news? What do I mean by that?
Would it be possible to make it so that whenever a new post is made with a category of "News", it will automatically be fed into the <marquee> on the...
Hi, I would like to make a login page with 2 different user level, Admin & Staff. How can i do it using d code below.
Thank u.
<?php
$host="localhost";
$username="root";
$password="";
$db_name="profile";
$tbl_name="company";
mysql_connect("$host", "$username", "$password")or die("cannot connect...
I want to develop a project which has shopping cart and in this user can design his own product and add that product to shop.And also please send me links of php oops based books which are free of cost.Because im a beginner.
Thanks in advance,
Bhavyasri
...
Hi, I am planning yo use jquery UI Autosuggest for a search form.so I need a json output which can be used by Jquery UI Auto suggest.
heres the database
table name recent_tags
I have tried this
first connected to db
$do = mysql_query("SELECT * FROM recent_tags where query like '%" . $_GET['qery'] . "%'");
while ($row = mysql_fetch...
I would like to be able to sort this array by the element array's size;
array(
[0] => array( [0] => 'B', [1] => 'C');
[1] => array( [0] => 'B');
[2] => array( [0] => 'A', [1] => 'C');
[3] => array( [0] => 'A', [1] => 'B', [2] => 'C');
[4] => array( [0] => 'C');
[5] => array( [0] => 'A');
[6]...
As explained here (http://stackoverflow.com/questions/2867771/php-include-and-accents-they-show-up-as) php has a strange behavior processing the accents. My question is Why?
I mean: I have a simple utf-8 charset page. With this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-trans...
I am working on web application (used PHP, javascript language) , I have provided localization support to my application. Currently supported English language.
I am supporting another languages.
I know basic format of .po file i.e. :
msgid "Unknown login error"
msgstr “Please enter corrent credientioals"
I wanted to know standard fo...
Hello All,
Greetings !!
I have to insert a logo(image) on the row[0],column[0].I am using "Spreadsheet_Excel_Writer" for that.i tried its insertBitmap() methode ,program working fine but it doesn't show the bitmap image on xls sheet,instead blank row. what could be reason ? can you please let me know the exact string format...
Hi all,
Am Running apache as a frontend to mongrel ,but i would like apche to server one more application that is based on php ,i would like to access tham at different time all my php pages are put in one folder ,so how do i achieve it this is how am running apache frontend to mongrel
ServerName www.src.com
DocumentRoot...
Hi,
I have an array as follows
Array ( [0] => application [1] => modules [2] => Ride [3] => externals [4] => images [5] => uploads [6] => profile [7] => 116 [8] => 13006678321287904362.jpg )
How can I insert an item to the existing array with out overwriting the existing element in specified index
Consider I would like to create as...
Hi there,
Looking around my understanding is Sencha is purely JS based. Wondering if there is any way for me to use content from PHP + myslq driven website?
Cheers
rd
...
First question: For the case where the device_id is 2 the output is two, but any other case the output is still 2. Why is this?
if ($line == "IMEI 358998018395510\r\n"){
$device_id = 1;
}elseif($line == "IMEI 352924028650492\r\n"){
$device_id = 3;
}else {
$device_id = 2;
}
Second question: I would like to repl...
No matter what I change in this script, when I go to upload the file, the page is looking for the action do-nothing.htm. This is what the ACTION of the plugin is set to in the downloaded example, but I have changed it.
I have also changed some lines in the Javascript to see if I could get something working, but nothing. In fact I can't...
I want to put some links in my web page. I am using php for developing my webpage
When user click any one of it, the content corresponding to that link will show just below it without refreshing the whole page
I know it a simple basic, but I dont know javascript much to work with...
Can anyone please help me...
link1 link2 link3 l...
Possible Duplicate:
Find out which class called a method in another class.
Hello everyone,
I have a class and I can't find where his object creates.
I mean, can I somehow find out who calls his constructor?
Thanks a lot,
Andrey.
...
I have an XML file which im fetching using php . That file contains '&' which gives error while fetching the file. Now i want to replace this "&" from my XML.How can i do that using php???
...
How to connect all page to my database
Overview
i have created 4 files
1. signup.php
2. signup_ac.php
3. confirmation.php
4. config.php
Also, i have created 2 databases
1. temp_members_db
2. registered_members
i want to do
1. When users sign up. Random a set of confirmation code.
Keep their informations and confirmation code in...
I'm having a really strange issue with .htaccess - I'm trying to rewrite the domain so it always prepends www to the domain when loaded - this works for about five minutes and then just turns the page blank!?
.htaccess:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www.thedomain.co.uk$ [NC]
cRewriteRule ^(.*)$ http://www.t...
I am trying to decode JSON in php I sended using an ajax call in javascript (jquery).
The javascript code:
var editSchedule_data = {
'action' : 'editSchedule',
'eventid' : $('#eventid').val(),
'pixels_per_minute' :$('#pixels_per_minute').val(),
artists: {
artist: []
...
hi there!
i have a problem with my server which is running ubuntu (debian) linux and apache 2.2/php 5.2
as this is mainly a productive server, display_errors is turned OFF in the php.ini
for development purposes, i want to enable these error reporting stuff for certain domains. but when i set
php_flag display_errors on
in the .htacc...