Hey guys, Having some difficulties understanding why my OR || operator is not working... First part is BOOLEAN and it is working Second part is STRING and it is working, it returns the desired value What could it be ? <?php if(($oferte->isOrdered($oferte->CleanSapStyleNumbers($oferta->VBELN)) == false) || ($oferte->OfertaValida($oferte->CleanSapStyleNumbers($oferta->VBELN))->valabilitate == "VALABILA")): ?> some stuff <?php endif; ?>

Member Avatar
Member Avatar
+0 forum 4

So my computer has been saying werfault.exe application error anytime i start a program. So i started a clean install and tried to reinstall my OS but it came up with another error and now i have a computer with no OS or anything. Is my HDD or SSD broken? i have both an HDD and a SSD i was planning on installing the OS onto the SSD. PLEASE can someone tell me what's wrong with my computer? My PC:AMD FX-6300 6-core Vishera Msi 990FXA-GD80 GTX 660 ti 850W PSU Adata 32gb ssd WD 750gb 7200rpm HDD Patriot 8gb ram …

Member Avatar
Member Avatar
+0 forum 10

Hello to all the members of the daniweb My question is what is the difference between the Fluid website or the Responsive website. Which elements to use the fluid and responsive website. And which one is Good Fluid or Responsive Website Please elaborate more of your answer.

Member Avatar
Member Avatar
+0 forum 2

how can one register or activate win 7 i got tools but i can not understand

Member Avatar
Member Avatar
+0 forum 2

Programming Python 3rd Edition by Mark Lutz has example code (below) where a variable seems to be assigned with options ("or") but what the criteria for selecting the options is not clear. The explanation is almost non-existent but I think this is to do with feeding in a variable number of command line argments Can someone clarify the use of "or" in line: **self.verbose = self.getopt('-v') or self.getenv('VERBOSE') ** Thank you import sys, os, traceback class AppError(Exception): pass # errors raised here class App: # the root class def __init__(self, name=None): self.name = name or self.__class__.__name__ # the lowest class …

Member Avatar
Member Avatar
+0 forum 6

hi i have problem , i want to modify a file without copy to another file so any one can give how to do it ? I tried following method to modify a given location or pointer in file but did not work . ofstream outfile; outfile.open ("test.txt"); outfile.seekp (3,ios::beg); outfile<<5; outfile.seekp (12,ios::beg); outfile<<9;

Member Avatar
Member Avatar
+0 forum 7

I've been reading through this introductory book on Python, and I've been following along fairly well. Compared to C++, Python seems to make more sense to me. That is, until I reached a section on Logical Operators. I don't completely understand what I just typed in to IDLE, and the results that were returned. Here's what I read: Python provides three logical operators: and, or, and not. Both and and or use short-circuit logic and return the operand that determined the result—they do not return a Boolean (unless they actually have Boolean operands). Let’s see what this means in practice: …

Member Avatar
Member Avatar
+0 forum 5

How to find which operating system is running the PC in C++?

Member Avatar
Member Avatar
+1 forum 3

Hello. The code below returns an error. Please advise what is wrong with it. Thank you. class Login { private var $good_username; private var $good_password; public function Authentification () { private $this->good_username = "myusername"; private $this->good_password = "mypassword"; } }

Member Avatar
Member Avatar
+0 forum 4

Please, I need help. I have an aplication in Visual Basic 2010 and database created in Access 2003. It's very simple database, it has two tables named 'doctors' and 'patients'. I want to itegrate databse into VB. I used Wizzard to integrate. Now I have Binding Navigator (with buttons Next, Previous, Add, Delete, Save), DatagridView and Details (Label and Textbox) on the same form. How can I make a procedure when I click a button "Add new patient", it opens a new window form or dialog form, and I get just a new window with detail view to enter data. …

Member Avatar
Member Avatar
+0 forum 4

hi everyone got an issue trying to get certain results from a list generated from a database.. ill try and set the scenario basically i want the same thing as the left hand menu here https://www.elance.com/r/jobs/cat-design-multimedia/ ...if you notice at the sides of the categorys theres a value of how many projects are posted, then in the groups theres the total amount for each group. ive been trying to do this same thing but its drivin me mad. originally ive been trying using php, i then had a friend try with sql, but he got very carried away and started …

Member Avatar
Member Avatar
+0 forum 5

hi guys, i have a rege code that looks to see if a block of text has a link. i have modded it to show the link as an image if it exists (badly i know this method isnt very good) what i need to do is check if the text contains a link, image,or video (youtube/dailymotion etc) and then display the right output heres what i have <?php $convertlinkmsg = $message->message; $convertlinkmsg = preg_replace( '/(http|ftp)+(s)?:(\/\/)((\w|\.)+)(\/)?(\S+)?/i', '<a target="_blank" class="imgsoc " href="\0"><img src="\0" alt="\4"/></a>', $convertlinkmsg); echo $convertlinkmsg ; ?> any ideas? thanks

Member Avatar
Member Avatar
+0 forum 1

Hello friend, I have a registration form and a admin panel for that, In admin panel we can see the list of registered users. I can filter user details by search but i cannot export searched results to .xls or .csv format. kindly help me...!!! Thank you.

Member Avatar
Member Avatar
+0 forum 2

type msinfo32 at the run option & press enter then watch carefully system type if it is written "X86-based PC" your processor is 32 bit & if "X64- then 64 bit processor

Member Avatar
Member Avatar
+0 forum 3

//$time in the second php code hold the time stored in the database in the same format as above(ie TIMESTAMP Format) //Save the first php code as timeago.php //include first php code u saved in the second php code as i have done.. //Use the Second Php code Wherever You Want to show time ago.

Member Avatar
Member Avatar
+0 forum 3

hello everyone, I am recieving this compiler error stating that `else if(input%100 || input%10 == rndNum%100 || rndNum%10)` this line ^ gives me the error error: bad operand types for binary operator '||' was hoping someone could explain this error to me if possible, also any advice would be greatly appreciated! Thanks!!

Member Avatar
Member Avatar
+0 forum 5

The End.