Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
4
Posts with Upvotes
2
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #1K
~30.7K People Reached
About Me

i'm a student but love and wish to have a career in Web Development.

Interests
gaming reading novels watching movies
PC Specs
used to love Windows but now slowly making the move to Linux.
Favorite Tags
Member Avatar for AntonyRayan
Member Avatar for broj1
0
140
Member Avatar for Joseph_20

I have two RadioButton and Two Checkbox which represents things that holds a value in decimal example price! The user has to choose from either of the radiobutton and also from either of the checkbox. I have a button to culculate the total! I'm using if else statement but got …

Member Avatar for Santanu.Das
0
142
Member Avatar for dinhunzvi

i have the following code <?php require_once 'includes/initialize.php'; set_include_path( get_include_path() . PATH_SEPARATOR . CHARTS_PATH); require_once "class/pDraw.class.php"; require_once "class/pImage.class.php"; require_once "class/pData.class.php"; // create data set $myDataset = array(0, 1, 1, 2, 3, 5, 8, 13); $myData = new pData(); $myData->addPoints( $myDataset ); $myData->setAxisName( 0, "Numbers" ); // define image object $myImage …

Member Avatar for Mahesh_12
0
676
Member Avatar for infoitmanoj

1. <?php 3. /* 4. $con = mysql_connect("localhost","root",""); 5. if (!$con) 6. { 7. die('Could not connect: ' . mysql_error()); 8. } 9. mysql_select_db("nvron",$con); 10. */ 13. $con = mysql_connect("localhost","nvronusr","DBpwd!@#"); 14. if (!$con) 15. { 16. die('Could not connect: ' . mysql_error()); 17. } 19. mysql_select_db("nvron", $con); 20. $DOWNLOADPATH='C:\Users\LENOVO\Desktop'; // …

Member Avatar for dinhunzvi
0
4K
Member Avatar for showman13

This is sort of a generic question... I'm at a point where I need to do some report generation with various data from different tables i.e. commissions earned / transactions processed / etc... I was wondering if anyone happens to know of a script base that could be used for …

Member Avatar for showman13
0
669
Member Avatar for dinhunzvi

i have created this smarty plugin but i'm getting an error message whenever i try to use it. <?php function smarty_modifier_prepare_link( $string, $link_type = 'http' ) { // use SSL if ( $link_type == 'http' && USE_SSL = 'no' ) $link_type = 'http'; switch( $link_type ) { case 'http' : …

Member Avatar for pritaeas
0
356
Member Avatar for dinhunzvi
Member Avatar for cereal
0
98
Member Avatar for Mike Bishop

can anyone help me with the code below, I would like to strip out comas from the URL http://www.balmanltd.co.uk/products/steering/ball-joints/ball-joint,-drag-link-end/am1148 $str = trim($str);/*remove any unwanted outer spacing*/ $urlkey = preg_replace("/[^0-9a-zA-Z]+/","-",strtolower($str)); $htmlkey = ($htmlext) ? $urlkey.".html" : ""; return array($urlkey,$htmlkey);

Member Avatar for diafol
0
155
Member Avatar for dinhunzvi

i have two classes Session and SupplierSession. SupplierSession is supposed to inherit from Session. how do i ensure that the session_start() in the __construct() method of Session does not get called in SupplierSession. here are the class definitions. session.php <?php class Session { private $loggedIn = false; public $userID; public …

Member Avatar for urtrivedi
0
141
Member Avatar for dinhunzvi

i have the following php. the script gives me an error telling me that i have not selected a file to upload even when i have done so. if i try to access the $_FILES['minuteFile']['tmp_name'] i don't get anything but the $_FILES['minuteFile']['name'] would be having some. what could be the …

Member Avatar for dinhunzvi
0
346
Member Avatar for sathyagovin

Hi, I am using image upload for REGISTRATION page. I am able to upload images and also database works. My problem is that i get the "Undefined index: emp_image in C:\wamp\" when the image upload page is loading itself. This error is for about 10 lines when i open the …

Member Avatar for dinhunzvi
0
675
Member Avatar for dinhunzvi

is there an open source GPS solution that i can integrate into a php website for a car rental firm

Member Avatar for diafol
0
178
Member Avatar for dinhunzvi

i have PHP code that creates a text file. after the file has been created i want it to be opened in another tab. how do i modify the code below. <?php session_start(); require_once 'includes/config.php'; require_once 'includes/functions.php'; set_time_limit(0); // override the maximum execution time in php.ini file if ( isset( …

Member Avatar for diafol
0
697
Member Avatar for dinhunzvi

i currently have PHP 5.2.7 on my laptop and i would like to upgrade my php version. how do i do that?

Member Avatar for diafol
0
107
Member Avatar for dinhunzvi

i have a function which is supposed to check if a number is a floating-point number. this is the structure of the function function isValidFloat( $string ){ if( !preg_match( "/^[0-9]+(.[0-9]+)?$/", $string ) ){ return false; } } for numbers such as 1 or 8 it's correctly validating but not for …

Member Avatar for pritaeas
0
217
Member Avatar for dinhunzvi

how do i write a regular expression to validate user input to ensure that the user input contains 1 digit, a space and any number of letters.

Member Avatar for pritaeas
0
152
Member Avatar for dinhunzvi
Member Avatar for Michael_19
0
379
Member Avatar for official.DJ.cabo

**I got this error on line 369** Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/a4670304/public_html/lol.php on line 369 <?php // session_start(); require_once('auth.php'); include("dbconnection.php"); ?> <!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> <link rel="icon" href="img/Untitled-1.png" type="image" /> <link rel="shortcut icon" href="img/Untitled-1.png" type="image" …

Member Avatar for pritaeas
0
570
Member Avatar for official.DJ.cabo

**I Get error like this when i start the host.** <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="jquery.watermarkinput.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".search").keyup(function() { var searchbox = $(this).val(); var dataString = 'searchword='+ searchbox; if(searchbox=='') { } else { $.ajax({ type: "POST", url: "search.php", data: dataString, cache: false, success: function(html) { $("#display").html(html).show(); } }); …

Member Avatar for dinhunzvi
0
337
Member Avatar for dinhunzvi

i have a php script that generates a text file. the code is as follows. the text file is being is being created. <?php session_start(); /** * @author FreeUser * @copyright 2013 */ set_time_limit(0); // override the maximum execution time in php.ini file require_once 'includes/mysql_connect.php'; require_once 'includes/functions.php'; if ( isset( …

Member Avatar for dinhunzvi
0
272
Member Avatar for code_rum

Hi, I have imported a csv file but for some reason in some values the data after . is missing for e.g. If my value in csv is 0.5 it displays 0. and 5 went missing but in my csv file i have value as 0.5 I don't what step …

Member Avatar for code_rum
0
308
Member Avatar for lilwizz770

I am working on a massive application that deals with ecommerce, i am an intermediate when it comes to developing applications in php. If you are interested please reply and we can talk more on what is involved.

Member Avatar for uniecommerce
0
136
Member Avatar for Rahul47

What is wrong with this type of assignment ? $name=array('ch' => 'chester' , 'mike', 'joe'); foreach( $name as $value) { echo $value; echo "<br>"; } Thanks.

Member Avatar for diafol
0
141
Member Avatar for bfitzgerald

Hi Guys I'm using a form which sends data to a php file so that ti can be sent to a database. However some of the data passed are dates for the start, end of teh event and when sign ups expire. I want to stop the from data been …

Member Avatar for bfitzgerald
0
192
Member Avatar for dinhunzvi

i am working on web application and i'm looking for a way to create and display reports. tried Crystal Reports but the reports are not being displayed. what other options do i have?

Member Avatar for dinhunzvi
0
132
Member Avatar for dinhunzvi

i have the following code in my php script. it's for displaying a Crystal Report file. $cr = new COM( "crystalruntime.application" ); if ( $cr ) { $cr->OpenReport( "SelectExpert1.rpt", 1 ); } if i try to access the file with this code on my browser i get the following error. …

Member Avatar for diafol
0
802
Member Avatar for dinhunzvi

i have the following php files. <?php require_once '../moonlight/includes/mysql_connect.php'; require_once '../moonlight/includes/functions.php'; require_once 'includes/reader.php'; /** * @author FreeUser * @copyright 2013 */ if ( isset( $_POST['submitted'] ) ) { $errors = array(); if ( $_POST['authorityID'] == "" ) { $errors[] = 'Select the paying authority.'; } else { $authorityID = (int)$_POST['authorityID']; …

Member Avatar for dinhunzvi
0
192
Member Avatar for ismael ahm@d

Hi friends, I am trying to user nested foreach to insert data into table with three different column fields. Please look at that because i am getting error [syntax error, unexpected ',', expecting ')']. $cLists = $_POST['nd']; $Votes = $_POST['text']; $Votes_p = $_POST['text1']; $id = $_POST['invst_id']; //foreach($cLists as $nomineeid) foreach …

Member Avatar for broj1
0
644
Member Avatar for GlenRogers

Hi, Is the any way I can populate a dropdown navigation menu with categories and subcategories i have in mysql?? This is what I have so far, with the categories and subcategories just hardcoded in the html. <div class="menu"> <ul id="verticalmenu" class="glossymenu"> <li><a href="#" >Ribbon</a> <ul> <li><a href="#">7/8</a></li> <li><a href="#">5/8</a></li> …

Member Avatar for GlenRogers
0
1K
Member Avatar for dinhunzvi

i have the following tables in my database: CREATE TABLE `tblbrands` ( `brandid` tinyint(2) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(25) NOT NULL, PRIMARY KEY (`brandid`), UNIQUE KEY `name` (`name`) ) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8; CREATE TABLE `tblcars` ( `carid` smallint(5) unsigned NOT NULL AUTO_INCREMENT, `brandid` tinyint(2) unsigned NOT NULL, `typeid` …

Member Avatar for pritaeas
0
2K