Posts
 
Reputation
Joined
Last Seen
Ranked #422
Strength to Increase Rep
+8
Strength to Decrease Rep
-2
94% Quality Score
Upvotes Received
48
Posts with Upvotes
41
Upvoting Members
36
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
3
11 Commented Posts
~116.74K People Reached
Favorite Tags
Member Avatar for dean.ong.14

Parse error: syntax error, unexpected T_IF in H:\xampp\htdocs\login.php on line 74 i don't see any mistake here? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Yakity Yak</title> <link href='http://fonts.googleapis.com/css?family=Oswald:400,300' rel='stylesheet' type='text/css'> <link …

Member Avatar for Dani
1
5K
Member Avatar for Dani

As many of you know, DaniWeb was hit by a Google algorithm update back in November 2012 and we lost about 50% of our search traffic. In investigating the issue, I discovered that DaniWeb, in addition to most other programming forums out there, all lost their google traffic to [StackOverflow](http://www.stackoverflow.com). …

Member Avatar for j.khurram
11
5K
Member Avatar for paulkd

...was asked for some php file upload code, so I thought I would post some stripped down, barebones code that I use in admin/dashboard pages to add/change images associated with products. Please see attached image for folder setup. The code uses the [jQuery Form](http://malsup.com/jquery/form/) plugin by Mike Alsup. **index.php** has …

Member Avatar for NaReSh_12
1
11K
Member Avatar for James_43

Hi all, In PHP just wondering if anyone knows whether one method of creating multiple indexes within an array is more efficient / preferable to another? ` $listing['one'] = $x; $listing['two'] = $y; $listing['three'] = $z; ` or: $listing = [ ['one'] => $x, ['two'] => $y, ['three'] => $z …

Member Avatar for James_43
0
195
Member Avatar for James_43

Hi all, I am aiming to create an array with the same structure as this: Array ( [798D25C0DEABD] => Array ( [quantity] => 1 ) [40B2B0FA3D222] => Array ( [quantity] => 1 ) ) The code I am using is therefore: for($i = 0; $i < count($response); $i++) { $ph[] …

Member Avatar for James_43
0
324
Member Avatar for James_43

Hi all, I have a fairly limited understanding of how objects work exactly, but basically I have: `$response[] = $html->data->identifier;` Which I would think stored the values as an array, but when I try to add something to that array with: `$response[] = array('quantity' => $itemsinfo['qty']);` I get the error …

Member Avatar for paulkd
0
249
Member Avatar for Firmace

Hello Guys.... Im a first year student in web coding. Im making my exam project right now and i really need you guys help for this simple thing :D. In my school we are using PHP, and ofcause im making my menu with a database and php.. Well my problem …

Member Avatar for diafol
0
1K
Member Avatar for giao.can

I have a table like code html belows I want to store value of check box and corresponding text value into 2 array in PHP For example if i check box ID_1, ID_2 the values of these check box are stored in $array_box ( 74, 75) and values of corresponding …

Member Avatar for Mashetty
0
5K
Member Avatar for phfilly

Hi all, I'm not too familiar with Ajax but I believe I grasp the basics. So I'm sending an id which I retrieve from an element to a php page but I can't seem to retrieve the id being send. My javascript: function ListPart(part) { var imgdata = part; $.ajax({ …

Member Avatar for jstfsklh211
0
283
Member Avatar for gcardonav

Hi guys, I change my code from Javascript to jQuery and I believe I have everything allright, but my jQuery is not showing the value. Can you help me with it? I am adding the important snippets but if you need all my code here is it [Click Here](http://liveweave.com/YoR5Vz). Thank …

Member Avatar for gcardonav
0
188
Member Avatar for dhani09

I have an HTML dropdown list which i'm populating from a database. My question is how can i retrieve the value of a selected item from this dropdown list using AJAX? Thanks in advance.

Member Avatar for dnyaneshk2
0
6K
Member Avatar for DaveyMoyes

Hi everyone, thanks for reading and replying to this dummy question. I have a script that open a javascript alert box - what I would like to do is after clicking the "OK" button is to direct the user to a new page. the alert is working, just when I …

Member Avatar for anitha407
0
6K
Member Avatar for david.roun.7_1

I'm wondering if anyone could help me with this code. I'm trying to display a photo based on the current month. function pictures(){ document.getElementById('pics'); var m= new Date(); var month=d.getMonth(); switch (month){ case (0): var img=new Image(); img.src="Holiday/HolidayDesktops/Newyear.jpg"; break; case(1): var img=new Image(); img.src="Holiday/HolidayDesktops/Vday.jpg"; break; case(2): var img=new Image(); img.src="Holiday/HolidayDesktops/St.Patday.jpg"; …

Member Avatar for david.roun.7_1
0
232
Member Avatar for yankeefan24

Im creating a form in Coldfusion I need to add an Autosave function. I will like the form to autosave every 30 seconds. Any Ideas?

Member Avatar for danarashad
0
291
Member Avatar for kanoy83

hi guys, i just want to create a javascript confirm script if the file will overwrite the current file with the same filename or with a file already existing. if yes: ask to overwrite if no: back to edit file page function overwrite() { var r=confirm("The same file name existing. …

Member Avatar for kanoy83
0
2K
Member Avatar for <M/>

So, i am going to be using a php framework to create a blog and i am curious to know what you guys think is the best framework. I, so far, am most satisfied with codeigniter (mostly) and zend. What do you guys think is the best and tell me …

Member Avatar for ashutosh08
0
206
Member Avatar for Mok858
Member Avatar for Dani
0
84
Member Avatar for NextCom

I'm using jQuery contains to show records in a page that contains information that matches a search field. This functions works very well, a bit too good actually... The challenge is that it also searches for matching words in SELECT elements that is inside the table column. $(this).find('td:nth-child(2)').each(function () { …

Member Avatar for paulkd
0
444
Member Avatar for dheerajvermawd

This is my form and i need a script to allow user to send their cv to my email. <form action="post-cv-action.php" method="post" enctype="multipart/form-data"> <table width="100%" border="0" cellpadding="05" cellspacing="0" style="font-size:12px; font-family:Arial, Helvetica, sans-serif;"> <tbody><tr> <td colspan="2" align="center"><h2 style="color:#333333; border-bottom:1px dashed #989898; padding-bottom:7px; margin-top:10px; padding-bottom:15px;">Submit your resume, we will find a right …

Member Avatar for paulkd
0
276
Member Avatar for Sanjay_6

My site is http://career.guru99.com/ I am using Wordpress 3.6 some content like bullets in document is hide because of advertise in Wordpress. You can check here what i am talking about - http://screencast.com/t/W9Px6SUqpT so how can i overcome this issue. i am facing this problem from 4 months but still …

Member Avatar for IIM
0
145
Member Avatar for laura301019

I am creating a php page that allows users to add a new letter to a letter archive that is saved to an XML file. One of the form elements is recipient with a text box. I would like to add a button that when clicked it will bring up …

Member Avatar for EvolutionFallen
0
112
Member Avatar for ehpratah

Good Day Guys So im having this issue with this site that i develop which is running 24/7 that eats a huge amount of bandwidth every time the page reload every 10sec using META TAG that is affecting our operations specifically our net connection. What i wanna know is if …

Member Avatar for ehpratah
0
357
Member Avatar for Edwin_2

$rowA=array("-1","1","2","-2","3","-3","4"); $rowA['charge']= preg_replace("\-\1", " ", $rowA); How do i make this such that all numbers show up without negative signs on them? I also want "1" to be omitted from all results. So my results should only be 2,3 & 4 if i access the array.

Member Avatar for Edwin_2
0
198
Member Avatar for davy_yg

Hello, How to make my email form function in CI ? I have a contact form which consist of : 1. Your Name 2. Your Email 3. Subject 4. Messages I have read: http://ellislab.com/codeigniter/user-guide/libraries/email.html Yet, I still do not know in which file do I have to write the codes …

Member Avatar for davy_yg
0
322
Member Avatar for Waado

Does anyone here know how i could modify this java script code which automatically refresh a page due to the time interval you set. I need assistance on how i can modify this code so it refreshes only once when the page is opened, <script> <!-- /* Auto Refresh Page …

Member Avatar for JorgeM
0
1K
Member Avatar for klemme

Hi all, I'm trying to delete elements from an array - The array should be a shopping cart - So I need to ad/remove items from it. So far I can add items no problem, but i seem to keep failing to delete the correct indexes. The array contains a …

Member Avatar for paulkd
0
3K
Member Avatar for sruthisru

is it possible in php to download uploaded excel sheet by taking only its filename from the database?? if so solve my pblm..thank u..:)

Member Avatar for paulkd
0
241
Member Avatar for BadManSam

Hi, when I try to use a SELECT statement in php, I get an error: > Resource id #18 <?php include("include/session.php"); $get = mysql_query("SELECT value FROM settings WHERE id=2"); echo $get; ?> The file session.php contains the database credentials .etc and it's correct. But then when I try to echo …

Member Avatar for Derice
-1
411
Member Avatar for kelley82879

Why would my html file need to be downloaded in order for it to work properly?

Member Avatar for paulkd
0
221
Member Avatar for msz900

HY! i have an issue in php session. the issue is that the session work fine in index page but the username can't show in other pages. lohin.php code <?php session_start(); include './header.php'; include 'connection.php'; if(isset($_POST) && count($_POST)>0) { $user = $_POST['username']; $pass = $_POST['password']; $sSQL = "SELECT * FROM …

Member Avatar for jkon
0
280