39,323 Topics

Member Avatar for
Member Avatar for T4gal

Hello, Hopefully this is the right forum to post this on. I'm trying to include a few of the latest WP posts on an external homepage. The homepage is in the root folder of the website and WordPress is in it's own directory. I'm using WordPress 3.8.1 with a Twenty …

Member Avatar for T4gal
0
250
Member Avatar for Alistair_1

i am using the below script as my basis for my ajax requests However whenever i run them i keep getting the error Uncaught SyntaxError: Unexpected token hr.onreadystatechange and Uncaught TypeError: Object [object Location] has no method 'load' hr.onreadystatechange Here is the code $('#ind_login_submit').on('click', function (e) { var vars = …

0
140
Member Avatar for Ricky_2

I'm try to make javascript onclick function in php file.the result is make an alert window in my page. but nothing happen.please help me. this is my code: <script type="text/javascript" charset="utf-8"> $('#printdata').click(function() { datastring = {customer :'val', person :'val', address :'val', phone :'val'}; $.ajax({ type:'POST', url:'print.php', data:datastring, cache:false, success:function(){ alert('?????'); …

Member Avatar for diafol
0
237
Member Avatar for globaliway

I am using the following script for listing the files in a particular directory as a hyperlink list. The files names which i have mentioned must not be displayed (like index.php), How do i change the code for this? <?php $directory = ''; foreach (glob($directory . "*.php") as $file) { …

Member Avatar for diafol
0
151
Member Avatar for Syria Elisha

i already searched about displaying the data fields, my problem is how to retain the checked item and then set its value as 1. please help. i tried some code but didn't work: <html> <form action='' method='post'> <?php $database = 'sample'; $table = 'checklist_stud_columns'; $mysql = mysql_connect('localhost', 'root', '') or …

Member Avatar for diafol
0
250
Member Avatar for Osama827

Hi, I am new in php i want to cahnge this url with mod rewrite localhost/web/index.php?a=profile&u=user to localhost/web/user i try with this rewrite but it does not work.. RewriteEngine on RewriteRule ^([^/]*)$ /web/index.php?a=profile&u=$1 [L] Plz help me to rewrite this url...

Member Avatar for Osama827
0
64
Member Avatar for patidar.pawan.3

i want to fetch data from date and time with limit for latest data in database ..how to fetch..?

Member Avatar for pritaeas
0
59
Member Avatar for ActingRude

I am struggling with this, I have a database (mysql where i am trying to delete a single row. The idea is a list of items populated from the database. I am trying to add an additional column where there is a graphic and it reloads the page and runs …

Member Avatar for Alberto Bucur
0
154
Member Avatar for NitsPatel

hello, How I can Display Featured product and Special product in Home page in my site. Thanks in Advance, Nits

Member Avatar for nufftalon
0
160
Member Avatar for danieldake

Hello Guys. I am fetching some results from database and show into a page. This is a CodeIgniter Project. Here si the code for that: This is the view: <div class="product_view"> <form action="" method="POST" name="form" id="form"> <?php foreach ($get_product->result() as $key => $result) : ?> <h4>Product Name: <?php echo $result->product_name; …

Member Avatar for diafol
0
5K
Member Avatar for webcrystal

hi ! Friends can anyone tell me how to compare date which stored in database with current date and how display latest date in php plse help me ?????????

Member Avatar for diafol
0
112
Member Avatar for auniey93

hi, i need some help here . this year i should make a system that called teacher attendance system . in this project i want to added pie chart into my system and i use dreamweaver mx and mysql. i have been try to make pie chart from data in …

Member Avatar for diafol
0
180
Member Avatar for IcodyI

<? $connection = mysql_pconnect("***","***","***"); mysql_select_db("***"); $id = mysql_real_escape_string(strip_tags(stripslashes($_GET['id']))); $getUser = mysql_query("SELECT * FROM user WHERE id='".$id."'"); $gU = mysql_fetch_object($getUser); $Background = $gU->Background; if (empty($Background)) { $Background = ""; } $Hat = $gU->Hat; if (empty($Hat)) { $Hat = ""; } class StackImage { private $image; private $width; private $height; public function …

Member Avatar for diafol
0
275
Member Avatar for raviranjanim

login.php <?php session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" type="text/css" href="main.css" /> <link rel="stylesheet" type="text/css"href="menu.css" /> <title>iWebTechnik</title> <link rel="shortcut icon" href="image/favicon.ico" type="x-icon" /> <link rel="icon" href="image/favicon.ico" type="x-icon" /> <style type="text/css"> <!-- .style1 {font-family: Arial, Helvetica, sans-serif} --> …

Member Avatar for diafol
0
637
Member Avatar for sigitas.darguzas
Member Avatar for davy_yg

Hello, I am trying to create a page for gallery (picture) input: input_gallery.php <?php include('../includes/koneksi.php'); $post_id = isset($_POST['post_id']) ? $_POST['post_id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $post_image = isset($_POST['post_image']) ? $_POST['post_image'] : ''; $page = isset($_POST['page']) ? $_POST['page'] : ''; …

Member Avatar for davy_yg
0
286
Member Avatar for CarterLangley

I am trying to populate a select box from my database. The value chosen must be the id of the item, and the text shown the name of the item so that once selected it will insert the id into the table column and not the name so that the …

Member Avatar for jj.dcruz
0
493
Member Avatar for UK-1991

I have created an account an account on insightly web to get contacts from my web to the CRM throught which I created an HTML form to do so. But on a page i also want to get information to show on the page which is entered by the user …

Member Avatar for Alberto Bucur
0
245
Member Avatar for baig772

Hi all I am making a website. I want to use linkshare on my website so that all the publishers registered with linkshare are listed on my website. Any suggestions? [Link Share](http://www.linkshare.com/)

Member Avatar for swshyamash
0
249
Member Avatar for davy_yg

Hello, In my contact us I just add project combo box, yet I do not feel the programming for information form capturing is correct (after I add the project combo box), if anyone can help me would be great. Thanks before. contactus.php <div id="contactform"> <?php require_once('recaptchalib.php'); $name = strip_tags(@$_POST['name']); $email …

Member Avatar for davy_yg
0
149
Member Avatar for paramesh23

What is the best Way to start working on projects if u already familiar with php and mysql?

Member Avatar for engrjd91
0
122
Member Avatar for shaidur1982

Hi i am new in this site and want to know PHP properly.I also visited w3schools.com for this but it is not enouh for me .So if any one can help me to learn PHP.

Member Avatar for shaidur1982
0
145
Member Avatar for rpv_sen

Hi I am selecting wdays1 checkbox is checked and remaining checkbox is unchecked after submitting, i am getting an error message as below can any one please help me to resolve the issue **Error** `1 Notice: Undefined index: wdays2 in C:\xampp\htdocs\smart\checkvalue.php on line 10 0 Notice: Undefined index: wdays3 in …

Member Avatar for cereal
0
732
Member Avatar for tieshenlan
Member Avatar for centenond

Didnt know where to post this question mysql or here, since im working with php i decided to put it here.. Im starting to learn mysql now :) SO i just wanna retrive a full name from a user how would i do this? im imaging this should be done …

Member Avatar for centenond
0
187
Member Avatar for Amanpreet_1

i have created a webcam , now i want that on starbroadcast click the video that is being broadcasted streams and gets live,,,, please suggest me some code snippet for this

0
72
Member Avatar for mpc123

I have this to make a file ... but the file created is only ever .php, it is like it is not echoing the field name. $newfile ="" . str_replace(' ','-',trim($file['title'])) . ".php"; and the next one i tried to echo out in the page came out blank too? <?php …

Member Avatar for mpc123
0
188
Member Avatar for davy_yg

Hello, Can anyone help me cek this filepath : $bannerAdsPath = 'localhost/phpads/install.php'; require 'localhost/phpads/install.php'; Is it correct how I wrote it? This error appears: Warning: require(localhost/phpads/install.php) [function.require]: failed to open stream: No such file or directory in C:\xampp\htdocs\phpads\admin.php on line 6 Fatal error: require() [function.require]: Failed opening required 'localhost/phpads/install.php' (include_path='.;C:\xampp\php\PEAR') …

Member Avatar for Alberto Bucur
0
170
Member Avatar for adetolaraphael

Havning issues with file upload in php, below is the code <html> <head> <title>margeducation</title> </head> <body> <p> Niggas Please upload your files in pdf or jpg format, size less than 500kbytes, capishe</p> <form enctype="multipart/form-data" action="processfile.php" method="post" > <p>REQUIRED DOCUMENTS:(Please Select all documents that were recieved for this student's application):<br/></p> <input …

Member Avatar for adetolaraphael
0
254
Member Avatar for shehnaz20

I have tried importing csv file in database but the problem is it inserts a blank record in the 1st row of database and also the date is not gettin stored in yyyy-mm-dd format also the time is not diplayed in database the datatyse is set one heto date time …

Member Avatar for Alberto Bucur
0
185

The End.