Monkuar
Members-
Posts
987 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Monkuar
-
[SOLVED] WOW All i want to do is run this query..
Monkuar replied to Monkuar's topic in PHP Coding Help
<form method=\"post\" action=\"\"> <input name=\"newname\" type=\"text\" id=\"textfield\"/> <input type=\"submit\" name=\"change\" value=\"Change now\" /> </form> if($_POST){ // since there a single form that can be submitted $DB->query("UPDATE ibf_members set mediate_msg = '".mysql_real_escape_string($_POST['newname'])."' WHERE id = '{$ibforums->member['id']}'"); echo 'Updated.'; } I GOT IT TO WORK!! YAY <3333333 -
$DB->query("UPDATE ibf_members set mediate_msg = '{$ibforums->input['Post']}' WHERE id = '{$ibforums->member['id']}'"); Ok.. so im inside my php page, is there anyway i can make it so if i a click specific button it will run each specific query i put? Thanks... so confusing,
-
if ($member['id'] == 1) { $this->output = preg_replace( "/<!--interests-->/e", "\$this->html->interests(\$info)", $this->output ); } I want to beable to put more then just 1 right there Member id 1 and 2 should see the output too! So how would i do like this?? if ($member['id'] == 1,2) or ? if ($member['id'] == 1|2) ??Thx
-
only error i get is in Internet Exploror, lmao..
Monkuar replied to Monkuar's topic in Javascript Help
Somone please.. IE IS GAY! -
only error i get is in Internet Exploror, lmao..
Monkuar replied to Monkuar's topic in Javascript Help
ok so i ddi the bracket stuff and now it gives me this.. lmao here is my code that puts that onclick function: <img src="chat.gif" style="cursor:hand" onclick="sendMessage('$id',event)""></a> this isnt happeneing on any other browsers ecept ie.. WOW -
only error i get is in Internet Exploror, lmao..
Monkuar replied to Monkuar's topic in Javascript Help
In almost every programming/scripting language, the syntax of if is: if(condition) block 1 else block 1 {} simply groups stuff together. Oddly enough, that has the side effect that in most languages: { code here } Is valid in the middle of no where lol. Anyway, does itm happen to be null? yea -
This script works fine in firefox,opera,chrome, everything but it only shows error on ie.. help ? This is my whole function: function sendMessage(id,event) { var itm = expMenu("qm"); goldOn = !goldOn; if(goldOn && itm) { if(itm.innerHTML=="") itm.innerHTML = "</form><legend>Quick Message<a href='javascript:sendMessage()' class='hs'><img src='images!!/x.gif'></a></legend><form action='monkuar.php' name='sendMessageForm' method='POST' target='_blank'><input type='hidden' name='username' value='0' /><table class='ftbt'><tr><td align=right>Message Title:</td><td><input type=text name='title' maxlength=25 size=7></td></tr><tr><td align=right>Message:</td><td><textarea name='message' cols=20 rows=10></textarea></td></tr><tr><td align=center colspan=2><span class=ab><input type='submit' value='Send (0.03 FG)' name='submit' onclick='sendMessage()'></span><br></td></tr><tr></tr></table></form>"; itm.style.left=event.clientX + (window.pageXOffset!=undefined?window.pageXOffset:document.body.scrollLeft)+"px"; itm.style.top=event.clientY + (window.pageYOffset!=undefined?window.pageYOffset:document.body.scrollTop)+"px"; itm.style.zIndex="100"; sendMessageForm.username.value=id; } }
-
I turned on that error e reporting and I GEt... Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant sender_id - assumed 'sender_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 74 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 76 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 76 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant sender_id - assumed 'sender_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 74 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 76 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 76 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 70 Notice: Use of undefined constant receiver_id - assumed 'receiver_id' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant Store - assumed 'Store' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant name - assumed 'name' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant desktop - assumed 'desktop' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 72 Notice: Use of undefined constant NAV - assumed 'NAV' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/core_lib.php on line 62 Notice: Undefined variable: nav in /home3/gxforums/public_html/24-7GT.com/forums/sources/functions.php on line 2086 Notice: Undefined index: ips_cp_purchase in /home3/gxforums/public_html/24-7GT.com/forums/sources/functions.php on line 2124 Notice: Undefined index: gl_show in /home3/gxforums/public_html/24-7GT.com/forums/sources/functions.php on line 2158 Notice: Undefined index: f in /home3/gxforums/public_html/24-7GT.com/forums/Skin/s1/skin_global.php on line 285 Notice: Undefined variable: admin_link in /home3/gxforums/public_html/24-7GT.com/forums/sources/functions.php on line 2266 Notice: Use of undefined constant TEXT - assumed 'TEXT' in /home3/gxforums/public_html/24-7GT.com/forums/Skin/s1/skin_global.php on line 97 Notice: Undefined variable: stats in /home3/gxforums/public_html/24-7GT.com/forums/sources/functions.php on line 2284 Notice: ob_end_clean() [ref.outcontrol]: failed to delete buffer. No buffer to delete. in /home3/gxforums/public_html/24-7GT.com/forums/sources/functions.php on line 2324 oh my god... And btw using ' ' just made less queries pop up, any solution?
-
SELECT * FROM ibf_members WHERE id = {$item[sender_id]} So i have to make it quoted in that query??? do u mind showing me real quick, thanks
-
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 69 LINE 69: $getReceiver = ($item[receiver_id] == Store ? "" : mysql_fetch_array($grabTwo)); This all started after I inserted this into my Logs: The HIGHLIGHTED part is the new log i entered and all this mysql error come up.. I guess it will only accept ID's?? (Numbers)? This is my full code to pull up my ibf_logs table; $DB->query("SELECT * FROM ibf_logs WHERE receiver_id = {$ibforums->member["id"]} && month = '$month' && year = '$year' or sender_id = {$ibforums->member["id"]} && month = '$month' && year = '$year' order by date_time DESC"); if ($DB->get_num_rows()==0) { eval(empty_table); } else { eval(start_table); while ($item = $DB->fetch_row()) { if ($item['sender_id'] == $ibforums->member["id"]){ $grabTwo = ($item[receiver_id] == Store ? "" : mysql_query("SELECT * FROM ibf_members WHERE id = {$item[receiver_id]}")); $getReceiver = ($item[receiver_id] == Store ? "" : mysql_fetch_array($grabTwo)); $nameFrom = "<a href='?showuser={$ibforums->member["id"]}'>" . $ibforums->member["name"] . (isset($ibforums->member["desktop"]) ? "<img src='{$ibforums->member["desktop"]}' </a>" : "</a>"); $nameTo = ($item[receiver_id] == Store ? "Store" : "<a href='?showuser={$getReceiver["id"]}'>" . $getReceiver[name] . (isset($getReceiver[desktop]) ? "<img src='{$getReceiver["desktop"]}'</a>" : "</a>")); } else { $grabThree = mysql_query("SELECT * FROM ibf_members WHERE id = {$item[sender_id]}"); $getSender = mysql_fetch_array($grabThree); $nameFrom = "<a href='?showuser={$getSender["id"]}'>" . $getSender[name] . (isset($getSender[desktop]) ? "<img src='{$getSender["desktop"]}'</a>" : "</a>"); $nameTo = "<a href='?showuser={$ibforums->member["id"]}'>" . $ibforums->member["name"] . (isset($ibforums->member["desktop"]) ? "<img src='{$ibforums->member["desktop"]}'</a>" : "</a>"); } How can I get rid of that error, lol This is the code I use to insert the data into my Logs: $DB->query("INSERT INTO `ibf_logs` (`sender_id` ,`receiver_id` ,`amount` ,`date_time` ,`message`,`month`,`year`) VALUES (' ". mysql_real_escape_string($ibforums->member["id"]) ."', '24-7GT Store', '". mysql_real_escape_string($gold) ."', '". mysql_real_escape_string($timestamp) ."', 'Used Quick PM Feature', '". mysql_real_escape_string($month) ."', '". mysql_real_escape_string($year) ."') ;"); Why do i get and error does it have to be numbers?
-
//monkuar if($ibforums->input['screen1'] == "") { $std->Error( array( 'LEVEL' => 1, 'MSG' => 'file_screen_empty') ); } I need to make it only .gif and .jpg extensions are allowed, help ? something with == " ")
-
yea but how? lol
-
In my Photo Gallery, people submit photo's but it's a .gif or .jpg for the photo, how can I use php to help me on if a user doesnt have a .gif or a .jpg at the end of the url and then it gives them "Error Hey u need a .gif or .jpg at the end to submit" thanks. EDIT: They dont upload it's just a link to the image.
-
Would i need to put else if in therE?
-
$orderby = (isset($_GET['@amount'])) ? 'amount' : 'date_time'; I heard using ? and : is a hack and ? stands for a if function ~ and : stands for else? Can u tell me what this is called is there other ways to do this like this? How can I add more to this code too $orderby = (isset($_GET['@amount'])) ? 'amount' : 'date_time' :'id'; like see If I add the : 'id' to it i get a syntax error, unexpected ':', possible ?thanks phpfreaks!
-
Thanks alot, i cant wait ima do this with a whole bunch of variables! PHP is awesome.. epic win mayne Thanks bro!! TOPIC solved <33333
-
Ok so $asc = (isset($_GET['orderbyASC'])) ? 'ASC' : 'DESC'; So now i got index.php?act=mlogs&orderbyASC and i go there and it switches between ASC AND DESC for value ?
-
it gives me parse errorr.. syntax error, unexpected ':' in /home3/gxforums/public_html/24-7GT.com/forums/sources/shop/logs.php on line 55 and that'st the line lol
-
Ok this is what I want to do, I have a link.. index.php?act=mlogs I want to beable to do index.php?act=mlogs&orderbyASC And, so then when people click on that link my MYSQL Below updates to ORDER BY ASC $DB->query("SELECT * FROM ibf_logs WHERE receiver_id = {$ibforums->member["id"]} && month = '$month' && year = '$year' or sender_id = {$ibforums->member["id"]} && month = '$month' && year = '$year' order by id $asc"); I made $asc a Variable but how do I read it from people going to &orderbyASC at the end of my URL? Thanks! So.. if people click on my link that has the &orderbyASC at the end, the &orderbyASC will update my Variable called $asc to ASC so it fits in Query!! Possible?
-
Were can I find the whole list of mysql functions?
Monkuar replied to Monkuar's topic in PHP Coding Help
Wow Gorgeous links.. I love it thanks! -
Variable, I think. Lol I put that code in and nothing happended everything works but only still get 1 row, lol so confusing wow.. iuno what's wrong thx tho sir.
-
Ok u know when u do a query? and u can put word's like "LIMIT" or ORDER BY in the string? i want to know a full list of every single word i can put in so it works Thanks! , i tryed google, failed so i came here
-
MY query is fine $DB->query("SELECT * FROM ibf_logs WHERE receiver_id = {$ibforums->member["id"]} && month = '$month' && year = '$year' or sender_id = {$ibforums->member["id"]} && month = '$month' && year = '$year' order by id desc"); I dont know what is the problem here..
-
IT just still spits out same thing, thx tho any other help sir ?