Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #17.2K
Ranked #4K
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Dylan_11

HI, I have the below php code that i am attempting to use to search the database for a value that has been inputted in the form. This connects to the database and works fine but brings back no results. I found the following error: Warning: mysqli_num_rows() expects parameter 1 …

Member Avatar for abubaker_2
0
544
Member Avatar for inxs310

[PHP] <? include("$include_path/FastTemplate.php3"); $tpl = new FastTemplate("templates"); $tpl->no_strict(); [/PHP] can someone help me!! plz

Member Avatar for JRM
0
213
Member Avatar for dilan_n

[code=php]<?php $con=mysql_connect("localhost","root",""); if(!$con) { die('Could not connect:'.mysql_error()); } mysql_select_db(customer1,$con) $sql1="INSERT INTO details(companyname,companyadd,comstate,telephone,fax,email,fname,lname,nic,mobile,username,password);VALUES('$_POST[coname]','$_POST[coadd]','$_POST[cost]','$_POST[tel]','$_POST[fax]','$_POST[mail]','$_POST[fname]','$_POST[lname]','$_POST[nic]','$_POST[mob]','$_POST[user]','$_POST[password]')"; if(!mysql_query($sql1,$con)) { die('Error:'.mysql_error()); } echo"1 record added"; mysql_close($con) ?>[/code]

Member Avatar for Yayo_SK
0
118
Member Avatar for Aamit

Hi, In my $str="DAniweb it DISCUSSION Community" I want "Each First" character is capital and rest of lower case " If String is $str="[COLOR="Red"]DAniweb it DISCUSSION Community[/COLOR]" Ans-> [COLOR="Green"]Daniweb It Discussion Community[/COLOR] How to do this??

Member Avatar for Andrieux
0
136
Member Avatar for Maidomax

Hi! I am creating a simple website, and I would like to have an option on one page to print the contents of the page by clicking a button, or seeing it in PDF format by clicking another. What is the simplest way of doing this? Mladen

Member Avatar for Yayo_SK
0
135
Member Avatar for Ragnarok

I have been working on flatfile and directory system in PHP and not that I have got the script working I want to make it more secure. What I have is one directory with sub-directorys insided them and insided the subdirectorys are about 20 files each. Forexample: [code]directory/ sub1/ sub2/[/code] …

Member Avatar for Yayo_SK
0
163
Member Avatar for anchal

i hav a problem m new to php nd i started with writin my first page but whenever i start my browser i see the complete code and nt the output i need i wrote [code=php]<html> <title>my php page</title> <body> <?php echo "hello there!"; ?> </body> </html>[/code] the output is …

Member Avatar for Yayo_SK
0
174
Member Avatar for nmcgoo108

Hey Guys, I just set up a contact form on my site and used an image as the "send" button. When I get an email from the form, I get x= some number and y= some number. So the form is sending the coordinates where the user clicks on the …

Member Avatar for nmcgoo108
0
195
Member Avatar for CasTex

Can someone tell me where is the problem ? [CODE]<script type="text/javascript" src="http://www.forumistan.net/analiz/analiz.php?site=http://www.forumistan.net"></script>[/CODE] analiz.php [CODE] <? Header("content-type: application/x-javascript"); ob_start(); include 'all.php'; ob_end_clean(); echo "document.write(\"<div class=\"txt\">Pagerank: $rank->pagerank <br>\")"; echo "document.write(\"Alexa: $rank->alexa_rank</div>\")"; ?>[/CODE]

Member Avatar for almostbob
0
565
Member Avatar for dourvas

hallo, i ve created a dynamic form. A user can select The number of fields he d like to fill in (test creation) [code=php]echo '<form method="post" action="createxml.php">'; for ($i =1; $i <=$number; $i+=1){ // THE $NUMBER CONTAINS //VALUE -ok- echo '<fieldset width ="20%">'; echo '<legend class = "login">WRITE A QUESTION</legend>'; …

Member Avatar for Yayo_SK
0
161
Member Avatar for marcmm

I'm trying to use some dynamic path names for an image upload page. In a tutorial they had something like this: [code] <?PHP $directory_self = str_replace(basename($_SERVER['PHP_SELF']), '', $_SERVER['PHP_SELF']); // this echoes something like " /foldername/ " presumbing that the php file is set inside that folder in the root. $uploadsDirectory …

Member Avatar for Yayo_SK
0
111