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 #2K
~4K People Reached

12 Posted Topics

Member Avatar for nuttyniall

Hi hope someone can can help im having a problem with how ripple is dealing with for loops when emulating an android app using html5 css jquery and jqtouch simple loop [CODE] var len = 1; for (i = 0; i <len; i++){ alert('foo'); } [/CODE] run it through chrome …

Member Avatar for Airshow
0
214
Member Avatar for trellonoob

Hi have a look on this thread I have posted something similar to your problem [url]http://www.daniweb.com/forums/thread343312.html[/url] Hope it helps N

Member Avatar for nuttyniall
0
294
Member Avatar for ON_Jtharpe

Hi There Have a look phpsense.com they have some good tutorials on how to go about this they also have some source code for a full but simple login system its really good for getting the basics you can download the source files at [url]http://phpsense.com/file_download/3[/url]. Also you must read up …

Member Avatar for codewall
0
152
Member Avatar for zizuno

Hi create a function to sanitize your input variables and then pass the string as a parameter to that function. [CODE] function clean($str) { $str = @trim($str); if(get_magic_quotes_gpc()) { $str = stripslashes($str); } return mysql_real_escape_string($str); } // When you want to sanitize use $string = clean($_GET['whatEver']); [/CODE] What ever you …

Member Avatar for nuttyniall
0
95
Member Avatar for ddellostritto

Hi When I use dynamic forms this is how I deal with them First create the function [CODE]function clean($str) { $str = @trim($str); if(get_magic_quotes_gpc()) { $str = stripslashes($str); } return mysql_real_escape_string($str); // send back clean } [/CODE] Then create the form [CODE] $sql = "SELECT Q_id, Q_Disc, service FROM questions"; …

Member Avatar for nuttyniall
0
601
Member Avatar for tcollins412

Hi If its to format the output from the database would you not be better using css to wrap the text placed in a container?? You can wrap text using php using the following [CODE]<?php $text = "The quick brown fox jumped over the lazy dog."; $newtext = wordwrap($text, 20, …

Member Avatar for nuttyniall
0
175
Member Avatar for joeyfm

Hi looks like your missing a closing form tag </form> near line 185. Just a note looking at your table structure from your query's you have separate tables for fields/attributes that could all be in 1 record of 1 table just seems a very strange way of storing your data. …

Member Avatar for nuttyniall
0
114
Member Avatar for Sorcher

HI you can you the server variable REQUEST_URI to find the url [CODE]$url = $_SERVER['REQUEST_URI']; [/CODE] Then to split the string by '/' use [CODE] $str = $_SERVER['REQUEST_URI']; // gets the url $keywords = preg_split("/[\/]+/", $str); // puts each split into an array $i = count($keywords) -1; // get size …

Member Avatar for nuttyniall
0
167
Member Avatar for kirtan_thakkar

Hi Use this to see what information can be accessed and then decide what you want to use and access it like any other array [CODE]foreach ($_SERVER as $key => $item) { echo "<li><b>$key:</b> $item<br/></li>"; } [/CODE] N

Member Avatar for kirtan_thakkar
0
2K
Member Avatar for Sarao

Hi Have a look at [url]www.w3schools.com/php/default.asp[/url] gives a very good run through of how to use php and mysql Basically your wanting coding for free which in this day and age don't happen but to put you in the right direction you want to running an update sql query to …

Member Avatar for kuink
0
192
Member Avatar for nuttyniall

Hi My website if falling to bits around me and I cant see why!! All instances where I have used the ! operator in the php code such as [CODE]if(!isset($_POST['anything'])){[/CODE] Have stopped working and just return true which is causing nightmares with security ect. I have googled till im blue …

Member Avatar for nuttyniall
0
153
Member Avatar for nuttyniall

Hi I am trying to write a simplie login perl script all is working apart from the final if statement. if the username and password match the data stored in the txt file $auth returns true which works then a second if checks if £name is != to "admin" if …

Member Avatar for richieking
0
156

The End.