Search found 99 matches

by joecrack
Thu Nov 17, 2005 9:52 pm
Forum: PHP - Code
Topic: two table update
Replies: 4
Views: 332

two table update

I want to have a IF after my update command that looks like this: if($cortval1>0,$cortval2>0,$cortval3>0){ $tovalue='$tovalue+$cortval1+$cortval2+$cortval3'; } elseif($cortval1>0,$cortval2>0){ $tovalue='$tovalue+$cortval1+$cortval2'; } elseif($cortval1>0){ $tovalue='$tovalue+$cortval1'; } But $toval...
by joecrack
Thu Nov 17, 2005 2:38 am
Forum: PHP - Code
Topic: error in my IF
Replies: 2
Views: 299

error in my IF

my code is supposed to unly change a field if there is a value in it. i dont know what the error is ... i get the parse: T_CONSTANT_ENCAPSED_STRING for the line: $sql = "WHERE eqdes ='" .$_POST['eqdes']."'"; $params = array(); if ($_POST['groupp'] != '') { $params['groupp'] = $_P...
by joecrack
Sun Nov 13, 2005 8:54 pm
Forum: PHP - Code
Topic: constantly updating field in dataset !?!
Replies: 3
Views: 586

i just have no idea how to start ... i searched in the forum but i didnt find anything ...!!!!

2 trukfixer: posting nonsense doesnt help me !
by joecrack
Sun Nov 13, 2005 7:38 pm
Forum: PHP - Code
Topic: constantly updating field in dataset !?!
Replies: 3
Views: 586

constantly updating field in dataset !?!

Hey my problem is, i need to have one field in my database that is constantly updating. This field has to be a sum from several fields in the same table. I dont know if it ispossible, to have a field that includes an insert command and is constantly running this command. If that is the way to solve ...
by joecrack
Fri Nov 11, 2005 2:04 am
Forum: PHP - Code
Topic: array echo
Replies: 16
Views: 1123

strike worx with the \ ... thanks
by joecrack
Thu Nov 10, 2005 9:32 pm
Forum: PHP - Code
Topic: array echo
Replies: 16
Views: 1123

hi but this just works if there are just some words and hml tags in between the array output. because i tried to enter a hole html page (with many quotes and dots andsoon) and its not showing anything but parse errors. the thing is i have to make a scipt that automaticly prints out a order confirmat...
by joecrack
Thu Nov 10, 2005 8:20 pm
Forum: PHP - Code
Topic: array echo
Replies: 16
Views: 1123

:twisted: Praise Lord shiznatix :twisted:
thx a lot =)
by joecrack
Thu Nov 10, 2005 7:01 pm
Forum: PHP - Code
Topic: array echo
Replies: 16
Views: 1123

Okey nice nor i have the array printout. So - my next question now i would like to know how i can print the array in different parts of a html document. I can write like this: $zeile['customernr'].' xyzxyzxyz blah blah </br> '.$zeile['hull'].' - and its still working, but as soon as I do it like thi...
by joecrack
Thu Nov 10, 2005 3:06 am
Forum: PHP - Code
Topic: array echo
Replies: 16
Views: 1123

Now its like this: <?php error_reporting(E_ALL); $db = mysql_connect('localhost','root','') OR die(mysql_error()); mysql_select_db(safe,$db) OR die(mysql_error()); $sql ="SELECT sam_bestellung.customernr,sam_bestellung.hull,sam_bestellung.custrefnr,sam_bestellung.custrefname,sam_date_val.incdat...
by joecrack
Thu Nov 10, 2005 2:02 am
Forum: PHP - Code
Topic: array echo
Replies: 16
Views: 1123

display errors are on - error_reporting(E_ALL) is on - @ are gone!!!
still same output
by joecrack
Thu Nov 10, 2005 1:34 am
Forum: PHP - Code
Topic: array echo
Replies: 16
Views: 1123

array echo

i made this script that has to print out an array i know the SELECT looks strage .. but i tried it in phpmyadmin and its working. so insted of the array i get this! Parse error: parse error, unexpected $ in C:\Server\xampp\htdocs\inword.php on line 15 <?php $db = @mysql_connect('localhost','root',''...
by joecrack
Tue Nov 08, 2005 7:41 pm
Forum: PHP - Code
Topic: change it!!?!
Replies: 12
Views: 390

So at least I fixed one error ... Now it is showing me the record that i select when i click change on the first page. No i still got the Prob that I dont update. <?php error_reporting(E_ALL); $db = mysql_connect("localhost","root","") or die ("MySQL-Fehler: "...
by joecrack
Tue Nov 08, 2005 12:03 am
Forum: PHP - Code
Topic: change it!!?!
Replies: 12
Views: 390

its on my localhost server ...
how can i post a link so that someone can use my scripts ???
by joecrack
Mon Nov 07, 2005 11:12 pm
Forum: PHP - Code
Topic: change it!!?!
Replies: 12
Views: 390

sry i dont know how to do that!!!
what would you need for that my IP and ...?
just dont get it ..
thx for trying
by joecrack
Mon Nov 07, 2005 9:01 pm
Forum: PHP - Code
Topic: change it!!?!
Replies: 12
Views: 390

Thats what you see when you have it LIVE WORKING
cant you think of anything that could be wrong ... plz .. you dont even try to help me!!!